/* CFBDepth recruiting dashboard shell
   Mirrors the public site's light data-product system while preserving
   team-color accents for recruiting-specific visualizations. */

html[data-theme="light"] body #fbs-class-dashboard {
  --cfb-blue: #0057ff;
  --cfb-blue-bright: #2477ff;
  --cfb-navy: #061b43;
  --cfb-ink: #071a3c;
  --cfb-copy: #52627c;
  --cfb-muted: #71819b;
  --cfb-line: #dce5f1;
  --cfb-soft: #f3f6fb;
  --cfb-soft-blue: #eef4ff;
  --background: #f3f6fb;
  --foreground: #071a3c;
  --card: #ffffff;
  --card-foreground: #071a3c;
  --popover: #ffffff;
  --popover-foreground: #071a3c;
  --primary: #0057ff;
  --primary-foreground: #ffffff;
  --secondary: #f4f7fb;
  --secondary-foreground: #17365f;
  --muted: #edf2f8;
  --muted-foreground: #64748b;
  --accent: #eef4ff;
  --accent-foreground: #0b4ec9;
  --border: #dce5f1;
  --input: #cdd8e7;
  --ring: #0057ff;
  --viz-series-1: #0057ff;
  --viz-series-2: #38df9c;
  color: var(--cfb-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

html[data-theme="light"] body #fbs-class-dashboard .dashboard-texture {
  inset: 118px 0 auto;
  height: 620px;
  opacity: 0.055;
}

html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-brandbar {
  position: relative;
  isolation: isolate;
  min-height: 154px;
  margin-bottom: 18px;
  padding: 28px 32px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 84% 8%, rgb(76 142 255 / 34%), transparent 30%),
    linear-gradient(115deg, var(--cfb-navy), #0b54d8);
  box-shadow: 0 16px 34px rgb(6 27 67 / 16%);
}

html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-brandbar::after {
  position: absolute;
  z-index: -1;
  inset: auto -54px -96px auto;
  width: 280px;
  height: 280px;
  border: 42px solid rgb(255 255 255 / 6%);
  border-radius: 50%;
  content: "";
}

html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-brand {
  align-self: flex-start;
}

html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-wordmark {
  width: clamp(180px, 22vw, 240px);
  filter: invert(1) drop-shadow(0 4px 14px rgb(0 0 0 / 20%));
}

html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-brand-copy {
  gap: 5px;
  color: #ffffff;
}

html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-brand-kicker {
  color: #b8d1ff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-brand-title {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

html[data-theme="light"] body #fbs-class-dashboard .dashboard-head {
  position: relative;
  align-items: center;
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid var(--cfb-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgb(16 37 71 / 6%);
}

html[data-theme="light"] body #fbs-class-dashboard .team-identity {
  gap: 15px;
}

html[data-theme="light"] body #fbs-class-dashboard .team-logo {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  --team-logo-size: 64px;
  background-size: calc(var(--team-logo-size) * 12) calc(var(--team-logo-size) * 12);
  background-position: calc(var(--logo-column, 0) * var(--team-logo-size) * -1) calc(var(--logo-row, 0) * var(--team-logo-size) * -1);
  filter: drop-shadow(0 4px 7px rgb(16 37 71 / 14%));
}

html[data-theme="light"] body #fbs-class-dashboard .team-copy h2 {
  color: #0c2856;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

html[data-theme="light"] body #fbs-class-dashboard .dashboard-head p {
  color: var(--cfb-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

html[data-theme="light"] body #fbs-class-dashboard .team-colors {
  width: 86px;
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px #cdd8e7;
}

html[data-theme="light"] body #fbs-class-dashboard .team-control {
  color: #53647d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-theme="light"] body #fbs-class-dashboard .team-control .form-select {
  min-height: 42px;
  margin-top: 6px;
  padding-inline: 13px 38px;
  border-color: #cfd9e8;
  border-radius: 9px;
  color: #102449;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgb(16 37 71 / 4%);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

