/* botcall shared styles
 * Loaded by: index.html, dashboard.html
 */

/* ─── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg: #09090b;
  --bg-elevated: #18181b;
  --border: #27272a;
  --border-bright: #3f3f46;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #22c55e;
  --accent-dim: #16a34a;
}

/* ─── Reset ──────────────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--accent); color: var(--bg); }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── Nav ────────────────────────────────────────────────────────────────────── */
nav {
  border-bottom: 1px solid var(--border);
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn:hover { border-color: var(--border-bright); background: var(--border); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
.btn-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); }

.btn-sm { font-size: 0.78rem; padding: 0.4rem 0.9rem; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); background: transparent; border-color: var(--border); }
.btn-full { width: 100%; justify-content: center; }

/* ─── Terminal ───────────────────────────────────────────────────────────────── */
.terminal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.terminal-header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-bright); }

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: 0.4rem;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.9;
  overflow-x: auto;
}

.terminal-line { display: flex; gap: 0.75rem; }
.terminal-prompt { color: var(--accent); user-select: none; }
.terminal-output { color: var(--text-dim); padding-left: 1.5rem; }
.terminal-highlight { color: var(--text); background: rgba(34, 197, 94, 0.1); padding: 0.1rem 0.35rem; border-radius: 3px; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 2rem; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--text-muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
