:root {
  --lime: #CCFF00;
  --lime-dark: #AADD00;
  --lime-dim: rgba(170,221,0,0.12);
  --lime-dim2: rgba(170,221,0,0.06);
  --navy: #101D42;
  --navy-light: #1e2d5a;
  --white: #FFFFFF;
  --bg: #F4F6F9;
  --bg2: #ECEEF2;
  --border: #E2E6ED;
  --border2: #D0D5E0;
  --text: #1A1F36;
  --text2: #4A5568;
  --text3: #8896B0;
  --red: #E53E3E;
  --red-dim: rgba(229,62,62,0.08);
  --yellow: #D69E2E;
  --yellow-dim: rgba(214,158,46,0.1);
  --green: #2F855A;
  --green-dim: rgba(47,133,90,0.1);
  --blue: #2B6CB0;
  --blue-dim: rgba(43,108,176,0.1);
  --sidebar-w: 230px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 10px;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
}

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--navy);
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
}

.sidebar-logo {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-shield {
  width: 34px; height: 34px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 93% 15%, 100% 50%, 93% 85%, 50% 100%, 7% 85%, 0% 50%, 7% 15%);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--navy);
  flex-shrink: 0;
}

.logo-text {
  font-size: 16px; font-weight: 900; letter-spacing: 0.5px; color: var(--white);
}

.logo-text span { color: var(--lime); }

.sidebar-complejo {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.complejo-label { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }

.complejo-select {
  width: 100%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; padding: 7px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600; color: var(--white);
  cursor: pointer; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23CCFF00' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  background-color: rgba(255,255,255,0.08);
}

.sidebar-section {
  padding: 14px 16px 5px;
  font-size: 9px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; margin: 1px 8px;
  border-radius: 7px; cursor: pointer;
  transition: all 0.15s; font-size: 13px;
  font-weight: 600; color: rgba(255,255,255,0.6);
  position: relative;
}

.nav-item:hover { background: rgba(255,255,255,0.07); color: var(--white); }

.nav-item.active {
  background: var(--lime-dim);
  color: var(--lime);
  font-weight: 700;
}

.nav-item.active::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--lime);
  border-radius: 0 2px 2px 0;
}

.nav-icon { font-size: 14px; width: 18px; text-align: center; }

.nav-badge {
  margin-left: auto;
  font-size: 10px; font-weight: 800;
  padding: 2px 7px; border-radius: 10px;
  background: var(--red); color: white;
}

.nav-badge.green { background: var(--lime-dark); color: var(--navy); }

.sidebar-bottom {
  margin-top: auto; padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  cursor: pointer; transition: background 0.2s;
}

.user-card:hover { background: rgba(255,255,255,0.07); }

.user-avatar {
  width: 32px; height: 32px;
  background: var(--lime-dim);
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--lime);
  flex-shrink: 0;
}

.user-name { font-size: 12px; font-weight: 700; color: var(--white); }
.user-role { font-size: 10px; color: var(--lime); }

/* ── MAIN ── */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow);
}

.topbar-left { display: flex; align-items: center; gap: 8px; }
.page-title { font-size: 17px; font-weight: 800; color: var(--text); }
.page-sub { font-size: 12px; color: var(--text3); margin-left: 4px; }

.topbar-right { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 34px; height: 34px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px;
  transition: all 0.15s; position: relative;
}

.icon-btn:hover { background: var(--bg2); border-color: var(--border2); }

.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  border: 1.5px solid var(--white);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  padding: 8px 16px; border-radius: 8px;
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s; white-space: nowrap;
}

.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--white);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; gap: 6px;
}

.btn-secondary:hover { background: var(--bg); border-color: var(--border2); }

.btn-lime {
  background: var(--lime);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 800;
  padding: 8px 16px; border-radius: 8px;
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}

.btn-lime:hover { background: var(--lime-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(170,221,0,0.3); }

/* ── CONTENT ── */
.content { padding: 24px 28px; flex: 1; }

.view { display: none; animation: fadeIn 0.25s ease; }
.view.active { display: block; }

@keyframes fadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

.card-title {
  font-size: 14px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 7px;
}

.card-body { padding: 16px 18px; }

.card-action {
  font-size: 12px; color: var(--navy); font-weight: 700;
  cursor: pointer; transition: opacity 0.2s;
}

.card-action:hover { opacity: 0.6; }

/* ── KPI GRID ── */
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 20px; }

