.ceb-ei-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    background: rgba(15, 23, 42, .6) !important;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none !important;
    transition: opacity .3s ease;
}

.ceb-ei-overlay--visible {
    opacity: 1;
    pointer-events: auto !important;
}

.ceb-ei-overlay[hidden],
.ceb-ei-overlay[style*="display: none"],
.ceb-ei-overlay[style*="display:none"] {
    display: none !important;
    pointer-events: none !important;
}

.ceb-ei-modal {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .2);
    transform: translateY(24px) scale(.96);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    overflow: hidden;
}

.ceb-ei-overlay--visible .ceb-ei-modal {
    transform: translateY(0) scale(1);
}

.ceb-ei-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none !important;
    border: none !important;
    font-size: 28px !important;
    color: #94A3B8 !important;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color .2s, background .2s;
    z-index: 1;
    box-shadow: none !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.ceb-ei-close:hover,
.ceb-ei-close:focus {
    color: #0F172A !important;
    background: #F1F5F9 !important;
}

.ceb-ei-body {
    padding: 40px 32px 32px;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ceb-ei-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}

.ceb-ei-heading {
    font-family: 'League Spartan', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 10px;
    line-height: 1.25;
}

.ceb-ei-sub {
    font-size: 15px;
    color: #64748B;
    margin: 0 0 24px;
    line-height: 1.6;
}

.ceb-ei-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="email"].ceb-ei-email,
.ceb-ei-overlay input.ceb-ei-email {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 18px !important;
    border: 2px solid #E2E8F0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-family: 'Inter', sans-serif !important;
    color: #0F172A !important;
    background: #F8FAFC !important;
    outline: none !important;
    transition: border-color .2s;
    box-sizing: border-box !important;
    box-shadow: none !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}

input[type="email"].ceb-ei-email:focus,
.ceb-ei-overlay input.ceb-ei-email:focus {
    border-color: #F37015 !important;
    background: #fff !important;
}

.ceb-ei-email::placeholder {
    color: #94A3B8;
}

.ceb-ei-btn {
    width: 100% !important;
    padding: 14px 24px !important;
    background: #F37015 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer;
    transition: background .2s, transform .1s;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none !important;
}

.ceb-ei-btn:hover,
.ceb-ei-btn:focus {
    background: #d9600e !important;
    color: #fff !important;
}

.ceb-ei-btn:active {
    transform: scale(.97);
}

.ceb-ei-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.ceb-ei-msg {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    min-height: 0;
}

.ceb-ei-msg--success {
    color: #15803D;
}

.ceb-ei-msg--error {
    color: #DC2626;
}

.ceb-ei-coupon {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 20px;
    background: #FFF7ED;
    border: 2px dashed #F37015;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 900;
    color: #F37015;
    letter-spacing: .05em;
}

.ceb-ei-dismiss {
    display: block;
    margin: 16px auto 0;
    background: none !important;
    border: none !important;
    color: #94A3B8 !important;
    font-size: 13px !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    transition: color .2s;
    box-shadow: none !important;
    padding: 4px 8px !important;
}

.ceb-ei-dismiss:hover,
.ceb-ei-dismiss:focus {
    color: #64748B !important;
    background: none !important;
}

@media (max-width: 480px) {
    .ceb-ei-body {
        padding: 32px 20px 24px;
    }

    .ceb-ei-heading {
        font-size: 20px;
    }

    .ceb-ei-icon {
        font-size: 40px;
    }
}
