/* MFA Pages — DocuShare Standard Styling
 * AI Generated: Claude Code, Claude Opus 4.6
 * Human reviewed and approved on 2026-04-07 by US993293
 */

.mfa-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
    font-family: Roboto, sans-serif;
}

.mfa-card {
    background: #fff;
    border: 1px solid #e3e6e9;
    border-radius: 3px;
    padding: 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.mfa-header {
    text-align: center;
    margin-bottom: 30px;
}

.mfa-header h2 {
    font-size: 21px;
    font-weight: 300;
    color: #2e3236;
    margin: 0 0 10px 0;
}

.mfa-subtitle {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.mfa-step {
    margin-bottom: 20px;
}

.mfa-step h3 {
    font-size: 16px;
    font-weight: 400;
    color: #2e3236;
    margin: 0 0 8px 0;
}

.mfa-form-group {
    margin-bottom: 20px;
}

.mfa-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #2e3236;
    margin-bottom: 6px;
}

.mfa-code-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 24px;
    font-family: monospace;
    letter-spacing: 8px;
    text-align: center;
    border: 1px solid #e3e6e9;
    border-radius: 3px;
    box-sizing: border-box;
}

.mfa-code-input::placeholder {
    font-size: 14px;
    letter-spacing: normal;
}

.mfa-code-input:focus {
    outline: none;
    border-color: #383e42;
    box-shadow: 0 0 0 2px rgba(56,62,66,0.15);
}

.mfa-recovery-input {
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.mfa-email-input {
    font-size: 16px;
    font-family: Roboto, sans-serif;
    letter-spacing: normal;
    text-align: left;
}

.mfa-remember {
    margin-bottom: 20px;
    font-size: 14px;
    color: #6b7280;
}

.mfa-remember input[type="checkbox"] {
    margin-right: 8px;
}

.mfa-actions {
    margin-bottom: 20px;
}

.mfa-actions .submit {
    width: 100%;
    height: 40px;
    font-size: 15px;
}

.mfa-links {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.mfa-links a {
    color: #383e42;
    text-decoration: none;
}

.mfa-links a:hover {
    text-decoration: underline;
}

/* Error and info messages */
.mfa-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 3px;
    padding: 12px 16px;
    color: #991b1b;
    font-size: 14px;
    margin-bottom: 20px;
}

.mfa-info {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 3px;
    padding: 12px 16px;
    color: #166534;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Recovery codes display */
.mfa-recovery-codes {
    background: #f8f9fa;
    border: 1px solid #e3e6e9;
    border-radius: 3px;
    padding: 20px;
    margin: 20px 0;
}

.mfa-recovery-codes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 2px;
}

.mfa-recovery-codes-grid span {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e3e6e9;
    border-radius: 3px;
    text-align: center;
}

.mfa-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 3px;
    padding: 12px 16px;
    color: #856404;
    font-size: 13px;
    margin-top: 15px;
    font-weight: bold;
}

/* Enrollment nag banner */
.mfa-nag-banner {
    background: #fff3cd;
    border-bottom: 2px solid #ffc107;
    padding: 12px 20px;
    color: #856404;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}