.kpi {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.kpi:hover { box-shadow: var(--shadow-md); }

.kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }

.kpi-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.kpi-icon.lime { background: var(--lime-dim); }
.kpi-icon.red { background: var(--red-dim); }
.kpi-icon.blue { background: var(--blue-dim); }
.kpi-icon.green { background: var(--green-dim); }
.kpi-icon.yellow { background: var(--yellow-dim); }

.kpi-trend {
  font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 20px;
}

.kpi-trend.up { background: var(--green-dim); color: var(--green); }
.kpi-trend.down { background: var(--red-dim); color: var(--red); }
.kpi-trend.neutral { background: var(--bg2); color: var(--text3); }

.kpi-val {
  font-family: 'Roboto Mono', monospace;
  font-size: 26px; font-weight: 600; color: var(--text);
  line-height: 1; margin-bottom: 3px;
}

.kpi-label { font-size: 11px; color: var(--text3); font-weight: 600; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 16px; }

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
  padding: 9px 14px; text-align: left;
  font-size: 10px; font-weight: 800; color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 2px solid var(--border);
  background: var(--bg);
}

.data-table td {
  padding: 11px 14px; font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }

/* ── STATUS BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.badge.paid { background: var(--green-dim); color: var(--green); }
.badge.pending { background: var(--yellow-dim); color: var(--yellow); }
.badge.overdue { background: var(--red-dim); color: var(--red); }
.badge.active { background: var(--lime-dim); color: #5a7a00; }
.badge.inactive { background: var(--bg2); color: var(--text3); }
.badge.navy { background: rgba(16,29,66,0.08); color: var(--navy); }

/* ── FORM ── */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }

.form-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text2); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 6px;
}

.form-label span { color: var(--red); }
.form-label small { font-size: 10px; color: var(--text3); text-transform: none; letter-spacing: 0; font-weight: 400; }

.form-input {
  width: 100%; background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 12px;
  font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--text);
  outline: none; transition: border-color 0.2s;
}

.form-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,29,66,0.08); }
.form-input::placeholder { color: var(--text3); }

.form-select {
  width: 100%; background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 12px;
  font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--text);
  outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%234A5568' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color 0.2s;
}

.form-select:focus { border-color: var(--navy); }

.form-textarea {
  width: 100%; background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 12px;
  font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--text);
  outline: none; resize: vertical; min-height: 80px;
  transition: border-color 0.2s; line-height: 1.6;
}

.form-textarea:focus { border-color: var(--navy); }

.toggle-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px; margin-bottom: 8px;
  cursor: pointer; transition: all 0.2s;
}

.toggle-item:hover { border-color: var(--border2); }
.toggle-item.on { background: var(--lime-dim2); border-color: rgba(170,221,0,0.3); }

.toggle-left { display: flex; align-items: center; gap: 10px; }
.toggle-emoji { font-size: 16px; }
.toggle-title { font-size: 13px; font-weight: 600; color: var(--text); }
.toggle-desc { font-size: 11px; color: var(--text3); margin-top: 1px; }

.switch {
  width: 40px; height: 22px;
  background: var(--border2); border-radius: 11px;
  position: relative; transition: background 0.3s; flex-shrink: 0;
}

.switch.on { background: var(--navy); }
.switch::after {
  content: ''; position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: white; border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.switch.on::after { transform: translateX(18px); }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(16,29,66,0.4);
  backdrop-filter: blur(4px);
  z-index: 200; align-items: center; justify-content: center;
}

.modal-overlay.show { display: flex; animation: fadeIn 0.2s ease; }

.modal {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%; max-width: 540px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

.modal.wide { max-width: 720px; }

@keyframes slideUp { from { transform:translateY(16px); opacity:0; } to { transform:translateY(0); opacity:1; } }

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--white); z-index: 2;
}

.modal-title { font-size: 16px; font-weight: 800; color: var(--text); }
.modal-sub { font-size: 12px; color: var(--text3); margin-top: 1px; }

.modal-close {
  width: 28px; height: 28px; background: var(--bg);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 12px; color: var(--text3);
  border: 1px solid var(--border); transition: all 0.2s;
}