html[data-theme="light"] body #fbs-class-dashboard .team-control .form-select:focus-visible {
  border-color: var(--team-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--team-primary) 15%, transparent);
}

html[data-theme="light"] body #fbs-class-dashboard .tabbar {
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 18px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--cfb-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgb(16 37 71 / 5%);
  scrollbar-width: thin;
}

html[data-theme="light"] body #fbs-class-dashboard .btn {
  min-height: 36px;
  padding: 0 13px;
  border-color: transparent;
  border-radius: 8px;
  color: var(--team-ink);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
}

html[data-theme="light"] body #fbs-class-dashboard .btn:hover {
  color: var(--team-ink);
  background: color-mix(in srgb, var(--team-primary) 9%, #ffffff);
}

html[data-theme="light"] body #fbs-class-dashboard .btn:is(.btn-primary, [aria-selected="true"]) {
  border-color: transparent;
  color: var(--team-on-primary);
  background: var(--team-primary);
  box-shadow: inset 0 -3px 0 var(--team-secondary), 0 5px 12px color-mix(in srgb, var(--team-primary) 22%, transparent);
}

html[data-theme="light"] body #fbs-class-dashboard .rankings-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--cfb-line);
  border-radius: 10px;
  background: #f6f9fd;
}

html[data-theme="light"] body #fbs-class-dashboard > section[role="tabpanel"] {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid var(--cfb-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgb(16 37 71 / 5.5%);
}

html[data-theme="light"] body #fbs-class-dashboard .metrics {
  gap: 10px;
  margin-bottom: 20px;
}

html[data-theme="light"] body #fbs-class-dashboard .metrics .card {
  min-height: 92px;
  padding: 15px 16px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgb(238 244 255 / 72%), transparent 72%),
    #ffffff;
  box-shadow: none;
}

html[data-theme="light"] body #fbs-class-dashboard .viz-stat {
  gap: 5px;
}

html[data-theme="light"] body #fbs-class-dashboard .viz-stat-value {
  color: var(--team-ink);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

html[data-theme="light"] body #fbs-class-dashboard .viz-stat .text-muted,
html[data-theme="light"] body #fbs-class-dashboard .text-muted {
  color: var(--cfb-muted);
}

html[data-theme="light"] body #fbs-class-dashboard .section {
  margin-bottom: 16px;
  padding: 17px;
  border: 1px solid #e0e8f2;
  border-radius: 12px;
  background: #ffffff;
}

html[data-theme="light"] body #fbs-class-dashboard .overview-grid {
  gap: 14px;
}

html[data-theme="light"] body #fbs-class-dashboard .section-head {
  margin-bottom: 14px;
}

html[data-theme="light"] body #fbs-class-dashboard .section-head h3,
html[data-theme="light"] body #fbs-class-dashboard .coach-copy h3 {
  color: #102f5d;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.018em;
}

html[data-theme="light"] body #fbs-class-dashboard .section-head p,
html[data-theme="light"] body #fbs-class-dashboard .coach-data-note,
html[data-theme="light"] body #fbs-class-dashboard .state-detail {
  color: var(--cfb-muted);
}

html[data-theme="light"] body #fbs-class-dashboard .bar-track,
html[data-theme="light"] body #fbs-class-dashboard .position-bar-track,
html[data-theme="light"] body #fbs-class-dashboard .fit-score-track,
html[data-theme="light"] body #fbs-class-dashboard .star-stack {
  border-radius: 999px;
  background: #e9eff7;
}

html[data-theme="light"] body #fbs-class-dashboard .bar-fill,
html[data-theme="light"] body #fbs-class-dashboard .position-bar-fill,
html[data-theme="light"] body #fbs-class-dashboard .fit-score-fill,
html[data-theme="light"] body #fbs-class-dashboard .star-segment {
  border-radius: 999px;
}

html[data-theme="light"] body #fbs-class-dashboard .star-segment {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgb(0 0 0 / 34%);
}

