.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    z-index: 4300;
    width: min(760px, calc(100% - 2rem));
    display: flex;
    gap: 0.85rem;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.96);
    color: #1e293b;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    padding: 0.78rem 0.82rem 0.78rem 1rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-banner.is-dismissing {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
}
.cookie-banner strong {
    display: inline;
    color: #1A365D;
    margin-right: 0.25rem;
}
.cookie-banner p {
    margin: 0;
    color: #475569;
    line-height: 1.45;
    font-size: 0.92rem;
}
.cookie-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 0 auto;
}
.cookie-actions a,
.cookie-actions button {
    min-height: 40px;
    border-radius: 999px;
    padding: 0.62rem 0.82rem;
    font: inherit;
    font-weight: 850;
    font-size: 0.84rem;
    text-decoration: none;
    cursor: pointer;
}
.cookie-actions a {
    color: #1A365D;
    background: #F7FAFC;
    border: 1px solid #dbe3ef;
}
.cookie-actions button {
    border: 1px solid #dbe3ef;
    background: white;
    color: #1A365D;
}
.cookie-actions button.primary {
    background: #1A365D;
    color: white;
    border-color: #1A365D;
}
@media (max-width: 760px) {
    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: auto;
        max-height: none;
        transform: none;
        border-radius: 16px;
        padding: 0.85rem;
        align-items: flex-start;
        flex-direction: column;
    }
    .cookie-banner.is-dismissing {
        transform: translateY(12px);
    }
    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }
    .cookie-actions a,
    .cookie-actions button {
        flex: 1 1 auto;
        text-align: center;
    }
}
