/* ==========================================================================
   DUNAKANYAR ÁRNYÉKOLÁSTECHNIKA - SÜTI (COOKIE) STÍLUSLAP (css/cookie.css)
   ========================================================================== */

/* 1. FEJLÉC FELETTI SÜTI TÁJÉKOZTATÓ SÁV */
.cookie-top-bar {
    width: 100%;
    background: linear-gradient(90deg, #061f38 0%, var(--brand-navy, #082c50) 100%);
    color: var(--text-white, #ffffff);
    border-bottom: 2px solid var(--brand-teal-bright, #03a6b7);
    padding: 10px 5vw;
    z-index: 30;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.cookie-top-bar[hidden] {
    display: none !important;
}

.cookie-bar-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-bar-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.85rem;
    line-height: 1.4;
    color: #e4f2f6;
}

.cookie-bar-icon {
    font-size: 1.35rem;
    color: var(--brand-teal-bright, #03a6b7);
    flex-shrink: 0;
}

.cookie-bar-link {
    color: #6cebf8;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-bar-link:hover {
    color: #ffffff;
}

/* 2. AKCIÓGOMBOK (ELFOGADOM / ELUTASÍTOM) */
.cookie-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie {
    font-family: var(--font-condensed, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 7px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.btn-cookie-accept {
    background-color: var(--brand-teal, #0298af);
    color: #ffffff;
    border: 1px solid var(--brand-teal-bright, #03a6b7);
    box-shadow: 0 2px 8px rgba(2, 152, 175, 0.35);
}

.btn-cookie-accept:hover {
    background-color: var(--brand-teal-hover, #027f94);
    transform: translateY(-1px);
}

.btn-cookie-reject {
    background-color: rgba(255, 255, 255, 0.08);
    color: #d0d8dc;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-cookie-reject:hover {
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.cookie-btn-sub {
    font-weight: 400;
    font-size: 0.78rem;
    text-transform: none;
    opacity: 0.9;
}

/* 3. LÁBLÉCBEN LÉVŐ "ADATKEZELÉSI TÁJÉKOZTATÓ | SÜTIK" KAPCSOLÓ */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.78rem;
}

.footer-cookie-reopen {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-condensed, 'Roboto Condensed', sans-serif);
    font-size: 0.82rem;
    color: var(--text-muted, #d0d8dc);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.footer-cookie-reopen:hover {
    color: var(--brand-teal-bright, #03a6b7);
}

/* 4. RESZPONZÍV TÖRÉSPONTOK (TABLET ÉS MOBIL NÉZETEK) */
@media (max-width: 1180px) {
    .cookie-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-bar-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .cookie-top-bar {
        padding: 12px 16px;
    }

    .cookie-bar-text {
        align-items: flex-start;
    }

    .cookie-bar-icon {
        margin-top: 2px;
    }

    .cookie-bar-actions {
        flex-direction: column-reverse;
        width: 100%;
        gap: 8px;
    }

    .btn-cookie {
        width: 100%;
        text-align: center;
        padding: 9px 12px;
    }
}