/* Asigură-te că tot conținutul este centrat */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f8f9fa; /* Culoare de fundal opțională */
}

.container {
    width: 90%; /* Ajustează pentru ecrane mici */
    max-width: 400px; /* Evită să fie prea lat pe ecrane mari */
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

input, select {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Ajustează butonul pentru a se potrivi mai bine */
button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

#rezultat {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
}

#produse-tabel {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#produse-tabel td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

#produse-tabel select,
#produse-tabel input {
    width: 100%;
    padding: 5px;
    text-align: center;
}

#produse-tabel img {
    display: block;
    margin: auto;
    border-radius: 5px;
}

#note-container {
    width: calc(100% - 30px); /* 🔹 Ajustează lățimea la container */
    max-width: 100%; /* 🔹 Nu depășește containerul */
    margin: 20px auto; /* 🔹 Îl centrează corect */
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#note-info {
    list-style: none;
    padding: 0;
}

#note-info li {
    background: #f4f4f4;
    padding: 8px;
    margin: 5px 0;
    border-left: 4px solid #007bff;
    font-size: 14px;
}

/* 🔹 Asigurăm alinierea la stânga pentru titluri și texte */
h3, #note-container p {
    text-align: left;
    font-size: 16px;
    color: #007bff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px; /* Spațiu între header și calculator */
}

.logo {
    width: 70px;
    height: auto;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.phone-number:hover {
    text-decoration: underline;
}


.footer {
    text-align: center;
    padding: 15px;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
}

.footer-links {
    font-size: 14px; /* Mai mic pentru a încadra textul */
    display: flex;
    justify-content: center;
    gap: 10px; /* Spațiu între linkuri */
    flex-wrap: wrap; /* Dacă ecranul e mic, trece pe două rânduri */
}

.footer-links a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.footer-links a:hover {
    color: #0056b3;
}

.footer-banners {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-banner {
    height: 30px; /* Mai mic pentru un aspect mai ordonat */
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px; /* Lățime mai mică */
    background: #222;
    color: white;
    text-align: left;
    padding: 15px;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cookie-banner a {
    color: #FFD700;
    text-decoration: underline;
    font-size: 13px;
}

.cookie-banner button {
    background: #FFD700;
    color: black;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    align-self: flex-end;
    border-radius: 4px;
}

.cookie-banner button:hover {
    background: #e6c200;
}

.floating-share {
    position: fixed;
    left: 10px;  /* Poziționare pe stânga */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: 0.3s;
}

.facebook { background: #1877F2; } /* Facebook */
.twitter { background: #000000; }  /* Twitter (X) */
.linkedin { background: #0077B5; } /* LinkedIn */
.whatsapp { background: #25D366; } /* WhatsApp */

.share-btn:hover {
    opacity: 0.8;
}

/* Ascunde pe mobil */
@media (max-width: 768px) {
    .floating-share {
        left: 5px;
    }
    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

