/* Dashboard-specific styles (self-contained, does not depend on top-level styles.css) */

/* Theme */
:root {
  --bg: #0b0d10;
  --panel: #0f1216;
  --panel-2: #12161c;
  --text: #e5e7eb;
  --text-dim: #a7b0bf;
  --brand: #15d1a0;
  --brand-2: #23a6f2;
  --accent: #7c3aed;
  --border: #1f2630;
  --muted: #0c1118;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0,0,0,0.3);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 20px;
}

/* Background effects */
.bg-effects { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.bg-effects .radial {
  position: absolute; inset: -20% -20% auto -20%; height: 60vh; background: radial-gradient(60% 80% at 50% 40%, rgba(35, 166, 242, 0.35), rgba(21, 209, 160, 0.12) 40%, transparent 70%);
  filter: blur(40px);
}
.bg-effects .glow { position: absolute; width: 420px; height: 420px; filter: blur(80px); opacity: 0.35; }
.bg-effects .glow-a { top: -60px; right: 5%; background: radial-gradient(circle at 50% 50%, rgba(21, 209, 160, 0.5), transparent 60%); }
.bg-effects .glow-b { bottom: -80px; left: 5%; background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.4), transparent 60%); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(11, 13, 16, 0.6); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--border); }
.site-header .container { padding: 0 20px; } /* Header keeps horizontal padding only */
.site-header .nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-wrap { display: inline-flex; align-items: center; gap: 0; }
.logo .logo-mark { color: var(--brand); }
.logo .logo-type { color: var(--text); font-weight: 800; }
.beta-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(21, 209, 160, 0.15);
  border: 1px solid rgba(21, 209, 160, 0.4);
  border-radius: 6px;
  vertical-align: middle;
}

.primary-nav { display: none; }
.primary-nav .nav-list { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { color: var(--text-dim); font-weight: 500; }
.primary-nav a:hover { color: var(--brand); }

.nav-cta { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }

/* Nav icon buttons (feedback, upload, etc.) */
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-icon-btn:hover { border-color: var(--brand); color: var(--text); }

/* Profile menu */
.profile-menu { position: relative; }
.profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.profile-btn:hover { border-color: var(--brand); color: var(--text); }
.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 100;
}
.profile-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.profile-dropdown-item:hover { background: rgba(255, 255, 255, 0.08); }
.profile-dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* Hamburger / profile icon toggle (mobile-first) */
.hamburger-icon { display: block; }
.profile-icon { display: none; }

@media (max-width: 899px) {
  .container { padding: 0; }
  .nav-icon-btn { display: none; }
}

@media (min-width: 900px) {
  .primary-nav { display: block; }
  .mobile-only { display: none; }
  .hamburger-icon { display: none; }
  .profile-icon { display: block; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.08)); box-shadow: 0 0 0 0 rgba(21, 209, 160, 0); transition: transform 0.04s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); border-color: #2a3442; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); border-color: var(--brand); box-shadow: 0 10px 30px rgba(21, 209, 160, 0.25); color: var(--text); font-weight: 700; }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(21, 209, 160, 0.35); }
.btn-ghost { background: transparent; }
.btn-lg { height: 46px; padding: 0 18px; border-radius: 12px; font-size: 16px; }
.w-full { width: 100%; }

/* Main content fills screen below header */
main {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
}

/* Sections - no padding, fill available space */
.section { padding: 0; flex: 1; }
.section .section-sub { color: var(--text-dim); margin-top: 8px; }


/* Google button */
.google-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); color: var(--text); font-weight: 600; font-size: 16px; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.google-btn:hover { border-color: var(--brand); background: var(--panel); box-shadow: 0 0 0 3px rgba(21, 209, 160, 0.25); }
.google-btn:active { background: var(--panel); }
.google-btn:focus, .google-btn:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21, 209, 160, 0.25); }
.google-btn .google-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }

/* Divider with "or" */
.or-separator { display: flex; align-items: center; gap: 12px; color: var(--text-dim); width: 100%; margin: 12px 0; }
.or-separator::before, .or-separator::after { content: ""; flex: 1; border-top: 1px solid var(--border); }

/* Link utility */
.link { color: var(--brand); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Utilities */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
