/* ── Reset ─────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ──────────────────────────────────────────────────────────────────── */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* ── Utility ───────────────────────────────────────────────────────────────── */
.hidden { display: none; }

/* ── Landing ───────────────────────────────────────────────────────────────── */
#landing {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.logo-wrap { margin-bottom: 2rem; }

.logo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #185FA5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-card {
  background: #fff;
  border-radius: 20px;
  border: 0.5px solid #e0e0e0;
  padding: 2.5rem 2rem;
}

.landing-card h1 {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.landing-card p {
  font-size: 14px;
  color: #888;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn-signin {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: none;
  background: #185FA5;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-signin:hover { background: #0C447C; }

.btn-signin svg { width: 18px; height: 18px; }

.landing-footer {
  margin-top: 1.5rem;
  font-size: 11px;
  color: #bbb;
}

/* ── Dashboard ─────────────────────────────────────────────────────────────── */
#dashboard { width: 100%; max-width: 480px; }

.dash-header {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dash-header h1 {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-header p { font-size: 11px; color: #aaa; margin-top: 2px; }

.auth-bar { display: flex; align-items: center; gap: 8px; }

.auth-name { font-size: 12px; color: #555; }

.btn-sm {
  padding: 5px 12px;
  border-radius: 8px;
  border: 0.5px solid #e0e0e0;
  background: #fff;
  font-size: 12px;
  color: #333;
  cursor: pointer;
}

.btn-sm:hover { background: #f0f0f0; }

/* ── Card ──────────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 16px;
  border: 0.5px solid #e0e0e0;
  padding: 2rem;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #E6F1FB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 500;
  color: #185FA5;
  margin-bottom: 1.25rem;
}

.name { font-size: 22px; font-weight: 500; color: #1a1a1a; margin-bottom: 4px; }
.email { font-size: 14px; color: #185FA5; margin-bottom: 1.5rem; }

.meta {
  border-top: 0.5px solid #efefef;
  padding-top: 1rem;
  display: flex;
  gap: 1.5rem;
}

.meta-item label {
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
}

.meta-item span { font-size: 13px; color: #555; font-weight: 500; }

/* ── Controls ──────────────────────────────────────────────────────────────── */
.controls { margin-top: 1.25rem; display: flex; gap: 10px; }

.btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 0.5px solid #e0e0e0;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: background 0.15s;
}

.btn:hover { background: #f5f5f5; }
.btn.primary { background: #185FA5; color: #fff; border-color: #185FA5; }
.btn.primary:hover { background: #0C447C; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.counter { font-size: 12px; color: #aaa; text-align: center; margin-top: 10px; }

/* ── Status bar ────────────────────────────────────────────────────────────── */
.status-bar { margin-top: 1rem; font-size: 12px; padding: 8px 12px; border-radius: 8px; text-align: center; }
.status-bar.info    { background: #E6F1FB; color: #185FA5; }
.status-bar.success { background: #EAF3DE; color: #3B6D11; }
.status-bar.error   { background: #FCEBEB; color: #A32D2D; }