/**
 * Modal Styles
 * Email captcha modal and WhatsApp lead capture modal
 */

/* Email Captcha Modal */
.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.email-modal.is-open {
    display: flex;
}

.email-modal__content {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.email-modal__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.email-modal__subtitle {
    color: #666;
    margin-bottom: 24px;
}

.email-modal__captcha {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.email-modal__captcha-question {
    font-weight: 600;
    margin-bottom: 12px;
}

.email-modal__captcha-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

.email-modal__captcha-input:focus {
    outline: none;
    border-color: #d4488e;
}

.email-modal__btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4488e 0%, #b03a78 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
}

.email-modal__btn:hover {
    opacity: 0.9;
}

.email-modal__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.email-modal__close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}

.email-modal__error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

/* WhatsApp Lead Modal */
.whatsapp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.whatsapp-modal.is-open {
    display: flex;
}

.whatsapp-modal__content {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.whatsapp-modal__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-modal__subtitle {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.whatsapp-modal__field {
    margin-bottom: 16px;
    text-align: left;
}

.whatsapp-modal__field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.whatsapp-modal__field input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.whatsapp-modal__field input:focus {
    outline: none;
    border-color: #25D366;
}

.whatsapp-modal__note {
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
    text-align: center;
}

.whatsapp-modal__btn {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.whatsapp-modal__btn:hover {
    background: #1da851;
}

.whatsapp-modal__close {
    width: 100%;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 8px;
}

.whatsapp-modal__close:hover {
    color: #333;
}

@media (max-width: 480px) {
    .email-modal__content {
        padding: 24px 20px;
    }

    .whatsapp-modal__content {
        padding: 24px 20px;
    }
}
