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

.cookie-consent-banner {
    position: fixed;
    left: 16px;
    bottom: 16px;
    width: min(340px, calc(100vw - 24px)); 
    display: flex;
    flex-direction: column;
    gap: 12px;
    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: 14px;
}

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

.cookie-consent-copy p {
    margin: 0;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.45;
}

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

.cookie-consent-actions {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    width: 100%;
}

.cookie-consent-actions .btn {
    flex: 1 1 0;
    white-space: nowrap;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 11px;
}

.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 {
        left: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        min-height: 0;
    }

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

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