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

html.oe-consent-lock,
body.oe-consent-lock {
    overflow: hidden;
}

.oe-consent-manage {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1051;
    border: 1px solid #ced4da;
    background: #ffffff;
    color: #212529;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    line-height: 1.2;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    transition: opacity 160ms ease, transform 160ms ease;
}

.oe-consent-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(20, 24, 28, 0.45);
    opacity: 0;
    transition: opacity 180ms ease;
}

.oe-consent-banner,
.oe-consent-modal {
    position: fixed;
    left: 1rem;
    right: 1rem;
    z-index: 1070;
}

.oe-consent-banner {
    bottom: 1rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 180ms ease, transform 220ms ease;
}

.oe-consent-modal {
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 180ms ease, transform 220ms ease;
}

.oe-consent-backdrop.is-visible {
    opacity: 1;
}

.oe-consent-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.oe-consent-banner.is-suspended,
.oe-consent-manage.is-suspended {
    opacity: 0;
    transform: translateY(0.4rem);
    pointer-events: none;
}

.oe-consent-modal.is-visible {
    opacity: 1;
    transform: translateY(calc(-50% - 0.35rem));
}

.oe-consent-card {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    color: #1c232b;
    border-radius: 16px;
    box-shadow: 0 1.25rem 3rem rgba(12, 18, 24, 0.18);
    border: 1px solid rgba(28, 35, 43, 0.08);
    padding: 1.25rem;
}

.oe-consent-card-modal {
    max-width: 760px;
}

.oe-consent-title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.oe-consent-text {
    margin: 0;
    color: #4f5b67;
}

.oe-consent-linkline {
    margin: 0.75rem 0 0;
}

.oe-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.oe-consent-modal-head {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
}

.oe-consent-close {
    border: 0;
    background: transparent;
    color: #495057;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
}

.oe-consent-options {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.oe-consent-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin: 0;
    cursor: pointer;
}

.oe-consent-option-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.oe-consent-option-copy small {
    color: #5f6b76;
}

.oe-consent-option input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    cursor: pointer;
}

.oe-consent-embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    min-height: 280px;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7f8 0%, #eef2f4 100%);
    border: 1px solid #d8e0e5;
    border-radius: 16px;
    color: #24303a;
}

.oe-consent-embed-placeholder p {
    margin: 0;
    max-width: 42rem;
    color: #51606d;
}

.oe-consent-contact-placeholder {
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .oe-consent-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .oe-consent-modal {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .oe-consent-modal.is-visible {
        transform: translateY(0);
    }

    .oe-consent-modal-head {
        align-items: center;
    }

    .oe-consent-option {
        flex-direction: row;
    }
}
