/* E-Sign OTP Verification Styles */

/* Phone field styling */
#esign_otp_phone_group input[type="tel"] {
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* OTP Overlay */
#esignOtpOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esign-otp-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px 35px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.esign-otp-header {
    margin-bottom: 15px;
}

.esign-otp-header i {
    color: #4CAF50;
    margin-bottom: 8px;
}

.esign-otp-header h4 {
    margin: 8px 0 0;
    font-weight: 600;
    color: #333;
}

.esign-otp-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* 6-digit OTP inputs */
.esign-otp-digits {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.otp-digit {
    width: 46px;
    height: 52px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    border: 2px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.otp-digit:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.otp-digit:disabled {
    background: #f5f5f5;
    color: #999;
}

/* Message area */
.esign-otp-message {
    min-height: 10px;
}

/* Timer and attempts */
.esign-otp-timer {
    color: #999;
    font-size: 12px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
}

/* Action buttons */
.esign-otp-actions {
    margin-top: 15px;
}

.esign-otp-actions .btn-success {
    font-size: 15px;
    padding: 10px;
    font-weight: 600;
}

/* Responsive: smaller screens */
@media (max-width: 480px) {
    .esign-otp-container {
        padding: 20px;
    }

    .otp-digit {
        width: 40px;
        height: 46px;
        font-size: 18px;
    }

    .esign-otp-digits {
        gap: 5px;
    }
}
