/* ================================
   Band of Traders — Site Styles
   Location: core/static/core/style.css
   ================================= */

/* ---- Design tokens ---- */
:root{
  --bg: #ffffff;
  --text: #0f172a;               /* slate-900-ish */
  --muted: #475569;              /* slate-600 */
  --primary: #3b82f6;            /* blue-500 */
  --primary-hover: #2563eb;      /* blue-600 */
  --ring: rgba(59,130,246,.35);
  --border: #e5e7eb;             /* gray-200 */
  --shadow: 0 10px 20px rgba(2, 6, 23, .06);
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  /*used this font family instead 
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---- Header / Navbar ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

/* Brand: “Band of Traders” */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  text-decoration: none;
}

.brand__main {
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 20px;
}

.brand__of {
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .2px;
}

.brand__accent {
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--text);
}

/* Right side: simple links + actions */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }

/* ---- Buttons (Login / Join) ---- */
.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;              /* pill */
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .02s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  box-shadow: var(--shadow);
  outline: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn:active { transform: translateY(1px); }

/* Primary = blue pill (matches screenshot vibe) */
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:focus-visible {
  box-shadow: 0 0 0 4px var(--ring);
}

/* Outline = subtle ghost button (optional variant) */
.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(59,130,246,.25);
}
.btn-outline:hover {
  background: rgba(59,130,246,.06);
  border-color: rgba(59,130,246,.45);
}
.btn-outline:focus-visible {
  box-shadow: 0 0 0 4px var(--ring);
}

/* ---- Main area (intentionally empty per request) ---- */
main {
  min-height: 48vh;
  padding-block: 24px;
}

/* ---- Footer (simple, optional) ---- */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding-block: 20px;
  font-size: 14px;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 900px){
  .nav-right { gap: 14px; }
  .nav-links { display: none; }   /* hide text links on small screens; keep buttons */
}
@media (max-width: 480px){
  .btn { padding: 10px 18px; }
}

/* ---- Things I added to make the signup form looks better ---- */

/* ---- Auth form: make inputs look like the rest of the site ---- */
.auth-card { 
  max-width: 560px; 
  margin: 40px auto; 
  padding: 28px; 
  /*border: 1px solid var(--border);*/
  border-radius: 16px; 
  /*box-shadow: var(--shadow);*/
  /*box-shadow: 0 8px 20px rgba(0,0,0,.05);*/
  background: #fff; 
}
.auth-title { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.auth-subtitle { margin: 0 0 18px; font-size: 18px; font-weight: 700; color: var(--muted); }

.auth-form .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.auth-form label { font-weight: 600; color: var(--muted); }

/* High-specificity, wide support: style all auth inputs */
.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit; color: var(--text);
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
  background: #fff;
}
.auth-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}

.checkbox-row .checkbox { display: inline-flex; align-items: center; gap: 8px; }

.link-small { background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--primary); text-decoration: none; }
.link-small:hover { color: var(--primary-hover); }

.auth-links { margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.auth-links .divider { color: var(--muted); }

/* Optional: make the primary button feel like the screenshot */
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.w-full { width: 100%; }

/* If you also add the class at widget-level, keep it consistent */
.form-control { /* piggybacks the same visual as .auth-form inputs */
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--text);
  outline: none; background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }

html, body {
  /* replace the current font stack if you want strict matching */
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


