/* Login, setup, and owner dashboard pages (served by src/index.js). Builds on styles.css. */
.app-page { min-height: 100vh; background:
  radial-gradient(ellipse 60% 50% at 50% 0%, rgba(109,255,46,.10), transparent 70%), var(--bg); }
.app-main { padding: 56px 0 80px; }
.who { margin-left: auto; font-size: 13px; color: var(--muted); }
.who a, .link { color: var(--neon); }
.muted { color: var(--muted); }

/* Login + setup card */
.auth-card {
  max-width: 420px; margin: 0 auto; padding: 36px 32px; display: flex; flex-direction: column; gap: 16px;
  background: var(--panel); border: 1px solid rgba(109,255,46,.35); border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(109,255,46,.10);
}
.auth-card h1 { font-size: 40px; }
.auth-card .eyebrow { margin-bottom: -6px; }
.auth-card label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #cfd6cf; }
.auth-card .hint { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.auth-card input, .invite-form input, .invite-form select {
  background: #0a0c0a; border: 1px solid #2c342c; border-radius: var(--radius); color: var(--text);
  padding: 0 14px; height: 46px; font: 400 15px var(--font-body);
}
.auth-card input:focus, .invite-form input:focus, .invite-form select:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(109,255,46,.15); }
.auth-card .btn { margin-top: 6px; }
.form-error { background: rgba(227,36,43,.12); border: 1px solid rgba(227,36,43,.5); color: #ff8a8f; padding: 10px 12px; border-radius: var(--radius); font-size: 14px; }

/* Dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.dash-head h1 { font-size: clamp(40px, 6vw, 56px); margin-top: 10px; }
.dash-actions { display: flex; gap: 10px; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash-card { position: relative; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.dash-card h3 { font-size: 24px; margin-bottom: 8px; }
.dash-card p { color: var(--muted); font-size: 14px; }
.soon { position: absolute; top: 20px; right: 18px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); border: 1px solid rgba(109,255,46,.4); padding: 3px 7px; border-radius: var(--radius); }
.dash-h2 { font-size: 32px; margin: 48px 0 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: #0a0c0a; }
tr:last-child td { border-bottom: 0; }
.role { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius); }
.role-owner { background: var(--neon); color: #041000; }
.role-admin { border: 1px solid var(--neon); color: var(--neon); }
.invite-form { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.invite-form input { flex: 1; min-width: 180px; height: 40px; }
.invite-form select { height: 40px; }
.fresh-link { margin-bottom: 16px; padding: 16px; border: 1px solid var(--neon); border-radius: var(--radius); background: rgba(109,255,46,.06); }
.fresh-link p { margin-bottom: 8px; font-size: 14px; }
.fresh-link code { display: block; word-break: break-all; font-size: 13px; color: var(--neon); }

@media (max-width: 900px) { .dash-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .dash-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .app-main { padding-top: 32px; }
}
