/* UR OTP Verification Styles */
.ur-otp-wrapper {
    margin-bottom: 16px;
}

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

.ur-required {
    color: #e53e3e;
    margin-left: 2px;
}

.ur-otp-field-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ur-otp-input {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    padding: 10px 14px;
    font-size: 22px;
    letter-spacing: 10px;
    text-align: center;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: monospace;
}

.ur-otp-input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
}

.ur-otp-input.verified {
    border-color: #38a169;
    background: #f0fff4;
    color: #276749;
}

.ur-otp-input.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

.ur-otp-verify-btn,
.ur-resend-btn,
#ur-send-otp-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.ur-otp-verify-btn {
    background: #4a90e2;
    color: #fff;
}

.ur-otp-verify-btn:hover {
    background: #2b6cb0;
}

.ur-otp-verify-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ur-resend-btn {
    background: #e2e8f0;
    color: #4a5568;
}

.ur-resend-btn:hover:not(:disabled) {
    background: #cbd5e0;
}

.ur-resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#ur-send-otp-btn {
    background: #4a90e2;
    color: #fff;
    margin-top: 4px;
}

#ur-send-otp-btn:hover {
    background: #2b6cb0;
}

#ur-send-otp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ur-otp-message {
    margin-top: 8px;
    font-size: 13px;
    min-height: 18px;
}

.ur-otp-message.success { color: #276749; }
.ur-otp-message.error   { color: #c53030; }
.ur-otp-message.info    { color: #2b6cb0; }

.ur-otp-timer {
    margin-top: 4px;
    font-size: 12px;
    color: #718096;
}

.ur-otp-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: ur-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes ur-spin {
    to { transform: rotate(360deg); }
}
