@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --el-bg: #0a0a0a;
  --el-bg-alt: #141414;
  --el-surface: #161616;
  --el-surface-2: #1c1c1c;
  --el-surface-3: #222222;
  --el-sidebar: #080808;
  --el-border: rgba(255, 255, 255, 0.06);
  --el-border-strong: rgba(255, 255, 255, 0.10);
  --el-text: #f5efe1;
  --el-text-soft: #a8a8a8;
  --el-text-dim: #6e6e6e;
  --el-gold: #c9a84c;
  --el-gold-lite: #dcb95a;
  --el-gold-glow: rgba(201, 168, 76, 0.20);
  --el-green: #4ade80;
  --el-blue: #7eb6c9;
  --el-purple: #9d8df0;
  --el-red: #ef7575;
  --el-orange: #d99a3a;
  --el-radius: 18px;
  --el-radius-sm: 12px;
  --el-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  /* Sidebar dimensions */
  --el-sidebar-w: 60px;
  --el-sidebar-w-open: 244px;
  --el-sidebar-mobile: 280px;
  --el-topbar-mobile: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--el-bg);
  color: var(--el-text);
  font-family: 'Outfit', 'Avenir Next', 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--el-gold);
  text-decoration: none;
}

a:hover {
  color: #efd487;
}

