/* 2FA Modal Styles */
.kyc-2fa-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.kyc-2fa-box {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    animation: kycSlideUp 0.3s ease-out;
}

@keyframes kycSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.kyc-2fa-header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

.kyc-2fa-header .lock-icon {
    width: 48px;
    height: 48px;
    color: #4f46e5;
    background: #e0e7ff;
    padding: 10px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.kyc-2fa-header h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.kyc-2fa-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.kyc-2fa-body {
    padding: 24px;
}

.kyc-2fa-field {
    margin-top: 8px;
}

.kyc-2fa-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    color: #111827;
    transition: all 0.2s;
    box-sizing: border-box;
}

.kyc-2fa-field input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.kyc-2fa-error-msg {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    background: #fef2f2;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
}

.kyc-2fa-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
}

.kyc-2fa-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kyc-2fa-btn-cancel {
    background: #f3f4f6;
    color: #374151;
}

.kyc-2fa-btn-cancel:hover {
    background: #e5e7eb;
}

.kyc-2fa-btn-submit {
    background: #4f46e5;
    color: white;
}

.kyc-2fa-btn-submit:hover:not(:disabled) {
    background: #4338ca;
}

.kyc-2fa-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
