/* Cookie Consent Banner — Euromed */
#cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform .3s ease-out;
    font-family: Inter, sans-serif;
}
#cc-banner.cc-banner--visible {
    transform: translateY(0);
}
.cc-banner__inner {
    max-width: 880px;
    margin: 0 auto 20px;
    padding: 24px 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
@media (max-width: 920px) {
    .cc-banner__inner {
        margin: 0 12px 12px;
        padding: 20px 16px;
    }
}
.cc-banner__text {
    font-size: 14px;
    line-height: 1.5;
    color: #0A0A0A;
    margin-bottom: 16px;
}
.cc-banner__text a {
    color: #0202B3;
    text-decoration: underline;
}
.cc-banner__text a:hover {
    text-decoration: none;
}

/* Buttons */
.cc-banner__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 12px;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    border: none;
    transition: opacity .2s, background .2s, color .2s;
    white-space: nowrap;
}
.cc-btn:focus-visible {
    outline: 2px solid #0202B3;
    outline-offset: 2px;
}
.cc-btn--primary {
    background: #0202B3;
    color: #fff;
}
.cc-btn--primary:hover {
    opacity: .85;
}
.cc-btn--secondary {
    background: transparent;
    color: #0202B3;
    border: 1px solid #0202B3;
}
.cc-btn--secondary:hover {
    background: #0202B3;
    color: #fff;
}
.cc-btn--link {
    background: transparent;
    color: #0202B3;
    padding: 0 16px;
    text-decoration: underline;
    min-height: 44px;
}
.cc-btn--link:hover {
    text-decoration: none;
}

/* Settings panel */
.cc-banner__settings {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(10,10,10,.08);
}
.cc-category {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    cursor: pointer;
}
.cc-category + .cc-category {
    border-top: 1px solid rgba(10,10,10,.06);
}
.cc-category__info {
    font-size: 14px;
    line-height: 1.5;
    color: #0A0A0A;
}
.cc-category__desc {
    color: #6B6B6B;
    font-size: 13px;
}

/* Toggle switch */
.cc-toggle {
    -webkit-appearance: none;
    appearance: none;
    width: 44px;
    min-width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background .2s;
    margin-top: 2px;
    border: none;
}
.cc-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}
.cc-toggle:checked {
    background: #0202B3;
}
.cc-toggle:checked::after {
    transform: translateX(20px);
}
.cc-toggle:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.cc-toggle:focus-visible {
    outline: 2px solid #0202B3;
    outline-offset: 2px;
}

.cc-banner__buttons--settings {
    margin-top: 16px;
}

/* Mobile: buttons stack vertically */
@media (max-width: 480px) {
    .cc-banner__buttons {
        flex-direction: column;
    }
    .cc-btn {
        width: 100%;
    }
}
