/* =====================================================
   CANCHAGO APP — CSS
   ===================================================== */

:root {
  --primary:      #00E676;
  --primary-dim:  rgba(0, 230, 118, 0.1);
  --primary-glow: rgba(0, 230, 118, 0.35);
  --danger:       #EF4444;
  --warning:      #F59E0B;
  --info:         #3B82F6;
  --success:      #10B981;
  --bg:           #050C18;
  --bg-card:      #0C1624;
  --bg-input:     #0F1E30;
  --sidebar-bg:   #07101E;
  --topbar-bg:    rgba(5, 12, 24, 0.9);
  --border:       rgba(255,255,255,0.06);
  --border-hover: rgba(0,230,118,0.25);
  --text:         #EFF6FF;
  --text-muted:   #7B92BB;
  --text-dim:     #3D5A80;
  --sidebar-w:    240px;
  --topbar-h:     56px;
  --radius:       10px;
  --radius-lg:    16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── TYPOGRAPHY ─── */
h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.4rem;  font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-muted); }
.page-sub { color: var(--text-muted); font-size: 0.875rem; margin-top: 4px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 7px; font-size: 13px;
  font-weight: 600; font-family: inherit; cursor: pointer;
  border: none; transition: all 0.18s ease; white-space: nowrap;
}
.btn-primary   { background: var(--primary); color: #030d07; box-shadow: 0 0 16px var(--primary-glow); }
.btn-primary:hover   { background: #12FF88; transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,0.07); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.11); }
.btn-ghost     { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.btn-danger    { background: rgba(239,68,68,0.12); color: #F87171; border: 1px solid rgba(239,68,68,0.25); }
.btn-danger:hover { background: rgba(239,68,68,0.22); }
.btn-success   { background: rgba(16,185,129,0.12); color: #34D399; border: 1px solid rgba(16,185,129,0.25); }
.btn-success:hover { background: rgba(16,185,129,0.22); }
.btn-info      { background: rgba(59,130,246,0.12); color: #60A5FA; border: 1px solid rgba(59,130,246,0.25); }
.btn-info:hover { background: rgba(59,130,246,0.22); }
.btn-block  { width: 100%; justify-content: center; padding: 12px; }
.btn-sm     { padding: 6px 12px; font-size: 12px; }
.btn-xs     { padding: 4px 8px;  font-size: 11px; border-radius: 5px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ─── SIDEBAR ─── */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w); background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; z-index: 50;
  transition: transform 0.3s ease;
}
.sidebar-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--border);
}
.sidebar-logo img { height: 28px; }
.sidebar-close { display: none; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; padding: 4px; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius);
  color: var(--text-muted); font-size: 13.5px; font-weight: 500;
  transition: all 0.18s ease; cursor: pointer;
}
.nav-item svg { width: 17px; height: 17px; flex-shrink: 0; }
.nav-item:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.nav-item.active { background: var(--primary-dim); color: var(--primary); border: 1px solid var(--border-hover); }
.nav-item.active svg { stroke: var(--primary); }
.nav-separator { height: 1px; background: var(--border); margin: 8px 0; }
.sidebar-footer { padding: 12px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius); }
.sidebar-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary-dim);
  color: var(--primary); font-size: 12px; font-weight: 700; border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sidebar-username { font-size: 13px; color: var(--text-muted); font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ─── TOPBAR ─── */
.topbar {
  position: fixed; top: 0; right: 0; left: var(--sidebar-w);
  height: var(--topbar-h); background: var(--topbar-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  padding: 0 20px; z-index: 40;
  display: none; /* shown via JS when logged in */
}
.sidebar-toggle { display: none; background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 6px; }
.sidebar-toggle svg { width: 20px; height: 20px; }
.topbar-logo { display: none; }
.topbar-spacer { flex: 1; }
.topbar-user { display: flex; align-items: center; }
.topbar-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary-dim);
  color: var(--primary); font-size: 12px; font-weight: 700; border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
}