html[data-theme="light"] body #fbs-class-dashboard .timeline-fill {
  background: var(--team-secondary);
}

html[data-theme="light"] body #fbs-class-dashboard .state-shape {
  fill: #e6edf7;
  stroke: #ffffff;
}

html[data-theme="light"] body #fbs-class-dashboard .table-responsive {
  border: 1px solid #e0e8f2;
  border-radius: 11px;
  background: #ffffff;
}

html[data-theme="light"] body #fbs-class-dashboard .table {
  color: #17365f;
  font-size: 0.78rem;
}

html[data-theme="light"] body #fbs-class-dashboard .table :is(th, td) {
  padding: 10px 12px;
  border-bottom-color: #e7edf5;
  vertical-align: middle;
}

html[data-theme="light"] body #fbs-class-dashboard .table thead th {
  color: #5b6c84;
  background: #f4f7fb;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

html[data-theme="light"] body #fbs-class-dashboard .table tbody tr:hover td {
  background: #f8faff;
}

html[data-theme="light"] body #fbs-class-dashboard .table a {
  color: #0b58db;
  font-weight: 700;
}

html[data-theme="light"] body #fbs-class-dashboard .viz-badge {
  border: 1px solid color-mix(in srgb, var(--team-primary) 25%, #dce5f1);
  border-radius: 999px;
  color: var(--team-ink);
  background: color-mix(in srgb, var(--team-primary) 8%, #ffffff);
  font-size: 0.68rem;
  font-weight: 800;
}

html[data-theme="light"] body #fbs-class-dashboard .coach-profile {
  padding: 15px;
  border: 1px solid #e0e8f2;
  border-radius: 12px;
  background: linear-gradient(145deg, #eef4ff, #ffffff);
}

html[data-theme="light"] body #fbs-class-dashboard .coach-monogram {
  border-width: 3px;
  border-radius: 13px;
  color: #ffffff;
  box-shadow: 0 6px 14px rgb(16 37 71 / 12%);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

html[data-theme="light"] body #fbs-class-dashboard .fit-score strong {
  color: var(--team-ink);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

html[data-theme="light"] body #fbs-class-dashboard :is(.bar-value, .position-volume-value),
html[data-theme="light"] body #fbs-class-dashboard .table tbody td:is(.text-end, .text-center) {
  color: var(--team-ink);
}

html[data-theme="light"] body #fbs-class-dashboard .target-status.is-open {
  border-color: #a9c7fa;
}

html[data-theme="light"] body #fbs-class-dashboard .empty-state {
  color: var(--cfb-muted);
  border: 1px dashed #cfdbea;
  border-radius: 10px;
  background: #f8faff;
  text-align: center;
}

html[data-theme="light"] body #fbs-class-dashboard .source-line {
  margin-top: 8px;
  padding: 15px 4px 2px;
  border-top-color: #dce5f1;
  color: #71819b;
  font-size: 0.72rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  html[data-theme="light"] body #fbs-class-dashboard {
    font-size: 13px;
  }

  html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-brandbar {
    min-height: 0;
    padding: 23px 20px;
    border-radius: 13px;
  }

  html[data-theme="light"] body #fbs-class-dashboard .cfbdepth-wordmark {
    width: min(100%, 205px);
  }

  html[data-theme="light"] body #fbs-class-dashboard .dashboard-head {
    padding: 16px;
  }

  html[data-theme="light"] body #fbs-class-dashboard .team-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    --team-logo-size: 54px;
  }

  html[data-theme="light"] body #fbs-class-dashboard > section[role="tabpanel"] {
    padding: 14px;
  }

  html[data-theme="light"] body #fbs-class-dashboard .section {
    padding: 14px;
  }

  html[data-theme="light"] body #fbs-class-dashboard .tabbar {
    margin-inline: -1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="light"] body #fbs-class-dashboard *,
  html[data-theme="light"] body #fbs-class-dashboard *::before,
  html[data-theme="light"] body #fbs-class-dashboard *::after {
    scroll-behavior: auto !important;
  }
}
