/* Mobile OTP Verifier - otp.css */

.mov-wrapper {
    font-family: inherit;
    margin-bottom: 1rem;
}

.mov-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #333;
}

/* Phone row */
.mov-phone-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.mov-country-code {
    width: 70px !important;
    flex-shrink: 0;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    padding: 10px 8px;
    font-size: 0.95rem;
    text-align: center;
    transition: border-color 0.2s;
    background: #f9f9f9;
}

.mov-phone-input {
    flex: 1;
    min-width: 160px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.mov-phone-input:focus,
.mov-country-code:focus,
.mov-otp-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* OTP row */
.mov-otp-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.mov-otp-input {
    width: 160px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 1rem;
    letter-spacing: 6px;
    text-align: center;
    font-weight: 700;
}

/* Buttons */
.mov-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, opacity 0.2s;
    white-space: nowrap;
}

.mov-btn:active { transform: scale(0.97); }
.mov-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.mov-send-btn {
    background: #4f46e5;
    color: #fff;
}
.mov-send-btn:hover:not(:disabled) { background: #3730a3; }

.mov-verify-btn {
    background: #059669;
    color: #fff;
}
.mov-verify-btn:hover:not(:disabled) { background: #047857; }

.mov-resend-btn {
    background: transparent;
    color: #4f46e5;
    border: 1.5px solid #4f46e5;
    font-size: 0.82rem;
    padding: 8px 14px;
}
.mov-resend-btn:hover:not(:disabled) { background: #ede9fe; }

/* Status messages */
.mov-status {
    margin-top: 8px;
    font-size: 0.85rem;
    min-height: 20px;
    border-radius: 4px;
    padding: 0 4px;
}

.mov-status.success {
    color: #065f46;
    background: #d1fae5;
    padding: 8px 12px;
    border-radius: 6px;
}

.mov-status.error {
    color: #991b1b;
    background: #fee2e2;
    padding: 8px 12px;
    border-radius: 6px;
}

.mov-status.info {
    color: #1e40af;
    background: #dbeafe;
    padding: 8px 12px;
    border-radius: 6px;
}

/* Verified state */
.mov-wrapper.is-verified .mov-phone-row .mov-phone-input {
    border-color: #059669;
    background: #f0fdf4;
}

.mov-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #065f46;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px;
}

/* Countdown badge on resend */
.mov-countdown {
    font-size: 0.8rem;
    color: #6b7280;
    margin-left: 4px;
}

/* Responsive */
@media (max-width: 480px) {
    .mov-phone-row,
    .mov-otp-row { flex-direction: column; align-items: stretch; }
    .mov-country-code { width: 100% !important; }
    .mov-otp-input { width: 100%; }
    .mov-btn { width: 100%; text-align: center; }
}
