.cookie-consent-root {
    position: relative;
    z-index: 1050;
}

.cookie-consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
    background: linear-gradient(135deg, #13253f, #21456d);
    color: #f7fbff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(10, 22, 38, 0.32);
    padding: 16px;
}

.cookie-consent-copy h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.cookie-consent-copy p {
    margin: 0;
    max-width: 780px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-copy a {
    color: #8ed0ff;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-preferences-button {
    position: fixed;
    right: 16px;
    bottom: 16px;
    border: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #15283f;
    color: #d9ecff;
    padding: 0;
    box-shadow: 0 10px 24px rgba(7, 13, 24, 0.45);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 190, 236, 0.28);
}

.cookie-consent-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookie-consent-modal-card {
    width: min(560px, 100%);
    background: linear-gradient(165deg, #101c2b, #182b43);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(142, 194, 244, 0.22);
}

.cookie-consent-modal-card h3 {
    margin: 0 0 8px;
    color: #e8f3ff;
}

.cookie-consent-modal-card p {
    margin: 0 0 14px;
    color: #b8cde6;
    font-size: 14px;
}

.cookie-consent-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(143, 182, 222, 0.22);
}

.cookie-consent-toggle strong {
    display: block;
    color: #e8f3ff;
}

.cookie-consent-toggle small {
    display: block;
    color: #a9bfd8;
    font-size: 12px;
}

.cookie-consent-toggle.is-locked {
    opacity: 0.78;
}

.cookie-consent-modal-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

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

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-consent-actions .btn {
        flex: 1 1 auto;
    }
}
