/* Süti hozzájárulás sáv.
   Alul rögzített sáv, ami NEM takarja le az oldalt: a "süti fal" (a tartalom
   elzárása döntésig) nem megengedett, mert attól a hozzájárulás nem önkéntes. */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080; /* a Bootstrap modal (1055) fölött, hogy ne szoruljon alá */
    background: #fff;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .12);
    padding: 1rem 1.25rem;
    font-size: .9375rem;
    line-height: 1.5;
}

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

.cookie-consent__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent__text {
    flex: 1 1 22rem;
    margin: 0;
}

.cookie-consent__text a {
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

/* Az elfogadás és az elutasítás AZONOS méretű és súlyú gomb: ha az elutasítás
   nehezebben megtalálható vagy kevésbé hangsúlyos, a hozzájárulás nem
   érvényes. Csak a szín tér el, a méret és a forma nem. */
.cookie-consent__btn {
    border: 1px solid transparent;
    border-radius: .375rem;
    padding: .5rem 1.15rem;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-consent__btn:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.cookie-consent__btn--accept {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

.cookie-consent__btn--reject {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.cookie-consent__btn--settings {
    background: transparent;
    border-color: #6c757d;
    color: #212529;
}

.cookie-consent__settings {
    max-width: 1140px;
    margin: 1rem auto 0;
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

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

.cookie-consent__option {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .6rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.cookie-consent__option:last-of-type {
    border-bottom: 0;
}

.cookie-consent__option input {
    margin-top: .25rem;
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.cookie-consent__option-title {
    font-weight: 600;
    display: block;
}

.cookie-consent__option-desc {
    color: #6c757d;
    font-size: .875rem;
    margin: 0;
}

@media (max-width: 575.98px) {
    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1 1 100%;
    }
}
