/* Consimtamant cookie-uri - aceleasi culori ca vechiul banner (#f3f3f3 + portocaliu #ff6600) */

#sawcc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999999;
    background: #f3f3f3;
    border-top: 2px solid #ff6600;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
    font-family: 'PT Sans', "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #293848;
}

#sawcc-banner .sawcc-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}

#sawcc-banner .sawcc-text {
    flex: 1;
    text-align: left;
}

#sawcc-banner a,
#sawcc-modal a {
    color: #2a2a2a;
    font-weight: 600;
    text-decoration: underline;
}

#sawcc-banner .sawcc-btns,
#sawcc-modal .sawcc-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#sawcc-banner .sawcc-btn,
#sawcc-modal .sawcc-btn {
    display: inline-block;
    min-width: 130px;
    padding: 0 16px;
    height: 35px;
    line-height: 35px;
    border: 0;
    border-radius: 5px;
    background-color: #ff6600;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

#sawcc-banner .sawcc-btn:hover,
#sawcc-modal .sawcc-btn:hover {
    background-color: #e65c00;
}

#sawcc-banner .sawcc-btn:focus-visible,
#sawcc-modal .sawcc-btn:focus-visible,
#sawcc-banner .sawcc-link:focus-visible,
#sawcc-modal .sawcc-close:focus-visible,
#sawcc-modal .sawcc-switch input:focus-visible + span {
    outline: 2px solid #3463AE;
    outline-offset: 2px;
}

#sawcc-banner .sawcc-link {
    background: none;
    border: 0;
    padding: 0 6px;
    color: #2a2a2a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- fereastra de setari ---------- */

#sawcc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000000;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    font-family: 'PT Sans', "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #293848;
    text-align: left;
}

#sawcc-modal .sawcc-box {
    position: relative;
    background: #fff;
    border-top: 3px solid #ff6600;
    border-radius: 5px;
    width: 100%;
    max-width: 600px;
    max-height: 100%;
    overflow-y: auto;
    padding: 20px 24px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

#sawcc-modal .sawcc-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 30px 10px 0;
}

#sawcc-modal p {
    margin: 0 0 10px;
}

#sawcc-modal .sawcc-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 26px;
    color: #696969;
    cursor: pointer;
}

#sawcc-modal .sawcc-cat {
    border: 1px solid #cdcdcd;
    border-radius: 5px;
    padding: 10px 14px 2px;
    margin-bottom: 10px;
    background: #f3f3f3;
}

#sawcc-modal .sawcc-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    cursor: pointer;
}

#sawcc-modal .sawcc-cat-title {
    font-weight: 700;
    font-size: 15px;
}

#sawcc-modal .sawcc-services {
    font-size: 12px;
    color: #696969;
}

#sawcc-modal .sawcc-always {
    font-size: 12px;
    font-weight: 600;
    color: #ff6600;
}

#sawcc-modal .sawcc-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    flex-shrink: 0;
}

#sawcc-modal .sawcc-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

#sawcc-modal .sawcc-switch span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #c3c4c5;
    border-radius: 22px;
    transition: background 0.2s;
}

#sawcc-modal .sawcc-switch span:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

#sawcc-modal .sawcc-switch input:checked + span {
    background: #ff6600;
}

#sawcc-modal .sawcc-switch input:checked + span:before {
    transform: translateX(20px);
}

#sawcc-modal .sawcc-btns {
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* link permanent in footer-ul aplicatiei mobile */
.sawcc-footer-link {
    text-align: center;
    padding: 10px 0 14px;
    font-size: 13px;
}

.sawcc-footer-link a {
    color: #696969;
    text-decoration: underline;
}

/* linkurile din linia de copyright: doar pe mobil, unde coloanele .f2 din footer sunt ascunse (responsive.css) */
.sawcc-mobile-only,
.sawcc-mobile-only-block {
    display: none;
}

@media only screen and (max-device-width: 1149px) {
    .sawcc-mobile-only {
        display: inline;
    }
    .sawcc-mobile-only-block {
        display: block;
    }
}

/* ---------- ecrane mici ---------- */

@media (max-width: 900px) {
    #sawcc-banner .sawcc-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    #sawcc-banner .sawcc-btns {
        flex-wrap: wrap;
        justify-content: center;
    }
    #sawcc-banner .sawcc-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    #sawcc-banner {
        font-size: 13px;
        line-height: 18px;
    }
    #sawcc-modal .sawcc-box {
        padding: 16px;
    }
    #sawcc-modal .sawcc-btns .sawcc-btn {
        flex: 1 1 100%;
    }
}
