/* ===== SwapData.ai — Light Theme with shared header + dropdown ===== */
:root{
  --bg:#f7f9fc; --bg-2:#ffffff; --panel:#ffffff;
  --text:#0b1220; --muted:#667085;
  --brand:#1e66f5; --brand-2:#5b8efc;
  --border:#e5e7eb;
  --radius:14px; --maxw:1200px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
a{color:var(--brand); text-decoration:none}
a:hover{color:var(--brand-2)}

/* Header (shared on all pages) */
header{position:sticky; top:0; z-index:10; background:#fff; border-bottom:1px solid var(--border)}
nav{max-width:var(--maxw); margin:0 auto; padding:12px 18px; display:flex; align-items:center; justify-content:space-between}
.brand{display:flex; align-items:center; gap:10px; color:#0b1220; text-decoration:none}
.brand img{height:36px; width:36px; border-radius:8px; display:block}
.brand span{font-weight:800; letter-spacing:.3px}
.links{display:flex; align-items:center; gap:18px}
.links a{color:#111827; font-weight:600}
.links a:hover{color:#000}

/* Login dropdown */
.login{position:relative}
.btn-link{background:transparent; border:none; color:#111827; font-weight:700; cursor:pointer; padding:8px 10px; border-radius:10px}
.btn-link:hover{background:#eef2ff}
.dropdown{position:absolute; right:0; top:calc(100% + 8px); width:320px; background:#fff; border:1px solid var(--border); border-radius:12px; box-shadow:0 18px 45px rgba(0,0,0,.08)}
.dropdown-inner{padding:14px}
.dropdown h4{margin:4px 0 8px 0}
.dropdown .small{color:var(--muted); font-size:13px; margin-bottom:8px}
.dropdown label{display:block; font-weight:600; margin:8px 0 6px}
.dropdown input{width:100%; padding:10px 12px; border:1px solid var(--border); border-radius:10px}
.dropdown .btn{width:100%; margin-top:10px}

/* Sections */
.hero{border-bottom:1px solid var(--border); background:#fbfdff}
.hero .container{max-width:var(--maxw); margin:0 auto; padding:48px 18px 32px}
.hero h1{font-size:40px; line-height:1.1; margin:0 0 10px}
.hero p.lead{color:#334155; margin:0 0 16px; font-size:18px}
.hero .cta{display:flex; gap:12px; flex-wrap:wrap}
.container{max-width:var(--maxw); margin:0 auto; padding:24px 18px}
.grid{display:grid; gap:16px}
.grid.cols-3{grid-template-columns: repeat(auto-fit, minmax(260px,1fr));}

/* Cards & buttons */
.card{background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:18px; box-shadow:0 8px 20px rgba(0,0,0,.04)}
.card h3{margin-top:6px}
.badge{display:inline-block; padding:4px 8px; border-radius:10px; font-size:12px; color:#334155; border:1px solid var(--border); background:#fff}
.small{color:var(--muted); font-size:14px}
.btn{display:inline-block; padding:10px 14px; border-radius:10px; font-weight:700}
.btn.primary{background:var(--brand); color:#fff}
.btn.primary:hover{filter:brightness(1.05)}
.btn.secondary{background:#eef2ff; color:#1e293b; border:1px solid #dbe3ff}
footer{border-top:1px solid var(--border); background:#fff}
footer .container{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color:#475569}

/* Forms (even inputs) */
form .row{display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:12px}
label{font-weight:600; margin:10px 0 6px; display:block}
input, select, textarea{padding:10px 12px; border:1px solid var(--border); border-radius:10px; width:100%; background:#fff; color:#0b1220}
input:focus, textarea:focus{outline:2px solid #dbe3ff; border-color:#c7d2fe}

/* Session-info from base.html */
.session-info{font-size:14px; line-height:1.4; font-family:Arial, sans-serif; margin-bottom:12px}
.session-info *, .session-info span, .session-info small{font-size:inherit !important; line-height:inherit; font-weight:normal; margin:0; padding:0}
.user-label{font-size:inherit !important}

/* === SwapData.ai custom enlargements === */

/* Enlarge SwapData logo in the header */
.brand-logo {
  height: 80px !important;   /* was 36px */
  width: auto !important;
  margin-right: 8px;
  vertical-align: middle;
}

/* Make the brand text beside the logo bigger */
.brand span {
  font-size: 1.6rem;
  font-weight: 700;
}

/* Larger headings across static pages */
h1 {
  font-size: 2.5rem;   /* ~40px */
  font-weight: 800;
}
h2 {
  font-size: 2rem;     /* ~32px */
  font-weight: 700;
}
h3 {
  font-size: 1.5rem;   /* ~24px */
  font-weight: 600;
}
/* === Nav + Login sizing (static site) === */

/* Make the brand label bigger (next to logo) */
.brand span {
  font-size: 1.6rem;
  font-weight: 700;
}

/* Make top-right nav links bigger */
header nav .links a,
header nav .btn-link {
  font-size: 1.125rem !important;   /* ~18px */
  line-height: 1.2;
}

/* Give the header some height so links align with the larger logo */
header nav {
  min-height: 88px;                  /* matches ~80px logo nicely */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Space out the links a bit */
header nav .links {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Already enlarged earlier, keeping here for one-stop styling */
.brand-logo {
  height: 80px !important;
  width: auto !important;
  margin-right: 10px;
  vertical-align: middle;
}

/* Optional: Make the dropdown content a touch larger too */
#loginDropdown .dropdown-inner h4 { font-size: 1.125rem; }
#loginDropdown label,
#loginDropdown input,
#loginDropdown button { font-size: 1rem; }

/* === Nav + Login sizing (static site) === */

/* Make the brand label bigger (next to logo) */
.brand span {
  font-size: 1.6rem;
  font-weight: 700;
}

/* Make top-right nav links bigger */
header nav .links a,
header nav .btn-link {
  font-size: 1.125rem !important;   /* ~18px */
  line-height: 1.2;
}

/* Give the header some height so links align with the larger logo */
header nav {
  min-height: 88px;                  /* matches ~80px logo nicely */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Space out the links a bit */
header nav .links {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Already enlarged earlier, keeping here for one-stop styling */
.brand-logo {
  height: 80px !important;
  width: auto !important;
  margin-right: 10px;
  vertical-align: middle;
}

/* Optional: Make the dropdown content a touch larger too */
#loginDropdown .dropdown-inner h4 { font-size: 1.125rem; }
#loginDropdown label,
#loginDropdown input,
#loginDropdown button { font-size: 1rem; }
