/* Süti hozzájárulás sáv (frame/components/cookie-consent.blade.php) */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background-color: var(--PRIMARY_NEW_DARk_GREEN, #444a3c);
    color: var(--PRIMARY_WHITE, #FFFFFF);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
    /* Same as Bootstrap's base on the main site, so it looks the same on pages without it (virtual gallery) */
    line-height: 1.5;
    text-align: left;
}

.cookie-consent,
.cookie-consent * {
    box-sizing: border-box;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

.cookie-consent-text h2 {
    margin: 0 0 4px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
}

.cookie-consent-text p {
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--PRIMARY_GREEN_10, #8FDFB5);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

/* A két gomb szándékosan egyforma: az elutasítás ugyanolyan könnyű legyen, mint az elfogadás */
.cookie-consent-button {
    min-width: 130px;
    /* Bebas Neue: a nagybetűk alatt 0.1em-mel több hely marad, mint felettük, és a letter-spacing
       az utolsó betű után is térközt ad, ezért 0.05em-mel lejjebb és jobbra toljuk a szöveget */
    padding: calc(8px + 0.05em) 20px calc(8px - 0.05em) calc(20px + 0.05em);
    border: 2px solid var(--PRIMARY_GOLD, #eaa500);
    border-radius: 0;
    background-color: var(--PRIMARY_GOLD, #eaa500);
    color: var(--PRIMARY_WHITE, #FFFFFF);
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: none;
    margin: 0;
    cursor: pointer;
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
    background-color: transparent;
    color: var(--PRIMARY_WHITE, #FFFFFF);
}

.cookie-consent-button:focus-visible {
    outline: 2px solid var(--PRIMARY_GOLD, #eaa500);
    outline-offset: 2px;
}

/* Lábléc "Sütibeállítások" gomb: ugyanúgy néz ki, mint a .footer-nav a linkek, JS nélkül rejtve marad */
.cookie-settings-link {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 16px;
    color: #D3D7D5 !important;
    text-align: left;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
    color: var(--PRIMARY_GOLD, #eaa500) !important;
}

.cookie-settings-link[hidden] {
    display: none;
}

@media (max-width: 992px) {
    .cookie-settings-link {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-consent-button {
        flex: 1;
        min-width: 0;
    }
}