.lmee-form-wrap {
        max-width: 480px;
        margin: 0 auto;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lmee-subscribe-form .lmee-field {
        margin-bottom: 14px;
}

.lmee-subscribe-form label {
        display: block;
        margin-bottom: 4px;
        font-weight: 600;
        font-size: 14px;
        color: #333;
}

.lmee-subscribe-form label .required {
        color: #c0392b;
}

.lmee-subscribe-form input[type="text"],
.lmee-subscribe-form input[type="email"] {
        width: 100%;
        padding: 10px 14px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 15px;
        box-sizing: border-box;
        transition: border-color .2s;
}

.lmee-subscribe-form input[type="text"]:focus,
.lmee-subscribe-form input[type="email"]:focus {
        border-color: #2980b9;
        outline: none;
}

.lmee-btn {
        cursor: pointer;
        border: none;
        border-radius: 6px;
        font-size: 15px;
        font-weight: 700;
        padding: 12px 24px;
        transition: background .2s, transform .1s;
}

.lmee-btn:active {
        transform: scale(.98);
}

.lmee-btn--submit {
        background: #2980b9;
        color: #fff;
        width: 100%;
}

.lmee-btn--submit:hover {
        background: #1f6a9a;
}

.lmee-btn--popup {
        background: #27ae60;
        color: #fff;
        width: 100%;
}

.lmee-btn--popup:hover {
        background: #1e8449;
}

.lmee-form-message {
        padding: 10px 14px;
        border-radius: 6px;
        font-size: 14px;
        margin-top: 10px;
}

.lmee-form-message--success {
        background: #d5f5e3;
        color: #1e8449;
        border: 1px solid #82e0aa;
}

.lmee-form-message--error {
        background: #fce4e4;
        color: #c0392b;
        border: 1px solid #f1948a;
}

/* Exit Intent Popup */
.lmee-popup-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,.65);
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: lmeeFadeIn .25s ease;
}

@keyframes lmeeFadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
}

.lmee-popup-box {
        position: relative;
        background: #fff;
        border-radius: 12px;
        max-width: 440px;
        width: 92%;
        padding: 40px 36px 32px;
        box-shadow: 0 20px 60px rgba(0,0,0,.3);
        animation: lmeeSlideUp .3s ease;
}

@keyframes lmeeSlideUp {
        from { transform: translateY(30px); opacity: 0; }
        to   { transform: translateY(0);   opacity: 1; }
}

.lmee-popup-close {
        position: absolute;
        top: 12px; right: 16px;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #999;
        line-height: 1;
}

.lmee-popup-close:hover {
        color: #333;
}

.lmee-popup-title {
        margin: 0 0 8px;
        font-size: 22px;
        color: #1a1a1a;
}

.lmee-popup-subtitle {
        color: #555;
        margin: 0 0 20px;
        font-size: 15px;
}

.lmee-popup-input {
        width: 100%;
        padding: 11px 14px;
        margin-bottom: 10px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 15px;
        box-sizing: border-box;
}

.lmee-popup-input:focus {
        border-color: #27ae60;
        outline: none;
}

.lmee-popup-privacy {
        text-align: center;
        font-size: 12px;
        color: #aaa;
        margin: 12px 0 0;
}

@media (max-width: 480px) {
        .lmee-popup-box {
                padding: 28px 20px 22px;
        }
}

/* Lead Magnet Form inside popup */
.lmee-popup-box--lmfb {
        max-width: 540px;
        padding: 16px;
        max-height: 90vh;
        overflow-y: auto;
}

.lmee-popup-lmfb-wrap .lmfb-wrap {
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
}

.lmee-popup-lmfb-wrap .lmfb-body {
        padding: 12px 8px 8px !important;
}
