/* Shinomiya Jadibot Web — dark anime-ish theme */
:root {
  --bg: #0d0a1a;
  --bg2: #151030;
  --card: #1b1540;
  --border: #2d2560;
  --text: #f1efff;
  --muted: #a79fd6;
  --purple: #a855f7;
  --purple2: #7c3aed;
  --green: #22c55e;
  --yellow: #eab308;
  --blue: #3b82f6;
  --gray: #6b7280;
  --red: #ef4444;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #241b55 0%, var(--bg) 60%);
  color: var(--text);
  min-height: 100vh;
}

/* ---------- landing ---------- */
.landing {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 20px;
}
.landing h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; }
.accent { color: var(--purple); text-shadow: 0 0 24px rgba(168,85,247,.6); }
.subtitle { color: var(--muted); font-size: 16px; }

.steps { text-align: left; margin: 32px 0; display: grid; gap: 12px; }
.step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px;
}
.step-num {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step b { display: block; margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.btn-google {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #1f1f1f; text-decoration: none;
  font-weight: 600; padding: 14px 28px; border-radius: 12px;
  font-size: 16px; box-shadow: 0 4px 24px rgba(168,85,247,.35);
}
.btn-google:hover { transform: translateY(-1px); }

.features {
  display: grid; gap: 12px; margin-top: 36px; text-align: left;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px; font-size: 14px;
}
.feature p { color: var(--muted); margin: 6px 0 0; font-size: 13px; }
.landing footer { margin-top: 40px; color: var(--muted); font-size: 12px; }

/* ---------- dashboard ---------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  background: rgba(13,10,26,.85); position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
.brand { font-size: 17px; }
.brand span { color: var(--muted); font-weight: 400; }
.userbox { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.email { color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link { color: var(--purple); text-decoration: none; }
.link:hover { text-decoration: underline; }

.container { max-width: 720px; margin: 0 auto; padding: 24px 16px 60px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; margin-bottom: 20px;
}
.card h2 { margin: 0 0 6px; font-size: 19px; }
.card h3 { margin: 18px 0 8px; font-size: 15px; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 12px; }

.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row input { flex: 1; min-width: 180px; }

input.field-input, .row input {
  background: var(--bg2); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-size: 15px; width: 100%;
}
input:focus { outline: none; border-color: var(--purple); }

.btn {
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: #fff; border: none; border-radius: 10px;
  padding: 12px 20px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn:hover { filter: brightness(1.1); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn.danger { background: linear-gradient(135deg, #dc2626, #991b1b); }

.error { color: #fca5a5; font-size: 14px; }
.ok { color: #86efac; font-size: 14px; }

.cards { display: grid; gap: 16px; }
.bot-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bot-number { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.badge {
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  white-space: nowrap;
}
.badge-green { background: rgba(34,197,94,.15); color: #4ade80; border: 1px solid rgba(34,197,94,.4); }
.badge-yellow { background: rgba(234,179,8,.15); color: #facc15; border: 1px solid rgba(234,179,8,.4); }
.badge-blue { background: rgba(59,130,246,.15); color: #60a5fa; border: 1px solid rgba(59,130,246,.4); }
.badge-gray { background: rgba(107,114,128,.15); color: #9ca3af; border: 1px solid rgba(107,114,128,.4); }

.pairing {
  margin-top: 14px; background: var(--bg2);
  border: 1px dashed var(--yellow); border-radius: 12px; padding: 16px;
}
.pairing-label { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.code-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pairing-code {
  font-size: 30px; font-weight: 800; letter-spacing: 4px;
  color: var(--yellow); font-family: ui-monospace, monospace;
}
.steps-list { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.steps-list li { margin-bottom: 4px; }

.settings { margin-top: 6px; }
.field { display: block; margin-bottom: 10px; }
.field-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }

.bot-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
