/* Estilos minimos del prototipo MFA. En prod se reemplazan por el estilo
   corporativo (CSS/tipografias que entregue el equipo de diseno). */
:root { --bricsa: #0a4d8c; --bg: #f4f6f9; --card: #fff; --err: #b00020; --muted: #667; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Roboto, system-ui, sans-serif; background: var(--bg); color: #222; }

.topbar { display: flex; justify-content: space-between; align-items: center;
  background: var(--bricsa); color: #fff; padding: .7rem 1.2rem; }
.topbar .brand { font-size: 1.05rem; }
.topbar .user { display: flex; gap: 1rem; align-items: center; font-size: .9rem; }
.topbar .logout { color: #cfe3ff; text-decoration: none; }
.topbar .logout:hover { text-decoration: underline; }

.container { max-width: 900px; margin: 2rem auto; padding: 0 1rem; }
.card { background: var(--card); border-radius: 10px; padding: 1.6rem 1.8rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.login-card { max-width: 420px; margin: 3rem auto; }
h1 { margin-top: 0; color: var(--bricsa); font-size: 1.4rem; }
.muted { color: var(--muted); }

form label { display: block; margin: .8rem 0; font-weight: 600; font-size: .92rem; }
form input { display: block; width: 100%; margin-top: .3rem; padding: .55rem .6rem;
  border: 1px solid #c8ccd4; border-radius: 6px; font-size: 1rem; }
button { background: var(--bricsa); color: #fff; border: 0; border-radius: 6px;
  padding: .6rem 1.1rem; font-size: 1rem; cursor: pointer; }
button:hover { background: #073a6b; }

.alert.error { background: #fdecef; color: var(--err); border: 1px solid #f3b6c0;
  border-radius: 6px; padding: .6rem .8rem; margin: .6rem 0; }

.pasos { line-height: 1.9; }
.qr { margin: .6rem 0; }
.qr img { border: 1px solid #dcdfe6; border-radius: 8px; padding: 6px; background: #fff; }
.secret { display: inline-block; background: #eef2f7; padding: .2rem .5rem; border-radius: 5px;
  font-family: Consolas, monospace; letter-spacing: 2px; }
.recovery { columns: 2; font-family: Consolas, monospace; font-size: 1.05rem; }
.recovery li { margin: .2rem 0; }
.switch-user { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid #e6e9ef; }
.switch-user a { color: var(--bricsa); }

table.dataTable { margin-top: 1rem !important; }
.dt-button { background: var(--bricsa) !important; color: #fff !important;
  border-radius: 6px !important; border: 0 !important; }
