/* Sign-in security (public/security-ui.js): Settings cards, the MFA step,
   the session timeout warning, and the SSO entry on the sign-in screen. */

.sec-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
.sec-section h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.sec-section .auth-field select,
.sec-section .auth-field textarea { width: 100%; max-width: 520px; }
.sec-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.sec-small { font-size: 12px; color: #64748b; margin: 6px 0; line-height: 1.5; }
.sec-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #334155; margin: 10px 0 4px; cursor: pointer; }
.sec-check input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--primary); flex: none; }
.sec-check input:disabled + span { opacity: 0.55; }
.sec-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 14px; margin: 10px 0 14px; }
.sec-copy { margin: 6px 0; }
.sec-copy-label { display: block; font-size: 12px; font-weight: 600; color: #334155; }
.sec-copy .sec-row { margin: 4px 0 0; flex-wrap: nowrap; }
.sec-copy-input { flex: 1; min-width: 0; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #0f172a; }
.sec-textarea { width: 100%; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 8px; border: 1px solid #cbd5e1; border-radius: 6px; box-sizing: border-box; }
.sec-inline-code { width: 180px; padding: 7px 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 13px; }

.sec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sec-table th { text-align: left; font-weight: 600; color: #475569; border-bottom: 1px solid #e2e8f0; padding: 6px 8px; }
.sec-table td { border-bottom: 1px solid #f1f5f9; padding: 8px; vertical-align: top; color: #0f172a; }
.sec-table .sec-row { margin: 0; }
.sec-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sec-steps { padding-left: 20px; margin: 0 0 12px; font-size: 13px; color: #334155; line-height: 1.5; }
.sec-steps li { margin-bottom: 12px; }
.sec-steps label { display: block; font-weight: 600; margin: 4px 0 6px; }
.sec-qr { display: block; margin: 10px 0; border: 1px solid #e2e8f0; border-radius: 8px; image-rendering: pixelated; }
.sec-secret { display: inline-block; margin-top: 6px; font-size: 13px; letter-spacing: 0.05em; word-break: break-all; }
.sec-codes { margin-top: 8px; }
.sec-code-list { columns: 2; font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; padding-left: 24px; margin: 8px 0; }
.sec-code-list li { margin-bottom: 4px; }

.sec-overlay { z-index: 10000; }
.sec-mfa-card { max-width: 460px; }
.sec-sso { margin-top: 8px; }
.sec-sso-form { margin-top: 10px; }

@media (max-width: 600px) {
  .sec-code-list { columns: 1; }
  .sec-table th:nth-child(2), .sec-table td:nth-child(2) { display: none; }
}