.modal-close:hover { background: var(--red-dim); color: var(--red); border-color: var(--red); }

.modal-body { padding: 20px; }

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px; justify-content: flex-end;
  position: sticky; bottom: 0; background: var(--white);
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center; padding: 48px 24px;
}

.empty-icon { font-size: 44px; margin-bottom: 12px; opacity: 0.35; }
.empty-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.empty-sub { font-size: 13px; color: var(--text3); margin-bottom: 20px; line-height: 1.6; max-width: 320px; margin-left: auto; margin-right: auto; }

/* ── WIZARD ── */
.wizard-steps {
  display: flex; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  background: var(--bg); gap: 4px;
}

.wstep {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--text3);
  flex: 1; justify-content: center;
  position: relative;
}

.wstep-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--border2); color: var(--text3);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; flex-shrink: 0;
  transition: all 0.3s;
}

.wstep.active .wstep-num { background: var(--navy); color: var(--white); }
.wstep.active { color: var(--navy); }
.wstep.done .wstep-num { background: var(--lime-dark); color: var(--navy); }
.wstep.done { color: var(--text2); }

.wstep-line { flex: 1; height: 1px; background: var(--border); max-width: 24px; }
.wstep-line.done { background: var(--lime-dark); }

.wizard-content { padding: 20px; }
.wizard-step-content { display: none; }
.wizard-step-content.active { display: block; animation: fadeIn 0.25s ease; }

/* ── TIPO CARD ── */
.tipo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }

.tipo-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: 10px; padding: 14px; cursor: pointer;
  transition: all 0.2s; position: relative;
}

.tipo-card:hover { border-color: var(--border2); box-shadow: var(--shadow-md); }
.tipo-card.selected { border-color: var(--navy); background: rgba(16,29,66,0.03); }

.tipo-card.selected::after {
  content: '✓'; position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px; background: var(--navy);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: var(--white);
}

.tipo-icon { font-size: 22px; margin-bottom: 6px; }
.tipo-name { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.tipo-desc { font-size: 11px; color: var(--text3); line-height: 1.4; }

/* ── LIGA ROW ── */
.liga-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: all 0.15s; cursor: pointer;
}

.liga-row:last-child { border-bottom: none; }
.liga-row:hover { padding-left: 4px; }

.liga-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

.liga-info { flex: 1; }
.liga-name { font-size: 13px; font-weight: 700; color: var(--text); }
.liga-meta { font-size: 11px; color: var(--text3); margin-top: 2px; }

.liga-stats { display: flex; gap: 20px; text-align: right; }
.liga-stat-val { font-family: 'Roboto Mono', monospace; font-size: 16px; font-weight: 600; color: var(--text); }
.liga-stat-lbl { font-size: 10px; color: var(--text3); }

/* ── ADMIN ROW ── */
.admin-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}

.admin-row:last-child { border-bottom: none; }

.admin-ava {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(16,29,66,0.08); border: 1.5px solid rgba(16,29,66,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--navy); flex-shrink: 0;
}

.admin-info { flex: 1; }
.admin-name { font-size: 13px; font-weight: 700; }
.admin-handle { font-size: 11px; color: var(--text3); }
.admin-ligas { font-size: 11px; color: var(--navy); font-weight: 600; }

.permission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

.perm-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 7px; padding: 8px 10px; cursor: pointer; transition: all 0.15s;
}

.perm-item:hover { border-color: var(--border2); }
.perm-item.on { background: var(--lime-dim2); border-color: rgba(170,221,0,0.4); }

.perm-check {
  width: 16px; height: 16px; border-radius: 4px;
  border: 2px solid var(--border2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; transition: all 0.2s;
}

.perm-item.on .perm-check { background: var(--navy); border-color: var(--navy); color: white; }
.perm-text { font-size: 11px; font-weight: 600; color: var(--text2); }

/* ── CANCHA CARD ── */
.cancha-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }

.cancha-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: box-shadow 0.2s;
}

.cancha-card:hover { box-shadow: var(--shadow-md); }

.cancha-thumb {
  height: 90px; background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; position: relative;
}

.cancha-badge {
  position: absolute; top: 8px; right: 8px;
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 20px; background: var(--lime); color: var(--navy);
}

