.cookie-consent-banner {
    position: fixed;
    z-index: 10000;
    right: 20px;
    bottom: 20px;
    width: min(480px, calc(100vw - 40px));
    padding: 22px;
    background: #ffffff;
    border: 1px solid #d8e0e8;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(23, 45, 69, 0.22);
    color: #243746;
}

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

.cookie-consent-banner h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.cookie-consent-banner p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.93rem;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cookie-consent-button {
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid #2980b9;
    border-radius: 5px;
    background: #ffffff;
    color: #1d5f89;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
    background: #eaf4fb;
}

.cookie-consent-button--accept {
    background: #2980b9;
    color: #ffffff;
}

.cookie-consent-button--accept:hover,
.cookie-consent-button--accept:focus-visible {
    background: #1f6b9b;
}

.privacy-settings-button {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 600px) {
    .cookie-consent-banner {
        position: static;
        right: auto;
        bottom: auto;
        width: 100%;
        padding: 12px 15px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: 0 8px 20px rgba(23, 45, 69, 0.14);
    }

    .cookie-consent-banner h2 {
        margin-bottom: 4px;
        font-size: 0.95rem;
    }

    .cookie-consent-banner p {
        font-size: 0.8rem;
        line-height: 1.38;
    }

    .cookie-consent-actions {
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 10px;
    }

    .cookie-consent-button {
        flex: 1 1 0;
        min-height: 38px;
        padding: 7px 10px;
        font-size: 0.85rem;
    }
}