hr {
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

code,
pre {
  color: #f8df99;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.18);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.32);
}

input::placeholder,
textarea::placeholder {
  color: rgba(242, 239, 231, 0.34) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   SHELL + SIDEBAR (collapsible hover-expand, CollegePipe style)
   ══════════════════════════════════════════════════════════════════════════ */

.el-shell {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar base ──────────────────────────────────────────────────────── */
.el-sidebar {
  width: var(--el-sidebar-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--el-sidebar);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-right: 0.5px solid rgba(255,255,255,0.08);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 200;
  transition: width 0.28s cubic-bezier(0.4,0,0.2,1);
}

.el-sidebar:hover {
  width: var(--el-sidebar-w-open);
  box-shadow: 6px 0 48px rgba(0,0,0,0.5);
  overflow-y: auto;
}

/* Content offset: always leave room for collapsed sidebar */
#content {
  flex: 1;
  min-width: 0;
  margin-left: var(--el-sidebar-w);
  background: transparent;
}

/* ── Brand ─────────────────────────────────────────────────────────────── */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  min-height: 64px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.sidebar-icon-brand {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.sidebar-logo-full {
  width: 140px;
  height: auto;
  flex-shrink: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease 0.08s;
  white-space: nowrap;
}

.el-sidebar:hover .sidebar-logo-full { opacity: 1; }

/* ── Sidebar scrollable nav area ───────────────────────────────────────── */
.sidebar-nav {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 0 4px;
  scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

/* ── Category wrapper ──────────────────────────────────────────────────── */
.nav-category { margin-bottom: 1px; }

/* ── Category header button ────────────────────────────────────────────── */
.nav-cat-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.28);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  min-height: 44px;
  border-radius: 0;
  transition: color 0.15s, background 0.15s;
}

.nav-cat-btn:hover {
  color: var(--el-text-soft);
  background: rgba(255,255,255,0.03);
}

.nav-category.is-open > .nav-cat-btn { color: var(--el-gold); }

.nav-cat-icon-i {
  font-size: 18px;
  width: 36px;
  flex-shrink: 0;
  text-align: center;
  opacity: 0.55;
  transition: opacity 0.15s;
}

.nav-cat-btn:hover .nav-cat-icon-i,
.nav-category.is-open > .nav-cat-btn .nav-cat-icon-i { opacity: 1; }

.nav-cat-label {
  flex: 1;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.16s ease 0.06s;
}

.nav-cat-chevron {
  font-size: 11px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.16s ease 0.06s, transform 0.22s ease;
}

.nav-category.is-open > .nav-cat-btn .nav-cat-chevron { transform: rotate(90deg); }

.el-sidebar:hover .nav-cat-label,
.el-sidebar:hover .nav-cat-chevron { opacity: 1; }

/* ── Category sub-items ────────────────────────────────────────────────── */
.nav-cat-items {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.26s ease;
}

/* Items expand ONLY when sidebar is hovered AND category is open */
.el-sidebar:hover .nav-category.is-open > .nav-cat-items { max-height: 600px; }

/* Mobile: always show when open (no hover required) */
.el-sidebar.sidebar-mobile-open .nav-category.is-open > .nav-cat-items { max-height: 600px; }

.nav-cat-items .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px 8px 14px;
  margin: 1px 8px;
  color: var(--el-text-soft);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s, transform 0.15s;
}

.nav-cat-items .nav-link i {
  font-size: 14px;
  width: 22px;
  flex-shrink: 0;
  text-align: center;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.nav-cat-items .nav-link span {
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.16s ease 0.1s;
}

.el-sidebar:hover .nav-cat-items .nav-link span,
.el-sidebar.sidebar-mobile-open .nav-cat-items .nav-link span { opacity: 1; }

.nav-cat-items .nav-link:hover {
  color: var(--el-text);
  background: rgba(255,255,255,0.05);
  transform: translateX(2px);
}

.nav-cat-items .nav-link.active {
  color: var(--el-gold);
  background: rgba(201,168,76,0.1);
  box-shadow: inset 3px 0 0 var(--el-gold);
}

.nav-cat-items .nav-link.active i { opacity: 1; }

/* ── Sidebar footer ────────────────────────────────────────────────────── */
.sidebar-footer {
  flex-shrink: 0;
  padding: 12px 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.sidebar-logo-mini {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.sidebar-user__meta {
  opacity: 0;
  transition: opacity 0.16s ease 0.1s;
  min-width: 0;
}

.el-sidebar:hover .sidebar-user__meta { opacity: 1; }

.sidebar-user__meta strong {
  display: block;
  color: var(--el-text);
  font-size: 12px;
}

.sidebar-user__meta span {
  display: block;
  color: var(--el-text-dim);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-title {
  font-family: 'Barlow Condensed', 'Outfit', sans-serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.content-body {
  padding: 24px 28px 30px;
  max-width: 1480px;
}

.el-page-enter {
  animation: elPageEnter 0.48s ease both;
}

.el-reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: elReveal 0.45s ease forwards;
  animation-delay: var(--stagger, 0s);
}

@keyframes elPageEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.stat-card {
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.98), rgba(18, 18, 18, 1));
  box-shadow: var(--el-shadow);
}

.el-card,
.el-table,
.filter-bar,
.board-column,
.board-card,
.modal-content {
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  background: #0e0e0e;
  box-shadow: none;
}

.el-card,
.stat-card {
  padding: 22px;
}

.el-card,
.stat-card,
.board-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.el-card:hover,
.board-card:hover {
  border-color: rgba(201, 168, 76, 0.18);
}

.el-card h6,
.el-card .fw-semibold,
.el-table .fw-semibold,
.board-card-title,
.board-title {
  color: var(--el-text);
}

.text-muted,
.small.text-muted,
small.text-muted {
  color: var(--el-text-dim) !important;
}

.text-dark {
  color: var(--el-text) !important;
}

.text-success {
  color: var(--el-green) !important;
}

.text-primary {
  color: var(--el-blue) !important;
}

.text-warning {
  color: var(--el-gold) !important;
}

.text-danger {
  color: var(--el-red) !important;
}

.btn,
.btn-sm {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-gold,
.btn.btn-gold {
  background: linear-gradient(135deg, var(--el-gold-lite), var(--el-gold));
  color: #16120a;
  border: 0;
  box-shadow: 0 10px 22px rgba(201, 168, 76, 0.2);
}

.btn-gold:hover,
.btn.btn-gold:hover {
  background: linear-gradient(135deg, #e6c972, #d4b156);
  color: #14110a;
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-danger,
.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--el-text-soft);
}

.btn-outline-secondary:hover,
.btn-outline-primary:hover,
.btn-outline-danger:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--el-text);
}

.btn-link {
  color: var(--el-gold);
}

.form-control,
.form-select,
.form-check-input,
textarea.form-control {
  background-color: #0e0e0e;
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--el-text);
  border-radius: 12px;
  min-height: 42px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
textarea.form-control:focus {
  background-color: #141414;
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
  color: var(--el-text);
}

.form-select option {
  background: #0e0e0e;
  color: var(--el-text);
}

.form-label,
.form-check-label {
  color: var(--el-text-soft);
  font-weight: 600;
}

.alert {
  border-radius: 14px;
  border: 1px solid var(--el-border);
}

.alert-success,
.alert-info,
.alert-secondary,
.alert-warning,
.alert-danger {
  color: var(--el-text);
  background: rgba(22, 22, 22, 0.94);
}

.modal-content,
.modal-header,
.modal-footer {
  color: var(--el-text);
}

.modal-header,
.modal-footer {
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-close {
  filter: invert(1);
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: -35% -10% auto auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12), transparent 68%);
  pointer-events: none;
}

.stat-card .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.stat-card .stat-value {
  color: var(--el-text);
  font-family: 'Barlow Condensed', 'Outfit', sans-serif;
  font-size: 48px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.stat-card .stat-label {
  color: #59617d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}

.stat-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: auto;
  opacity: 0.9;
}

.stat-dot-gold {
  background: var(--el-gold);
}

.stat-dot-blue {
  background: var(--el-blue);
}

.stat-dot-green {
  background: var(--el-green);
}

.stat-dot-purple {
  background: var(--el-purple);
}

.dashboard-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 42px;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid var(--el-border);
  border-radius: 20px;
  background: var(--el-surface);
  box-shadow: var(--el-shadow);
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -48px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  right: 40px;
  top: 46px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.dashboard-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--el-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dashboard-hero__title {
  margin: 0;
  color: var(--el-text);
  font-family: 'Barlow Condensed', 'Outfit', sans-serif;
  font-size: 54px;
  line-height: 0.92;
}

.dashboard-hero__subtitle {
  margin: 12px 0 0;
  color: var(--el-text-soft);
  font-size: 15px;
}

.dashboard-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
}

.el-table {
  overflow: hidden;
}

.el-table .border-bottom {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.el-table table,
.el-table .table {
  margin: 0;
  color: var(--el-text);
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
  --bs-table-striped-bg: transparent;
}

.el-table thead th,
.table thead th {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.02);
  color: #6c7290;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.el-table tbody td,
.table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--el-text);
  background: transparent;
}

