/* ============================================================
   PREP CONNECT MOBILE — LOGIN & TWO-FACTOR PAGES
   (Login.aspx, TwoFactor.aspx). Loaded after /Style/site.css.
   ============================================================ */

.login-section {
    background: #f8f8f8;
    padding: 56px 24px 96px;
    min-height: calc(100vh - 400px);
}
.login-section .page-alert {
    max-width: 420px;
    margin: 0 auto 24px;
}
.login-card {
    max-width: 420px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.login-card h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
}
.login-failure {
    color: #990000;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4px;
}
.login-submit-wrap {
    text-align: center;
    margin-top: 8px;
}
.login-forgot {
    margin-top: 18px;
    text-align: center;
    font-size: 0.9rem;
}
.login-forgot a { color: #990000; font-weight: 700; }

/* ============================================================
   TWO-FACTOR CODE ENTRY
   Six equal-width columns via CSS Grid, so the boxes always fill
   the row edge-to-edge and can never wrap or overflow, regardless
   of viewport width.
   ============================================================ */
.code-section {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(4px, 2vw, 10px);
    max-width: 320px;
    margin: 0 auto 22px;
}
.code-digit {
    width: 100%;
    height: 52px;
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    text-align: center;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    color: #1a1a1a;
    background: #fbfbfb;
    font-family: 'Inter', Arial, sans-serif;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}
.code-digit:focus {
    outline: none;
    border-color: #990000;
    background: #ffffff;
}
@media (max-width: 420px) {
    .login-card { padding: 28px 16px; }
}
.remember-device-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #444444;
    margin-bottom: 4px;
}
.remember-device-row input[type="checkbox"] { width: 16px; height: 16px; }
