.cookie-consent-root {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
}

.cookie-consent-root.is-hidden {
    display: none;
}

.cookie-consent-card {
    width: min(720px, 100%);
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(10, 20, 40, 0.1);
    box-shadow: 0 22px 42px rgba(7, 19, 39, 0.28);
    padding: 22px 22px 18px;
    pointer-events: auto;
    max-height: calc(100vh - 48px);
    overflow: auto;
}

.cookie-consent-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #0f254b;
}

.cookie-consent-card p {
    margin: 0 0 12px;
    color: #344862;
}

.cookie-consent-note {
    background: #edf4ff;
    border: 1px solid #c2d9ff;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.92rem;
}

.cookie-consent-feedback {
    margin: 0 0 12px;
    background: #fff4e8;
    border: 1px solid #f1c48b;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.92rem;
    color: #7a4a11;
}

.cookie-consent-feedback.is-hidden {
    display: none;
}

.cookie-consent-options {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.cookie-consent-option {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fafcff;
}

.cookie-consent-option input {
    margin-top: 4px;
}

.cookie-consent-option strong {
    display: block;
    color: #0f254b;
}

.cookie-consent-option small {
    color: #4d617a;
}

.cookie-consent-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-settings-open {
    border: 0;
    cursor: pointer;
}

@media (max-width: 767px) {
    .cookie-consent-root {
        padding: 12px;
        align-items: flex-end;
    }

    .cookie-consent-card {
        border-radius: 14px;
        padding: 16px;
        max-height: calc(100vh - 24px);
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

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