/* ─── MAIN LAYOUT ─── */
.main-wrap {
  margin-left: var(--sidebar-w);
  padding-top: var(--topbar-h);
  min-height: 100vh;
}
.main-wrap.no-sidebar { margin-left: 0; padding-top: 0; }
.main-content { padding: 32px; max-width: 1200px; }

/* ─── PAGE HEADER ─── */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.back-link { display: inline-block; color: var(--text-muted); font-size: 13px; margin-bottom: 6px; }
.back-link:hover { color: var(--text); }

/* ─── CARD ─── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.card-title { font-size: 0.95rem; font-weight: 600; }
.link-sm { font-size: 12px; color: var(--text-muted); transition: color 0.2s; }
.link-sm:hover { color: var(--primary); }

/* ─── STATS ROW ─── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--border-hover); }
.sc-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sc-icon svg { width: 20px; height: 20px; }
.sc-blue   { background: rgba(59,130,246,0.12);  } .sc-blue   svg { stroke: #60A5FA; }
.sc-green  { background: rgba(0,230,118,0.1);    } .sc-green  svg { stroke: var(--primary); }
.sc-yellow { background: rgba(245,158,11,0.12);  } .sc-yellow svg { stroke: #FCD34D; }
.sc-purple { background: rgba(168,85,247,0.12);  } .sc-purple svg { stroke: #C084FC; }
.sc-body { display: flex; flex-direction: column; gap: 2px; }
.sc-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; }
.sc-value { font-size: 1.4rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.skeleton { animation: skel 1.2s ease-in-out infinite; height: 80px; }
@keyframes skel { 0%,100%{background:var(--bg-card)} 50%{background:rgba(255,255,255,0.04)} }

/* ─── DASHBOARD GRID ─── */
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

