.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
    background: rgba(14, 27, 44, 0.97);
    border-top: 1px solid #28405A;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    color: #F4EFE4;
    font-size: 13px;
    line-height: 1.45;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner__inner {
    max-width: 900px;
    margin: 0 auto;
}

.cookie-banner__text {
    margin: 0 0 10px;
    color: #93A2B8;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-banner__actions button {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #28405A;
    background: #16283D;
    color: #F4EFE4;
    font: inherit;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.cookie-banner__actions button:hover {
    border-color: #93A2B8;
}

.cookie-banner__actions .cookie-btn--accept {
    background: #E8A33D;
    border-color: #E8A33D;
    color: #241505;
}

.cookie-banner__actions .cookie-btn--accept:hover {
    background: #F0B158;
}

.cookie-customize {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #28405A;
    max-height: 38vh;
    overflow-y: auto;
}

.cookie-customize[hidden] {
    display: none !important;
}

.cookie-customize__link {
    display: inline-block;
    margin-bottom: 10px;
    color: #55D6C4;
}

.cookie-pref {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #28405A;
}

.cookie-pref:last-of-type {
    border-bottom: 0;
}

.cookie-pref__label {
    flex: 1;
}

.cookie-pref__label strong {
    display: block;
    color: #F4EFE4;
    font-size: 13px;
}

.cookie-pref__label span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #93A2B8;
}

.cookie-pref__toggle {
    flex-shrink: 0;
    font-size: 12px;
    color: #93A2B8;
    padding-top: 2px;
}

.cookie-pref__toggle input {
    margin-right: 4px;
    vertical-align: middle;
}

.cookie-pref__toggle input:disabled + span {
    color: #55D6C4;
}

.cookie-customize__save {
    margin-top: 10px;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #55D6C4;
    color: #052421;
    font: inherit;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

@media (min-width: 600px) {
    .cookie-banner {
        font-size: 14px;
        padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0));
    }

    .cookie-banner__actions button {
        flex: 0 1 auto;
        font-size: 13px;
    }
}
