/* ── Cookie Consent Banner ─────────────────────────────────────── */

#cc-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px;
    animation: cc-slide-up 0.35s ease;
}

#cc-banner.cc-banner--hiding {
    animation: cc-slide-down 0.32s ease forwards;
}

@keyframes cc-slide-up {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes cc-slide-down {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(100%); }
}

.cc-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
    background: #064044;
    border: 1px solid rgba(244, 196, 48, 0.25);
    border-radius: 10px;
    box-shadow: 0 -4px 32px rgba(6, 64, 68, 0.35), 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cc-icon-col {
    flex-shrink: 0;
    padding-top: 2px;
}

.cc-text-col {
    flex: 1;
    min-width: 0;
}

.cc-title {
    margin: 0 0 6px;
    font-family: "Arial", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.cc-desc {
    margin: 0;
    font-family: "Arial", sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.cc-link {
    color: #f4c430;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.cc-link:hover {
    color: #ffe066;
}

.cc-btn-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    min-width: 200px;
}

.cc-btn {
    font-family: "Arial", sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-align: center;
}

.cc-btn--accept {
    background: #f4c430;
    color: #064044;
    box-shadow: 0 3px 12px rgba(244, 196, 48, 0.35);
}

.cc-btn--accept:hover {
    background: #e3b420;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(244, 196, 48, 0.45);
}

.cc-btn--necessary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.cc-btn--necessary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
}

.cc-btn--reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border: none;
    font-weight: 400;
    font-size: 12px;
    padding: 6px 16px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cc-btn--reject:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    #cc-banner {
        padding: 12px;
    }

    .cc-inner {
        flex-direction: column;
        gap: 14px;
        padding: 18px 16px;
    }

    .cc-icon-col {
        display: none;
    }

    .cc-btn-col {
        width: 100%;
        min-width: 0;
    }

    .cc-btn {
        width: 100%;
    }
}
