/* MeetingCost Docs — Shared Styles (uses meetingcost-fonts.css for typography) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f1115;
  --surface: #171a21;
  --surface2: #1e2533;
  --border: #2a2f3a;
  --border-soft: rgba(255,255,255,0.06);
  --accent: #4ade80;
  --accent-hover: #22c55e;
  --accent-blue: #38bdf8;
  --accent-orange: #fb923c;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: rgba(255,255,255,0.35);
  --pro-grad: linear-gradient(90deg, #4ade80, #38bdf8);
  --sidebar-w: 260px;
  --mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent-hover); }

/* ── TOP NAV ── */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 56px;
  background: rgba(15,17,21,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #334155;
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 24px;
}
.topnav-logo {
  font-size: 16px; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.topnav-logo span { color: var(--accent); }
.topnav-links {
  display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto;
  font-size: 13px; color: var(--text-muted);
}
.topnav-links a { color: var(--text-muted); }
.topnav-links a:hover { color: #fff; text-decoration: none; }

/* ── LAYOUT ── */
.docs-layout {
  display: flex;
  padding-top: 56px;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
.docs-sidebar {
  width: var(--sidebar-w);
  position: fixed;
  top: 56px; bottom: 0; left: 0;
  overflow-y: auto;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.sidebar-section {
  margin-bottom: 24px;
  padding: 0 16px;
}
.sidebar-section-title {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 8px; padding: 0 8px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 6px;
  font-size: 13px; color: var(--text-muted);
  transition: all 0.15s;
  cursor: pointer;
}
.sidebar-link:hover { background: rgba(255,255,255,0.05); color: #fff; text-decoration: none; }
.sidebar-link.active { background: #1f2937; color: #fff; }
.sidebar-link.active .sidebar-pro-badge { background: rgba(255,255,255,0.18); color: #fff; }
.sidebar-link .icon { font-size: 14px; width: 18px; flex-shrink: 0; }
.sidebar-pro-badge {
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em;
  background: var(--pro-grad); color: #000;
  padding: 2px 6px; border-radius: 3px;
  margin-left: auto;
}

/* ── MAIN CONTENT ── */
.docs-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  max-width: 860px;
  padding: 48px 48px 80px;
}
.docs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.docs-main h1 {
  font-size: 32px; font-weight: 700; line-height: 1.2;
  margin-bottom: 12px; color: #fff;
}
.docs-main h2 {
  font-size: 20px; font-weight: 600;
  margin: 40px 0 12px; color: #fff;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.docs-main h3 {
  font-size: 16px; font-weight: 600;
  margin: 28px 0 8px; color: #fff;
}
.docs-main p { margin-bottom: 16px; color: var(--text-muted); }
.docs-main ul, .docs-main ol {
  padding-left: 20px; margin-bottom: 16px; color: var(--text-muted);
}
.docs-main li { margin-bottom: 6px; }
.docs-main strong { color: var(--text); font-weight: 600; }
.docs-main code {
  font-family: var(--mono);
  font-size: 13px;
  background: rgba(74,222,128,0.10);
  padding: 2px 6px; border-radius: 4px;
  color: var(--accent);
}

.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.page-header-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.page-header p {
  font-size: 16px; color: var(--text-muted);
  margin-bottom: 0;
}

.callout {
  border-radius: 8px; padding: 16px 20px;
  margin: 20px 0; font-size: 14px;
  display: flex; gap: 12px; align-items: flex-start;
}
.callout-info { background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.25); }
.callout-success { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.25); }
.callout-warning { background: rgba(251,146,60,0.08); border: 1px solid rgba(251,146,60,0.25); }
.callout-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.callout-body { color: var(--text-muted); }
.callout-body strong { color: var(--text); }

.step-list { list-style: none; padding: 0; margin: 20px 0; }
.step-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.step-list li:last-child { border-bottom: none; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.35);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step-body { color: var(--text-muted); }
.step-body strong { color: var(--text); display: block; margin-bottom: 4px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.feature-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.feature-card-icon { font-size: 24px; margin-bottom: 10px; }
.feature-card-title {
  font-size: 14px; font-weight: 600; color: #fff;
  margin-bottom: 6px;
}
.feature-card-desc { font-size: 13px; color: var(--text-muted); }

.pro-tag {
  display: inline-flex; align-items: center;
  background: var(--pro-grad); color: #000;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px; border-radius: 4px;
  vertical-align: middle; margin-left: 8px;
}

.docs-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13px; }
.docs-table th {
  text-align: left; padding: 10px 14px;
  background: var(--surface2);
  color: var(--text-muted);
  font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.docs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.docs-table tr:last-child td { border-bottom: none; }
.docs-table td:first-child { color: var(--text); font-weight: 500; }

.docs-nav-footer {
  display: flex; justify-content: space-between;
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.docs-nav-btn {
  display: flex; flex-direction: column;
  font-size: 13px; color: var(--text-muted);
  gap: 4px;
}
.docs-nav-btn span { color: var(--accent); font-weight: 600; font-size: 14px; }

.docs-footer {
  margin-left: var(--sidebar-w);
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  border-top: 1px solid #334155;
  background: var(--bg);
}
.docs-footer p { margin: 0; color: var(--text-muted); }
.docs-footer .footer-links { margin-top: 16px; }
.docs-footer .footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 15px;
}
.docs-footer .footer-links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 768px) {
  .docs-sidebar { display: none; }
  .docs-main { margin-left: 0; padding: 24px 20px 60px; }
  .docs-footer { margin-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .topnav-links { gap: 10px; font-size: 12px; }
}
