/* LapTest – auth pages and dashboard (uses tokens from style.css) */

.app-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.app-header { background: var(--navy-900); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.app-header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.app-main { flex: 1; padding: 40px 0 64px; }
.inline-form { display: inline; margin: 0; }

.alert {
  max-width: 460px; margin: 0 auto 18px; padding: 12px 16px;
  border-radius: 12px; font-size: 14px; line-height: 1.9; border: 1px solid;
}
.alert-error { background: #fff1f1; border-color: #f6c4c4; color: #9b1c1c; }
.alert-success { background: #e9f9f1; border-color: #b7e8d0; color: #0a6b45; }
.dash .alert { max-width: none; }

.auth-card {
  max-width: 460px; margin: 0 auto; padding: 32px 30px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 50px rgba(10, 27, 69, .08);
}
.auth-card h1 { font-size: 22px; font-weight: 800; text-align: center; }
.auth-card .lead { margin: 8px 0 18px; font-size: 14px; color: var(--muted); text-align: center; }

.tabs { display: flex; gap: 6px; margin: 20px 0 22px; padding: 4px; background: #eef2fa; border-radius: 12px; }
.tabs a {
  flex: 1; padding: 9px 8px; text-align: center; font-size: 13.5px; font-weight: 600;
  border-radius: 9px; color: var(--muted);
}
.tabs a.on { background: #fff; color: var(--blue); box-shadow: 0 1px 4px rgba(10, 27, 69, .12); }

.auth-card form { display: grid; gap: 8px; }
.auth-card label { font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="tel"],
.auth-card input[type="password"] {
  width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 15px;
  border: 1.5px solid #d3dcec; border-radius: 12px; background: #fff; color: var(--ink);
}
.auth-card input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 107, 255, .18); }
.auth-card .btn { margin-top: 14px; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.8; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px !important; font-weight: 400 !important; }
.check input { margin-top: 6px; }
.check a { color: var(--blue); text-decoration: underline; }
.alt { margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--muted); }
.alt a, .verify-actions a { color: var(--blue); font-weight: 600; }

.otp-input { text-align: center; letter-spacing: .5em; font-size: 22px !important; font-weight: 700; }
.verify-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 13.5px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* Dashboard */
.dash h1 { font-size: 24px; font-weight: 800; }
.dash .lead { margin: 6px 0 22px; color: var(--muted); font-size: 14px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.dash-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.dash-card h2 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.dash-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }

@media (max-width: 520px) {
  .auth-card { padding: 26px 20px 22px; border-radius: 16px; }
}
