.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(920px, calc(100% - 36px));
    margin-inline: auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    color: #f8fafc;
    background: #111827;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

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

.cookie-banner p {
    margin: 6px 0 0;
    color: #cbd5e1;
    line-height: 1.5;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.cookie-button,
.cookie-settings {
    border: 0;
    border-radius: 999px;
    padding: 10px 15px;
    color: #fff;
    background: #7c3aed;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.cookie-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: transparent;
}

.cookie-settings {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 999;
    padding: 7px 11px;
    font-size: 0.78rem;
    opacity: 0.78;
}

@media (max-width: 720px) {
    .cookie-banner,
    .cookie-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-banner {
        gap: 14px;
    }
}