/* ─── TABLE ─── */
.table-loading { display: flex; justify-content: center; padding: 40px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { font-size: 11px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; background: rgba(255,255,255,0.015); }
.table td { color: var(--text-muted); vertical-align: middle; }
.table td strong { color: var(--text); }
.table tr:last-child td { border-bottom: none; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: rgba(255,255,255,0.02); }
.actions-cell { display: flex; gap: 6px; flex-wrap: wrap; }

/* ─── BADGES ─── */
.badge { display: inline-block; padding: 3px 9px; border-radius: 100px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-primary  { background: rgba(0,230,118,0.15);   color: var(--primary); }
.badge-success  { background: rgba(16,185,129,0.15);  color: #34D399; }
.badge-warning  { background: rgba(245,158,11,0.15);  color: #FCD34D; }
.badge-danger   { background: rgba(239,68,68,0.15);   color: #F87171; }
.badge-info     { background: rgba(59,130,246,0.15);  color: #60A5FA; }
.badge-secondary{ background: rgba(255,255,255,0.07); color: var(--text-muted); }

/* ─── PAGINATION ─── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; border-top: 1px solid var(--border); }
.pg-info { font-size: 13px; color: var(--text-muted); }

/* ─── COMPLEXES / COURTS GRID ─── */
.cx-grid, .courts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cx-card, .court-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.cx-card:hover, .court-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.cx-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cx-icon-lg { font-size: 2rem; }
.cx-status, .court-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.cx-status.active  , .court-status.enabled   { background: rgba(0,230,118,0.12); color: var(--primary); }
.cx-status.inactive, .court-status.disabled  { background: rgba(239,68,68,0.1);  color: #F87171; }
.cx-card h3, .court-card h3 { margin-bottom: 8px; }
.cx-address, .cx-phone, .court-night { font-size: 12px; color: var(--text-dim); margin-bottom: 4px; }
.cx-card-actions, .court-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.court-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.court-sport { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.court-prices { display: flex; gap: 16px; margin: 8px 0; }
.price-item { display: flex; flex-direction: column; gap: 2px; }
.price-item span { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.price-item strong { font-size: 14px; color: var(--text); font-weight: 700; }

/* ─── COMPLEX LIST (sidebar cards) ─── */
.cx-list { list-style: none; }
.cx-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.cx-item:last-child { border-bottom: none; }
.cx-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(0,230,118,0.08); border: 1px solid var(--border-hover); border-radius: 8px; flex-shrink: 0; }
.cx-icon svg { width: 16px; height: 16px; stroke: var(--primary); }
.cx-info { flex: 1; display: flex; flex-direction: column; }
.cx-info strong { font-size: 13px; color: var(--text); }
.cx-info span   { font-size: 11px; color: var(--text-dim); }

/* ─── FORMS ─── */
.auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg); }
.auth-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; width: 100%; max-width: 460px; }
.auth-back { font-size: 12px; color: var(--text-dim); display: inline-block; margin-bottom: 24px; transition: color 0.2s; }
.auth-back:hover { color: var(--text); }
.auth-logo { height: 32px; margin-bottom: 28px; }
.auth-title { font-size: 1.5rem; margin-bottom: 6px; }
.auth-sub  { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.auth-footer { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.auth-footer a { color: var(--primary); font-weight: 600; }

.auth-form, .modal-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.field input, .field select, .field textarea {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 12px; color: var(--text);
  font-family: inherit; font-size: 14px; transition: border-color 0.2s;
  outline: none; width: 100%; min-width: 0;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-dim); }
.field select option { background: var(--bg-card); color: var(--text); }
.field textarea { resize: vertical; min-height: 72px; }
.opt { font-weight: 400; color: var(--text-dim); text-transform: none; letter-spacing: 0; }
.checkbox-field { flex-direction: row !important; align-items: center; }
.checkbox-field input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); }
.checkbox-field label { font-size: 13px !important; text-transform: none !important; letter-spacing: 0 !important; }

.input-sm {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 7px; padding: 7px 12px; color: var(--text);
  font-family: inherit; font-size: 13px; outline: none;
}
.input-sm:focus { border-color: var(--primary); }

/* ─── FILTERS BAR ─── */
.filters-bar {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
  align-items: center;
}

/* ─── PROFILE ─── */
.profile-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.profile-sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.avatar-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary-dim); color: var(--primary);
  font-size: 1.4rem; font-weight: 800; border: 2px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.profile-name  { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.profile-email { font-size: 12px; color: var(--text-dim); }
.profile-form-card { padding: 24px; }
.mt-24 { margin-top: 24px; }

/* ─── EMPTY / ERROR STATES ─── */
.empty-state  { padding: 32px 20px; text-align: center; color: var(--text-dim); font-size: 14px; }
.error-msg    { padding: 20px; color: #F87171; font-size: 13px; }
.error-page   { padding: 48px 32px; }
.error-page h2 { margin-bottom: 12px; color: #F87171; }
.empty-big    { padding: 60px 32px; text-align: center; }
.empty-big p  { margin-bottom: 16px; }
.empty-cta    { padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.page-loading { display: flex; justify-content: center; align-items: center; min-height: 200px; }

/* ─── SPINNER ─── */
.spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.06);
  border-top-color: var(--primary);
  animation: spin 0.7s linear infinite;
}
.spinner.sm { width: 20px; height: 20px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TOAST ─── */
.cg-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 500;
  max-width: 340px; backdrop-filter: blur(12px);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s ease; pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  background: var(--bg-card); border: 1px solid var(--border);
}
.cg-toast.show { transform: translateY(0); opacity: 1; }
.cg-toast--success { border-color: rgba(16,185,129,0.4); color: #34D399; }
.cg-toast--error   { border-color: rgba(239,68,68,0.4);  color: #F87171; }
.cg-toast--info    { border-color: var(--border-hover);  color: var(--primary); }

/* ─── LOADING OVERLAY ─── */
#cg-loading {
  display: none; position: fixed; inset: 0; z-index: 8888;
  background: rgba(5,12,24,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
#cg-loading.active { display: flex; }

/* ─── MODAL ─── */
.cg-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(4,8,15,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.cg-modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; width: 100%; max-width: 540px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
.cg-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.cg-modal-header h3 { font-size: 1rem; }
.modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 18px; padding: 2px 6px; border-radius: 6px; }
.modal-close:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.cg-modal-body { padding: 22px; }
.cg-modal-body p { font-size: 14px; }
.cg-modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); }

/* ─── ROLE TOGGLE (Signup) ─── */
.role-toggle-label {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.role-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 4px;
}
.role-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 10px; background: var(--bg-input);
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  cursor: pointer; transition: all 0.2s ease; color: var(--text-muted);
  font-family: inherit;
}
.role-btn:hover {
  border-color: rgba(0,230,118,0.35);
  background: rgba(0,230,118,0.04);
  color: var(--text);
}
.role-btn.active {
  border-color: var(--primary);
  background: var(--primary-dim);
  color: var(--text);
  box-shadow: 0 0 24px var(--primary-glow);
}
.role-btn-icon  { font-size: 1.9rem; }
.role-btn-label { font-size: 14px; font-weight: 700; }
.role-btn-desc  { font-size: 11px; color: var(--text-dim); text-align: center; line-height: 1.3; }
.role-btn.active .role-btn-desc { color: var(--text-muted); }

/* ─── SOCIAL LOGIN ─── */
.social-login { display: flex; flex-direction: column; gap: 9px; }
.btn-social {
  width: 100%; justify-content: center; padding: 11px 16px; font-size: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px;
  transition: all 0.18s ease;
}
.btn-social:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.divider-or {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-dim); font-size: 12px; margin: 4px 0;
}
.divider-or::before, .divider-or::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ─── VERIFY / PENDING STATES ─── */
.verify-pending {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 8px 0 4px;
}
.verify-icon {
  font-size: 3rem; margin-bottom: 14px; display: flex;
  align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}
.verify-icon--success {
  background: rgba(0,230,118,0.1); border-color: var(--border-hover);
  color: var(--primary); font-size: 2rem; font-weight: 800;
}
.verify-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.verify-msg   { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 4px; }
.verify-msg strong { color: var(--text); }

/* ─── PROFILE META ─── */
.profile-meta {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
}
.profile-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.profile-meta-row span { color: var(--text-dim); }
.profile-meta-row strong { color: var(--text); font-size: 11px; }
.profile-badge {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 100px; letter-spacing: 0.04em;
}
.profile-badge--ok   { background: rgba(0,230,118,0.12); color: var(--primary); }
.profile-badge--warn { background: rgba(245,158,11,0.12); color: #FCD34D; }
.profile-badge--off  { background: rgba(239,68,68,0.1);   color: #F87171; }

/* ─── COMPLEX DETAIL SECTIONS ─── */
.cx-desc { font-size: 12px; color: var(--text-muted); margin: 4px 0; }
.detail-section {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border);
}
.detail-section h4 {
  font-size: 10px; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
}
.amenities-list { display: flex; flex-wrap: wrap; gap: 6px; }
.amenity-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  background: rgba(0,230,118,0.08); border: 1px solid var(--border-hover);
  color: var(--primary); cursor: default;
}
.hours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.hour-item {
  font-size: 11px; color: var(--text-muted); padding: 6px 10px;
  background: rgba(255,255,255,0.03); border-radius: 7px;
  border: 1px solid var(--border); line-height: 1.5;
}
.hour-item span { display: block; color: var(--text); font-weight: 700; font-size: 12px; }
.photos-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-thumb  { width: 72px; height: 54px; object-fit: cover; border-radius: 7px; border: 1px solid var(--border); }

/* ─── COURT TAGS ─── */
.court-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.court-tag  { font-size: 10px; color: var(--text-dim); padding: 2px 8px; border-radius: 100px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.court-desc { font-size: 12px; color: var(--text-muted); margin: 4px 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,0.5); }
  .sidebar-close { display: block; }
  .topbar { left: 0; }
  .main-wrap { margin-left: 0; padding-top: var(--topbar-h); }
  .main-wrap.no-sidebar { padding-top: 0; }
  .topbar { left: 0 !important; }
  .sidebar-toggle, .topbar-logo { display: flex !important; }
  .main-content { padding: 20px 16px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .filters-bar { flex-direction: column; align-items: stretch; }
  .field-row { grid-template-columns: 1fr; }
  .cx-grid, .courts-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  h1 { font-size: 1.4rem; }
}