.el-table tbody tr:hover td,
.table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.badge {
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.bg-success,
.badge.bg-success {
  background: rgba(50, 210, 150, 0.16) !important;
  color: #8af1c6 !important;
  border: 1px solid rgba(50, 210, 150, 0.2);
}

.bg-danger,
.badge.bg-danger {
  background: rgba(255, 125, 125, 0.16) !important;
  color: #ffb4b4 !important;
  border: 1px solid rgba(255, 125, 125, 0.2);
}

.bg-secondary,
.badge.bg-secondary {
  background: rgba(148, 163, 184, 0.14) !important;
  color: #d7dfeb !important;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.bg-primary,
.badge.bg-primary {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #c8c8c8 !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.bg-warning,
.badge.bg-warning,
.bg-light.text-dark.border {
  background: rgba(201, 168, 76, 0.18) !important;
  color: #ffe39d !important;
  border: 1px solid rgba(201, 168, 76, 0.26) !important;
}

.badge.bg-opacity-10,
.badge.bg-opacity-20 {
  opacity: 1;
}

.badge-identified,
.badge-cold,
.badge-not-contacted {
  background: rgba(148, 163, 184, 0.14);
  color: #d8e0ed;
}

.badge-emailed,
.badge-contacted {
  background: rgba(201, 168, 76, 0.18);
  color: #ffe39d;
}

.badge-responded,
.badge-connected,
.badge-interested {
  background: rgba(50, 210, 150, 0.16);
  color: #8af1c6;
}

.badge-followed_up,
.badge-negotiation,
.badge-offer,
.badge-offer-made {
  background: rgba(167, 139, 250, 0.16);
  color: #d8c8ff;
}

.badge-declined,
.badge-not-interested {
  background: rgba(255, 125, 125, 0.16);
  color: #ffb4b4;
}

.tier-t1,
.tier-t2,
.tier-t3,
.tier-t4,
.tier-t5,
.tier-other,
.tier-chip {
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  font-size: 11px;
  font-weight: 700;
}

.tier-t1,
.tier-chip {
  background: rgba(201, 168, 76, 0.18);
  color: #ffe39d;
  border: 1px solid rgba(201, 168, 76, 0.24);
}

.tier-t2,
.tier-t3 {
  background: rgba(255, 255, 255, 0.07);
  color: #c8c8c8;
}

.tier-t4,
.tier-t5 {
  background: rgba(50, 210, 150, 0.16);
  color: #8af1c6;
}

.tier-other {
  background: rgba(148, 163, 184, 0.14);
  color: #d8e0ed;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px;
  margin-bottom: 18px;
}

.filter-bar .form-control,
.filter-bar .form-select {
  min-height: 40px;
}

.board-shell {
  display: grid;
  grid-template-columns: repeat(6, minmax(260px, 1fr));
  gap: 16px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 10px;
}

.board-column {
  min-height: 540px;
  padding: 14px;
  background: #0e0e0e;
}

.board-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.board-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-subtitle {
  color: var(--el-text-dim);
  font-size: 12px;
}

.board-count {
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--el-text-soft);
  font-weight: 700;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.board-card {
  padding: 16px;
  cursor: grab;
}

.board-card:active {
  cursor: grabbing;
}

.board-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.board-card-title {
  font-size: 15px;
  font-weight: 700;
}

.board-card-meta,
.board-card-body,
.board-card-details,
.board-empty {
  color: var(--el-text-soft);
}

.board-card-body {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.board-card-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.board-card details summary {
  cursor: pointer;
  color: var(--el-gold);
}

.board-empty {
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.profile-editor {
  min-height: 72vh;
  font-family: 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
}

.profile-path {
  padding: 12px;
  border-radius: 12px;
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--el-text-soft);
  word-break: break-word;
}

.profile-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-fact:last-child {
  border-bottom: 0;
}

.profile-fact span {
  color: var(--el-text-dim);
}

.profile-fact strong {
  color: var(--el-text);
  text-align: right;
}

.el-universities-page {
  display: grid;
  gap: 24px;
}

.el-uni-hero,
.el-uni-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--el-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.16), transparent 28%),
    linear-gradient(145deg, #161616 0%, #1c1c1c 45%, #0e0e0e 100%);
  color: #f7f2e8;
  box-shadow: var(--el-shadow);
}

.el-uni-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  isolation: isolate;
}

.el-uni-hero::after,
.el-uni-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -42% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.el-uni-hero > *,
.el-uni-panel > * {
  position: relative;
  z-index: 1;
}

.el-uni-eyebrow {
  margin: 0 0 10px;
  color: rgba(245, 219, 145, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.el-uni-title {
  margin: 0;
  font-family: 'Barlow Condensed', 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.el-uni-subtitle {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(232, 230, 222, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.el-uni-summary {
  min-width: 180px;
  align-self: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.el-uni-summary__label,
.el-uni-summary__meta {
  display: block;
  color: rgba(232, 230, 222, 0.65);
  font-size: 12px;
}

.el-uni-summary__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.el-uni-summary__value {
  display: block;
  margin: 8px 0 6px;
  color: #fff;
  font-family: 'Barlow Condensed', 'Outfit', sans-serif;
  font-size: 42px;
  line-height: 0.9;
}

.el-uni-panel {
  padding: 24px;
}

.el-uni-filters {
  display: grid;
  gap: 18px;
}

.el-uni-filters__grid {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(130px, 1fr)) minmax(110px, auto);
  gap: 14px;
}

.el-uni-field {
  display: grid;
  gap: 8px;
}

.el-uni-field__label {
  color: rgba(232, 230, 222, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.el-uni-field .form-control,
.el-uni-field .form-select {
  min-height: 46px;
  border-radius: 14px;
}

.el-uni-field--actions {
  align-content: end;
}

.el-uni-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
}

.el-uni-btn--primary {
  background: linear-gradient(135deg, #e0c06a 0%, #c9a84c 100%);
  color: #161616;
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.22);
}

.el-uni-btn--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f7f2e8;
}

.el-uni-btn--sm {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
}

.el-uni-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.el-uni-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.el-uni-tab {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 242, 232, 0.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.el-uni-tab.is-active {
  background: linear-gradient(135deg, rgba(224, 192, 106, 0.2), rgba(201, 168, 76, 0.38));
  border-color: rgba(224, 192, 106, 0.45);
  color: #fff4d4;
}

.el-uni-toolbar__count {
  color: rgba(232, 230, 222, 0.62);
  font-size: 13px;
  white-space: nowrap;
}

.el-uni-table-panel {
  padding: 0;
}

.el-uni-table-wrap {
  overflow-x: auto;
}

.el-uni-table {
  color: #f7f2e8;
}

.el-uni-table tbody td {
  color: rgba(247, 242, 232, 0.92);
}

.el-uni-link,
.el-uni-name-text {
  color: #fff;
  font-weight: 600;
}

.el-uni-muted {
  color: rgba(232, 230, 222, 0.68);
}

.el-uni-location {
  color: rgba(247, 242, 232, 0.84);
}

.el-uni-tier,
.el-uni-division,
.el-uni-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.el-uni-tier--top,
.el-uni-division--juco {
  background: rgba(201, 168, 76, 0.2);
  color: #ffe5a2;
  border: 1px solid rgba(201, 168, 76, 0.28);
}

.el-uni-tier--mid,
.el-uni-division--d1 {
  background: rgba(255, 255, 255, 0.07);
  color: #c8c8c8;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.el-uni-division--d2 {
  background: rgba(168, 85, 247, 0.18);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.24);
}

.el-uni-tier--rising,
.el-uni-division--naia,
.el-uni-status--contacted {
  background: rgba(52, 211, 153, 0.16);
  color: #bbf7d0;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.el-uni-tier--neutral,
.el-uni-division--neutral,
.el-uni-status--idle {
  background: rgba(148, 163, 184, 0.14);
  color: #dbe4ee;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.el-uni-actions {
  text-align: right;
  white-space: nowrap;
}

/* ── Universities Pagination ──────────────────────────────────────────────── */

.el-uni-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 0 12px;
}

.el-uni-pag__inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.el-uni-pag__arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.12s;
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.07);
  cursor: pointer;
}

.el-uni-pag__arrow:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: #c9a84c;
  transform: scale(1.04);
  color: #f5db91;
}

.el-uni-pag__arrow--disabled {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1.5px solid rgba(232, 230, 222, 0.1);
  color: rgba(232, 230, 222, 0.25);
  background: transparent;
  cursor: default;
}

.el-uni-pag__pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.el-uni-pag__page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
  color: rgba(232, 230, 222, 0.65);
  border: 1.5px solid transparent;
}

a.el-uni-pag__page:hover {
  background: rgba(201, 168, 76, 0.12);
  color: #c9a84c;
  border-color: rgba(201, 168, 76, 0.3);
}

.el-uni-pag__page.is-active {
  background: #c9a84c;
  color: #1e1e1e;
  font-weight: 700;
  border-color: #c9a84c;
}

.el-uni-pag__ellipsis {
  color: rgba(232, 230, 222, 0.3);
  font-size: 0.85rem;
  padding: 0 4px;
}

.el-uni-pag__label {
  font-size: 0.75rem;
  color: rgba(232, 230, 222, 0.35);
  margin: 0;
}

/* ── Coach display ──────────────────────────────────────────────────────────── */

.el-uni-coach__name {
  font-weight: 600;
  font-size: 0.82rem;
  color: #e8e6de;
  line-height: 1.4;
}

.el-uni-coach__email {
  font-size: 0.74rem;
  color: rgba(232, 230, 222, 0.55);
  line-height: 1.3;
  word-break: break-all;
}

.el-uni-empty {
  padding: 44px 18px;
}

.el-uni-empty__inner {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(232, 230, 222, 0.72);
}

.el-uni-empty__icon {
  color: #f5db91;
  font-size: 24px;
}

.count-up {
  display: inline-block;
}

.el-template-card {
  padding: 20px;
}

.el-template-card__title {
  font-size: 18px;
}

.el-template-card__delete {
  position: relative;
  z-index: 2;
}

.el-template-card__open {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.el-template-card__open::-webkit-details-marker {
  display: none;
}

.el-template-card__details[open] .el-template-card__arrow i {
  transform: rotate(180deg);
}

.el-template-card__arrow i {
  transition: transform 0.18s ease;
}

.el-template-card__block {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.el-template-card__subject,
.el-template-card__body {
  color: var(--el-text);
}

.el-template-card__subject {
  font-weight: 600;
  line-height: 1.45;
}

.el-template-card__body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--el-text-soft);
}

.el-template-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: var(--el-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.el-template-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
}

.el-template-card__expanded {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.el-template-modal .modal-header,
.el-template-modal .modal-footer {
  padding-left: 24px;
  padding-right: 24px;
}

.el-template-modal .modal-body {
  padding: 8px 24px 24px;
}

.el-template-modal__section {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.el-template-modal__subject {
  color: var(--el-text);
  font-weight: 600;
  line-height: 1.55;
}

.el-template-modal__body {
  color: var(--el-text-soft);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'Outfit', 'Avenir Next', 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.75;
}

/* ── Dark overrides for Bootstrap components ─────────────────────────────── */

.card {
  background: #0e0e0e !important;
  border-color: var(--el-border) !important;
  color: var(--el-text);
}

.card-header,
.card-footer {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--el-text);
}

.card-body {
  color: var(--el-text);
}

.bg-white {
  background: transparent !important;
}

.bg-light,
.table-light,
.table-light > * {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #6c7290 !important;
  --bs-table-bg: rgba(255, 255, 255, 0.03) !important;
  --bs-table-color: #6c7290 !important;
}

.accordion-item {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.accordion-button {
  background: transparent !important;
  color: var(--el-text) !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(201, 168, 76, 0.07) !important;
  color: var(--el-gold) !important;
}

.accordion-button::after {
  filter: invert(1) opacity(0.6);
}

.accordion-collapse {
  background: transparent;
}

.progress {
  background: rgba(255, 255, 255, 0.08) !important;
}

.list-group-item {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--el-text) !important;
}

.table-hover > tbody > tr:hover > * {
  background: rgba(255, 255, 255, 0.03) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE TOPBAR + OVERLAY
   ══════════════════════════════════════════════════════════════════════════ */

.mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  min-height: var(--el-topbar-mobile);
  height: calc(var(--el-topbar-mobile) + env(safe-area-inset-top, 0px));
  background: rgba(7,9,16,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--el-text-soft);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.hamburger-btn:hover { background: rgba(255,255,255,0.07); color: var(--el-text); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 350;
  backdrop-filter: blur(3px);
}

body.nav-open .sidebar-overlay { display: block; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1200px: large tablets ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .el-uni-filters__grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
  .el-uni-field--search { grid-column: 1 / -1; }
  .dashboard-hero { padding: 24px 28px; }
  .dashboard-hero__title { font-size: 46px; }
}

/* ── 992px ──────────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .board-shell { grid-template-columns: repeat(3, minmax(250px,1fr)); }
  .topbar { padding: 16px 20px; }
  .content-body { padding: 20px; }
}

/* ── 900px ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .el-uni-hero { flex-direction: column; }
  .el-uni-summary { min-width: 0; }
  .el-uni-filters__grid, .el-uni-toolbar { grid-template-columns: 1fr; }
  .el-uni-toolbar { display: grid; }
  .dashboard-hero { flex-direction: column; align-items: flex-start; }
  .dashboard-hero__actions { width: 100%; flex-wrap: wrap; }
}

/* ── 768px: tablets / phones - switch to mobile sidebar ─────────────────── */
@media (max-width: 768px) {
  /* Show mobile topbar */
  .mobile-topbar { display: flex; }

  /* Shell becomes block - sidebar leaves normal flow */
  .el-shell {
    display: block;
    padding-top: calc(var(--el-topbar-mobile) + env(safe-area-inset-top, 0px));
  }

  /* Content: full width, no margin */
  #content {
    margin-left: 0;
    width: 100%;
  }

  /* Sidebar: fixed off-screen drawer, always full-width */
  .el-sidebar {
    position: fixed;
    top: calc(var(--el-topbar-mobile) + env(safe-area-inset-top, 0px));
    left: calc(-1 * var(--el-sidebar-mobile) - 4px);
    width: var(--el-sidebar-mobile) !important;
    height: calc(100vh - var(--el-topbar-mobile) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 360;
    /* Slide transition; disable width transition on mobile */
    transition: left 0.26s cubic-bezier(0.4,0,0.2,1);
    box-shadow: none;
  }

  body.nav-open .el-sidebar {
    left: 0;
    box-shadow: 4px 0 40px rgba(0,0,0,0.6);
  }

  /* On mobile sidebar: always show all labels (no hover needed) */
  .el-sidebar .sidebar-logo-full,
  .el-sidebar .nav-cat-label,
  .el-sidebar .nav-cat-chevron,
  .el-sidebar .nav-cat-items .nav-link span,
  .el-sidebar .sidebar-user__meta {
    opacity: 1 !important;
    transition: none !important;
  }

  /* Mobile: open categories show items without hover */
  .el-sidebar .nav-category.is-open > .nav-cat-items { max-height: 600px; }

  /* Board */
  .board-shell {
    grid-template-columns: repeat(6, 280px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    gap: 12px;
  }
  .board-column { scroll-snap-align: start; min-height: 420px; }

  /* Stats 2 col */
  .row.g-3 > [class*="col-md-3"] { width: 50%; flex: 0 0 50%; max-width: 50%; }

  /* Filter bar */
  .filter-bar { flex-direction: column; align-items: stretch !important; }
  .filter-bar .form-control, .filter-bar .form-select { max-width: 100% !important; width: 100% !important; }
  .filter-bar .btn { width: 100%; }
  .filter-bar .ms-auto { margin-left: 0 !important; }

  /* Topbar */
  .topbar { flex-wrap: wrap; gap: 8px; padding: 10px 14px; min-height: 52px; }
  .topbar-title { font-size: 18px; }
  .topbar-actions { width: 100%; }
  .topbar-actions .d-flex { flex-wrap: wrap; gap: 6px; }
  .topbar-actions .btn { flex: 1 1 auto; font-size: 13px; padding: 8px 12px; }

  /* Tables */
  .el-uni-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .el-uni-table { min-width: 700px; }
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Content padding */
  .content-body { padding: 16px 14px 28px; }
}

/* ── 640px: phones ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Board: vertical stack */
  .board-shell {
    display: flex; flex-direction: column;
    overflow-x: visible; gap: 12px;
  }
  .board-column { min-height: 0; border-radius: 16px; scroll-snap-align: none; }
  .board-column:not(:has(.board-card)) .board-list { display: none; }
  .board-column:not(:has(.board-card)) { min-height: 0; padding: 10px 14px; }

  /* Stats 2x2 */
  .row.g-3 > [class*="col-md-3"] { width: 50%; flex: 0 0 50%; max-width: 50%; }

  /* Cards */
  .board-card { padding: 12px; }
  .board-card-title { font-size: 13px; }

  /* Radii */
  .dashboard-hero, .el-uni-hero, .el-uni-panel,
  .el-card, .stat-card, .el-table, .filter-bar,
  .board-column, .modal-content { border-radius: 14px; }

  /* Stat card */
  .stat-card .stat-value { font-size: 36px; }

  /* Table scroll */
  .table-responsive-mobile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .col-mobile-hide { display: none !important; }

  /* Modals: bottom sheet */
  .modal-dialog { margin: 0; max-width: 100%; min-height: 100%; align-items: flex-end; }
  .modal-content { border-radius: 20px 20px 0 0 !important; max-height: 92vh; overflow-y: auto; }

  /* Uni page */
  .el-uni-hero { gap: 12px; }
  .el-uni-title { font-size: 26px; }
  .el-uni-filters__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .el-uni-field--search, .el-uni-field--actions { grid-column: 1 / -1; }
  .el-uni-btn--primary { width: 100%; }
  .el-uni-tabs { gap: 4px; }
  .el-uni-tab { font-size: 12px; padding: 6px 10px; }

  /* Pagination */
  .el-uni-pag__pages { gap: 2px; }
  .el-uni-pag__page { width: 30px; height: 30px; font-size: .75rem; }
  .el-uni-pag__arrow span { display: none; }
  .el-uni-pag__arrow { padding: 8px 10px; }

  /* Hero */
  .dashboard-hero { padding: 16px 18px; flex-direction: column; align-items: flex-start; }
  .dashboard-hero__title { font-size: 30px; }
  .dashboard-hero__subtitle { font-size: 13px; }
  .dashboard-hero__actions { width: 100%; flex-wrap: wrap; }

  /* Content */
  .content-body { padding: 12px 10px 36px; }

  /* Form tap targets */
  .form-control, .form-select { min-height: 48px; font-size: 16px; }
  textarea.form-control { min-height: auto; font-size: 15px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 36px; }
}

/* ── 400px: very small phones ───────────────────────────────────────────── */
@media (max-width: 400px) {
  .el-uni-filters__grid { grid-template-columns: 1fr; }
  .row.g-3 > [class*="col-md-3"] { width: 100%; flex: 0 0 100%; max-width: 100%; }
  .board-card-title { font-size: 12px; }
}

/* Board scroll hint (tablet only) */
.board-scroll-hint {
  display: none;
  text-align: center;
  font-size: .72rem;
  color: rgba(232,230,222,0.3);
  letter-spacing: .05em;
  margin-bottom: 6px;
}
@media (min-width: 641px) and (max-width: 768px) { .board-scroll-hint { display: block; } }

/* ── Section labels ─────────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--el-text-soft);
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--el-border);
}
.section-count {
  background: rgba(255,255,255,0.06);
  color: var(--el-text-soft);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}

/* ── Direct contact coach cards ─────────────────────────────── */
.coaches-direct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.coach-direct-card {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.30);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.15s, background 0.15s;
}
.coach-direct-card:hover {
  background: rgba(201,168,76,0.10);
  border-color: rgba(201,168,76,0.55);
}
.coach-direct-card .coach-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--el-text);
  line-height: 1.3;
}
.coach-direct-card .coach-uni {
  font-size: 11px;
  color: var(--el-text-soft);
  margin-bottom: 10px;
  margin-top: 2px;
}
.coach-direct-card .contact-row {
  font-size: 12px;
  color: var(--el-text-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}
.coach-no-contact {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.coach-no-contact:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.14);
}

/* ── Marketing: Calendar ────────────────────────────────────────────── */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  min-width: 0;
}
@media (max-width: 900px) {
  .cal-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 600px) {
  .cal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cal-col {
  background: var(--el-surface);
  border-radius: var(--el-radius-sm);
  border: 1px solid var(--el-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cal-col--today {
  border-color: var(--el-gold);
  box-shadow: 0 0 0 1px var(--el-gold-glow);
}
.cal-header {
  padding: .5rem .7rem .4rem;
  border-bottom: 1px solid var(--el-border);
}
.cal-day-name {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--el-text-dim);
  font-weight: 600;
}
.cal-day-num {
  font-size: .92rem;
  font-weight: 700;
  color: var(--el-text-soft);
}
.cal-day-num--today {
  color: var(--el-gold);
}
.cal-body {
  padding: .5rem .5rem .4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.cal-entry {
  background: var(--el-surface-2);
  border-radius: 8px;
  padding: .35rem .5rem;
  font-size: .75rem;
  cursor: default;
}
.cal-entry-title {
  font-weight: 600;
  line-height: 1.3;
  color: var(--el-text);
  font-size: .77rem;
}
.cal-edit-btn {
  opacity: 0;
  transition: opacity .15s;
}
.cal-entry:hover .cal-edit-btn {
  opacity: 1;
}
.cal-add-btn {
  margin-top: auto;
  padding-top: .3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: none;
  border: 1px dashed var(--el-border);
  border-radius: 8px;
  color: var(--el-text-dim);
  font-size: .9rem;
  cursor: pointer;
  padding: .25rem;
  transition: all .15s;
}
.cal-add-btn:hover {
  border-color: var(--el-gold);
  color: var(--el-gold);
  background: var(--el-gold-glow);
}

/* ── Marketing: Content Board ───────────────────────────────────────── */
.content-board-shell {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 1rem;
  min-height: 0;
}
.content-board-col {
  min-width: 210px;
  width: 210px;
  flex-shrink: 0;
  background: var(--el-surface);
  border-radius: var(--el-radius-sm);
  border: 1px solid var(--el-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
}
.content-board-col .board-list {
  overflow-y: auto;
  flex-grow: 1;
  padding: .5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.content-board-col .board-empty {
  font-size: .78rem;
  color: var(--el-text-dim);
  text-align: center;
  padding: 1rem .5rem;
}

/* Inputs / selects deshabilitados: legibles sobre el negro nuevo. */
.form-control[disabled], .form-control[readonly],
.form-select[disabled], .form-select[readonly] {
  background: rgba(255,255,255,0.04) !important;
  color: #cfc9bd !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #cfc9bd !important;
  cursor: not-allowed;
}
.form-text, .form-control + .form-text {
  color: var(--el-text-soft) !important;
}


/* ─── Phase 3: Gender segmentation (M/F) ───────────────────────────────── */

/* Pink-rose for the women's mode — distinct from the gold brand color so
   it's impossible to mistake which mode you're in. */
:root {
  --el-femenino:        #e84a8c;
  --el-femenino-lite:   #f47ba9;
  --el-femenino-bg:     rgba(232, 74, 140, 0.12);
  --el-femenino-border: rgba(232, 74, 140, 0.45);
}

/* Botón Femenino del toggle (Masculino reusa btn-dark estándar) */
.btn-femenino,
.btn.btn-femenino {
  background: linear-gradient(135deg, var(--el-femenino-lite), var(--el-femenino));
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 22px rgba(232, 74, 140, 0.22);
}
.btn-femenino:hover,
.btn.btn-femenino:hover {
  background: linear-gradient(135deg, #f99cc0, #d33b7e);
  color: #ffffff;
}

/* Toggle wrapper alignment in topbar */
.gender-toggle {
  align-self: center;
}

/* Sticky banner when in F mode — visible at all times */
.alert-femenino {
  background: var(--el-femenino-bg) !important;
  border: 1px solid var(--el-femenino-border) !important;
  color: var(--el-femenino-lite) !important;
  border-radius: 0;
  margin: 0;
  padding: 6px 12px !important;
  font-weight: 600;
  z-index: 1030;
}

/* Subtle pink accent on the topbar when gender=F */
body.gender-femenino .topbar {
  border-bottom: 2px solid var(--el-femenino) !important;
}

/* Per-page badge next to the title */
.gender-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.gender-badge-m {
  background: rgba(255, 255, 255, 0.08);
  color: var(--el-text-soft);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.gender-badge-f {
  background: var(--el-femenino-bg);
  color: var(--el-femenino-lite);
  border: 1px solid var(--el-femenino-border);
}

/* ══════════════════════════════════════════════════════════════════════════
   MODO CLARO (staff) — se adapta automáticamente al modo del dispositivo.
   Blanco + gold de marca (#c9a84c) + texto negro. El modo oscuro queda igual.
   ══════════════════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: light) {
  :root {
    --el-bg: #f4f2ec;
    --el-bg-alt: #efece4;
    --el-surface: #ffffff;
    --el-surface-2: #f6f4ee;
    --el-surface-3: #efece4;
    --el-sidebar: #faf8f3;
    --el-border: rgba(0, 0, 0, 0.08);
    --el-border-strong: rgba(0, 0, 0, 0.14);
    --el-text: #15140f;
    --el-text-soft: #4a4840;
    --el-text-dim: #8a847a;
    --el-gold: #c9a84c;
    --el-gold-lite: #b8932f;
    --el-gold-glow: rgba(201, 168, 76, 0.22);
    --el-green: #2e9e57;
    --el-blue: #3d7d96;
    --el-purple: #7263c9;
    --el-red: #d35450;
    --el-orange: #b97a22;
    --el-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
    --el-grad-end: #ffffff;
  }

  a:hover { color: #a8842f; }

  ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.18); }
  ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.30); }

  input::placeholder,
  textarea::placeholder { color: rgba(21, 20, 15, 0.38) !important; }

  /* ── Sidebar ── */
  .el-sidebar {
    border-right: 0.5px solid rgba(0, 0, 0, 0.10);
  }
  .el-sidebar:hover { box-shadow: 6px 0 40px rgba(0, 0, 0, 0.12); }
  .nav-cat-items .nav-link:hover { background: rgba(0, 0, 0, 0.05); }
  .nav-cat-btn:hover { background: rgba(0, 0, 0, 0.04); }

  /* ── Topbar ── */
  .topbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .mobile-topbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* ── Superficies ── */
  .el-card,
  .el-table,
  .filter-bar,
  .board-column,
  .board-card,
  .modal-content,
  .el-uni-panel,
  .el-uni-table-panel {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }
  /* Aseguramos texto legible dentro de .card en light mode (el <a>.kanban-row
     hereda el color azul de link por defecto si nada lo sobreescribe). */
  .card, .card .kanban-row, .card a { color: var(--el-text); }
  .card .text-muted, .card .small.text-muted { color: var(--el-text-dim) !important; }
  .stat-card:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12); }
  .modal-header, .modal-footer { border-color: rgba(0, 0, 0, 0.08); }

  /* ── Formularios ── */
  .form-control,
  .form-select,
  .form-check-input,
  textarea.form-control {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.16);
  }
  .form-control:focus,
  .form-select:focus,
  textarea.form-control:focus {
    background-color: #ffffff;
    border-color: rgba(201, 168, 76, 0.65);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  }
  .form-select option { background: #ffffff; }
  .form-check-input:checked { background-color: var(--el-gold); border-color: var(--el-gold); }

  /* ── Tablas ── */
  .el-table .table {
    --bs-table-border-color: rgba(0, 0, 0, 0.08);
    --bs-table-hover-bg: rgba(0, 0, 0, 0.025);
  }
  .el-table thead th,
  .table thead th {
    border-bottom: 1px solid rgba(0, 0, 0, 0.10) !important;
    background: rgba(0, 0, 0, 0.025);
    color: #6e6a60;
  }
  .el-table tbody td,
  .table tbody td { border-color: rgba(0, 0, 0, 0.07) !important; }
  .el-table tbody tr:hover td { background: rgba(0, 0, 0, 0.02); }
  .table-hover > tbody > tr:hover > * { background: rgba(0, 0, 0, 0.03) !important; }
  .list-group-item { border-color: rgba(0, 0, 0, 0.08) !important; }

  /* ── Alertas / flash ── */
  .alert-success, .alert-info, .alert-secondary, .alert-warning, .alert-danger {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
  }

  /* ── Misceláneo ── */
  .profile-path {
    background: #f6f4ee;
    border: 1px solid rgba(0, 0, 0, 0.10);
  }
  .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  }
  .dropdown-menu .dropdown-item { color: var(--el-text); }
  .dropdown-menu .dropdown-item:hover { background: rgba(0, 0, 0, 0.05); color: var(--el-text); }
  .btn-close { filter: none; }

  /* Bootstrap .card + stat-cards del dashboard */
  .card { background: #ffffff !important; }
  .card-header, .card-footer { border-color: rgba(0, 0, 0, 0.08) !important; }
  .stat-card {
    background: linear-gradient(180deg, #ffffff, #faf8f2);
  }
  .stat-card::after {
    background: radial-gradient(circle, rgba(201, 168, 76, 0.16), transparent 68%);
  }
  .stat-card .stat-label { color: #8a847a; }

  /* ── Sidebar: títulos de categoría legibles (eran blancos translúcidos) ── */
  .nav-cat-btn { color: rgba(0, 0, 0, 0.45); }
  .nav-cat-btn:hover { color: #15140f; }
  .nav-category.is-open > .nav-cat-btn { color: #a8842f; }

  /* ── Logos blancos: chip oscuro detrás para que se vean ── */
  .sidebar-brand {
    background: #15140f;
    border-radius: 14px;
    margin: 10px 8px;
    padding: 10px;
  }
  .mobile-topbar img,
  .topbar img.logo-full {
    background: #15140f;
    border-radius: 10px;
    padding: 4px 8px;
  }

  /* ── Badges de estado (coaches/pipeline): texto oscuro y fondo más fuerte ── */
  .badge-identified, .badge-cold, .badge-not-contacted {
    background: rgba(100, 112, 130, 0.18); color: #3d4654;
  }
  .badge-emailed, .badge-contacted {
    background: rgba(201, 168, 76, 0.25); color: #7a5f17;
  }
  .badge-responded, .badge-connected, .badge-interested {
    background: rgba(50, 180, 120, 0.20); color: #1c6e46;
  }
  .badge-followed_up, .badge-negotiation, .badge-offer, .badge-offer-made {
    background: rgba(140, 115, 230, 0.18); color: #4f3da8;
  }
  .badge-declined, .badge-not-interested {
    background: rgba(230, 90, 90, 0.16); color: #a83232;
  }

  /* ── Chips de acción (Check-in / Ver / Revisar): oscuros para que se vean ── */
  .badge.bg-light,
  .bg-light.text-dark.border,
  .badge.bg-light.text-dark.border {
    background: #15140f !important;
    color: #ffffff !important;
    border-color: #15140f !important;
  }

  /* Badges bg-warning: texto oscuro para legibilidad en claro */
  .bg-warning, .badge.bg-warning {
    color: #7a5f17 !important;
    background: rgba(201, 168, 76, 0.28) !important;
  }
}
