.mpwa-newsletter-wrapper {
    max-width: 100%;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.mpwa-newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mpwa-newsletter-form input[type="tel"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 15px;
    text-align: left;
    direction: ltr;
}

.mpwa-newsletter-form input[type="tel"]:focus {
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.mpwa-newsletter-form .mpwa-newsletter-btn {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.mpwa-newsletter-form .mpwa-newsletter-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.mpwa-newsletter-form .mpwa-newsletter-btn i {
    font-size: 18px;
}

.mpwa-newsletter-form .mpwa-newsletter-btn:disabled {
    background: #999;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

#mpwa-newsletter-msg {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
}
#mpwa-newsletter-msg.success {
    background: #e8f9f0;
    color: #1b8a41;
}
#mpwa-newsletter-msg.error {
    background: #fdf2f2;
    color: #c92a2a;
}

/* Responsiveness */
@media (max-width: 480px) {
    .mpwa-newsletter-form {
        flex-direction: column;
    }
    .mpwa-newsletter-form input[type="tel"],
    .mpwa-newsletter-form .mpwa-newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}

/* OTP Login Styles */
.mpwa-otp-wrapper {
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.mpwa-otp-wrapper label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.mpwa-otp-wrapper .mpwa-btn-whatsapp {
    background: #25d366 !important;
    color: white !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    transition: background 0.3s;
}

.mpwa-otp-wrapper .mpwa-btn-whatsapp:hover {
    background: #1da851 !important;
}

.mpwa-otp-wrapper .mpwa-btn-verify {
    background: #000 !important;
    color: white !important;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
}

.mpwa-otp-msg.success {
    color: #1b8a41;
    background: #e8f9f0;
    padding: 10px;
    border-radius: 4px;
}

.mpwa-otp-msg.error {
    color: #c92a2a;
    background: #fdf2f2;
    padding: 10px;
    border-radius: 4px;
}

/* intl-tel-input overrides */
.iti {
    width: 100%;
    display: block;
}
.iti__flag {background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");}

@media (min-resolution: 2x) {
  .iti__flag {background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");}
}
