/* X-Stream Auction Platform — clean, modern baseline (mobile-first) */
:root{
  --bg: #0b1220;
  --panel: #0f1b33;
  --panel-2: #0b1730;
  --text: #e7eefc;
  --muted: #a9b7d0;
  --brand: #3b82f6;
  --brand-2:#22c55e;
  --warn: #f59e0b;
  --danger:#ef4444;
  --border: rgba(231,238,252,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 5%, rgba(59,130,246,.18), transparent 50%),
    radial-gradient(900px 600px at 85% 15%, rgba(34,197,94,.14), transparent 55%),
    radial-gradient(1100px 800px at 50% 100%, rgba(245,158,11,.10), transparent 55%),
    var(--bg);
}

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

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header{
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.72);
  border-bottom: 1px solid var(--border);
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.2px;
}
.brand-badge{
  width:34px; height:34px;
  border-radius:10px;
  background: linear-gradient(135deg, rgba(59,130,246,.95), rgba(34,197,94,.85));
  box-shadow: 0 10px 25px rgba(59,130,246,.25);
}
.brand small{ color:var(--muted); font-weight:600; display:block; margin-top:2px; }

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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:700;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  transition: transform .05s ease, background .15s ease, border-color .15s ease;
  user-select:none;
}
.btn:hover{ background: rgba(255,255,255,.07); text-decoration:none; }
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: linear-gradient(135deg, rgba(59,130,246,.95), rgba(59,130,246,.70));
  border-color: rgba(59,130,246,.45);
}
.btn-success{
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(34,197,94,.65));
  border-color: rgba(34,197,94,.45);
}
.btn-ghost{
  background: transparent;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight:700;
  font-size:13px;
}

.main{
  padding: 22px 0 38px;
}

.card{
  background: linear-gradient(180deg, rgba(15,27,51,.92), rgba(11,23,48,.90));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad{ padding:18px; }

.grid{
  display:grid;
  gap:14px;
}
@media (min-width: 900px){
  .grid-2{ grid-template-columns: 1.2fr .8fr; }
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
}

.h1{ font-size: 28px; margin:0 0 6px; letter-spacing:.2px; }
.h2{ font-size: 18px; margin:0 0 10px; color: var(--text); }
.muted{ color: var(--muted); }

.hr{ height:1px; background: var(--border); border:0; margin:14px 0; }

.form-row{ display:grid; gap:10px; }
@media (min-width: 700px){ .form-row-2{ grid-template-columns: 1fr 1fr; } }

label{ display:block; font-weight:800; font-size:13px; margin:0 0 6px; color: var(--text); }
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{ color: rgba(169,183,208,.65); }
input:focus, select:focus, textarea:focus{
  border-color: rgba(59,130,246,.55);
  box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.table th, .table td{
  padding: 10px 10px;
  border-bottom: 1px solid var(--border);
  text-align:left;
  font-size: 14px;
}
.table th{ color: var(--muted); font-weight:800; background: rgba(255,255,255,.03); }
.table tr:last-child td{ border-bottom:0; }

.footer{
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 13px;
}


/* --- utilities: tables + spacing --- */
.table-responsive{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
}

.table-sm th, .table-sm td{ padding:8px 10px; }
.table-striped tbody tr:nth-child(odd){ background: rgba(255,255,255,.02); }
.table-striped tbody tr:hover{ background: rgba(255,255,255,.05); }

.text-end{ text-align:right; }
.mb-3{ margin-bottom: 12px; }
.my-4{ margin-top: 16px; margin-bottom: 16px; }
/* --- end utilities --- */


/* --- mobile menu --- */
.burger{ display:inline-flex; }
.burger-lines{
  width:20px; height:14px; display:inline-block; position:relative;
}
.burger-lines::before,
.burger-lines::after{
  content:"";
  position:absolute; left:0; right:0;
  height:2px; border-radius:2px;
  background: rgba(231,238,252,.90);
}
.burger-lines::before{ top:0; box-shadow: 0 6px 0 rgba(231,238,252,.90); }
.burger-lines::after{ bottom:0; }

.mobile-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  z-index: 2000;
}

.mobile-menu{
  position:fixed;
  top:0; right:0;
  height:100vh;
  width: min(88vw, 360px);
  background: linear-gradient(180deg, rgba(15,27,51,.98), rgba(11,23,48,.98));
  border-left:1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(110%);
  transition: transform .18s ease;
  z-index: 2100;
  display:flex;
  flex-direction:column;
}
.mobile-menu.open{ transform: translateX(0); }

.mobile-menu-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  border-bottom:1px solid var(--border);
}
.mobile-menu-title{ font-weight:900; letter-spacing:.2px; }

.mobile-menu-body{
  padding: 10px 14px 18px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.mobile-link{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-weight:800;
}
.mobile-link:hover{ text-decoration:none; background: rgba(255,255,255,.06); }

.mobile-section{
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 900;
}

.no-scroll{ overflow:hidden; }

/* Mobile behavior: hide action pills/buttons, show burger */
@media (max-width: 820px){
  .nav-actions > .pill,
  .nav-actions > a.btn{ display:none; }
}
/* --- end mobile menu --- */

/* --- FAWD logo in navbar (match FAWD Pools) --- */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.6px;
  text-transform:uppercase;
}
.logo{
  height:64px;
  width:auto;
  border-radius:10px;
  object-fit:contain;
  display:block;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
@media (max-width: 640px){
  .logo{ height:52px; }
}