.cancha-body { padding: 12px; }
.cancha-name { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.cancha-specs { font-size: 11px; color: var(--text3); margin-bottom: 8px; }

.cancha-prices { display: flex; gap: 6px; flex-wrap: wrap; }
.price-chip {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 20px; background: var(--bg); border: 1px solid var(--border);
  color: var(--text2);
}

/* ── HORARIO SLOTS ── */
.horario-timeline {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px;
}

.h-slot {
  min-width: 80px; border-radius: 8px; padding: 8px 10px;
  text-align: center; flex-shrink: 0; border: 1.5px solid var(--border);
  background: var(--white); transition: all 0.2s; cursor: pointer;
}

.h-slot:hover { border-color: var(--border2); }
.h-slot.ocupado { background: rgba(16,29,66,0.04); border-color: rgba(16,29,66,0.2); }
.h-slot.libre { opacity: 0.5; }
.h-slot.bloqueado { background: var(--red-dim); border-color: rgba(229,62,62,0.2); }

.h-hora { font-family: 'Roboto Mono', monospace; font-size: 11px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.h-equipo { font-size: 10px; font-weight: 700; color: var(--text); }
.h-tipo { font-size: 10px; color: var(--text3); }

/* ── COBROS ── */
.cobro-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}

.cobro-row:last-child { border-bottom: none; }

.cobro-ava {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

.cobro-info { flex: 1; }
.cobro-name { font-size: 13px; font-weight: 700; }
.cobro-detail { font-size: 11px; color: var(--text3); }

.cobro-amount {
  font-family: 'Roboto Mono', monospace;
  font-size: 15px; font-weight: 600;
  text-align: right;
}

/* ── REPORTE TABS ── */
.report-tabs {
  display: flex; gap: 4px; background: var(--bg);
  border-radius: 8px; padding: 3px; margin-bottom: 16px;
  border: 1px solid var(--border); width: fit-content;
}

.report-tab {
  padding: 6px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  color: var(--text3); transition: all 0.15s;
  border: none; background: transparent;
  font-family: 'Montserrat', sans-serif;
}

.report-tab.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }

/* ── MINI CHART ── */
.mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.mini-bar { flex: 1; background: var(--lime-dim); border-radius: 2px 2px 0 0; transition: all 0.3s; cursor: pointer; }
.mini-bar:hover { background: var(--lime-dark); }
.mini-bar.active { background: var(--navy); }

/* ── PROGRESS ── */
.prog-wrap { margin: 6px 0; }
.prog-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--text3); margin-bottom: 4px; font-weight: 600; }
.prog-bar { height: 5px; background: var(--bg2); border-radius: 3px; overflow: hidden; }
.prog-fill { height: 100%; border-radius: 3px; background: var(--navy); transition: width 0.5s ease; }
.prog-fill.lime { background: var(--lime-dark); }
.prog-fill.red { background: var(--red); }

/* ── INFO BOX ── */
.info-box {
  border-left: 4px solid var(--navy);
  background: rgba(16,29,66,0.04);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px; margin-bottom: 14px;
  font-size: 12px; color: var(--text2); line-height: 1.6;
}

.info-box.lime { border-color: var(--lime-dark); background: var(--lime-dim2); }
.info-box.red { border-color: var(--red); background: var(--red-dim); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: var(--navy); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  padding: 12px 18px; border-radius: 10px;
  box-shadow: var(--shadow-lg);
  display: none; align-items: center; gap: 8px;
  animation: slideUp 0.3s ease; max-width: 340px;
  border-left: 4px solid var(--lime);
}

.toast.show { display: flex; }

/* ── STEP INDICATOR en wizard ── */
.step-desc { font-size: 13px; color: var(--text3); margin-bottom: 18px; line-height: 1.5; }
.step-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin-bottom: 4px; }
.step-title { font-size: 18px; font-weight: 900; color: var(--text); margin-bottom: 6px; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .main { margin-left: 0; }
  .sidebar { display: none; } /* Hide sidebar on mobile, add hamburger if needed */
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .cancha-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { padding: 0 16px; }
  .content { padding: 16px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cancha-grid { grid-template-columns: 1fr; }
  .tipo-grid { grid-template-columns: 1fr; }
}