/* Page centering */
.page-center {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 48px;
}

/* Hero container */
.hero-box {
  text-align: center;
  margin-bottom: 24px;
}

/* Headings */
.hero-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1f2937; /* slate-800 */
}

.hero-subtitle {
  font-size: 15px;
  color: #6b7280; /* gray-500 */
  margin-bottom: 18px;
}

/* --- dcc.Dropdown Styling --- */
/* Supports both old react-select (Dash < 3) and new Radix (Dash 3+) */

/* ---- OLD react-select selectors (keep as fallback) ---- */
.modern-dropdown .Select-control {
  height: 56px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 0 14px;
  font-size: 18px;
  transition: all 0.15s ease;
}
.modern-dropdown .Select-control:hover { border-color: #c7d2fe; }
.modern-dropdown.is-focused .Select-control {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}
.modern-dropdown .Select-placeholder { line-height: 56px; color: #9ca3af; }
.modern-dropdown .Select-value-label { line-height: 56px; font-weight: 500; color: #6b7280; }
.modern-dropdown .Select-arrow { border-color: #6b7280 transparent transparent; }
.modern-dropdown .Select-menu-outer {
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  border: none; margin-top: 6px;
}
.modern-dropdown .Select-option { padding: 12px 16px; font-size: 16px; }
.modern-dropdown .Select-option.is-focused { background-color: #eef2ff; }
.modern-dropdown .Select-option.is-selected { background-color: #6366f1; color: white; }


/* ============================================
   NEW Radix-based dcc.Dropdown (Dash 3.x)
   ============================================ */

/* --- Trigger button (the closed dropdown control) --- */
button.dash-dropdown.modern-dropdown {
  height: 56px;
  border-radius: 14px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 0 18px !important;
  font-size: 18px;
  background-color: #ffffff !important;
  transition: all 0.15s ease;
  cursor: pointer;
  width: 100%;
}

button.dash-dropdown.modern-dropdown:hover {
  border-color: #c7d2fe !important;
}

button.dash-dropdown.modern-dropdown[data-state="open"] {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

/* Placeholder text */
button.dash-dropdown.modern-dropdown .dash-dropdown-placeholder {
  color: #9ca3af;
  font-size: 18px;
  font-weight: 400;
}

/* Selected value text */
button.dash-dropdown.modern-dropdown .dash-dropdown-value:not(.dash-dropdown-placeholder) {
  color: #6b7280;
  font-weight: 500;
  font-size: 18px;
}

/* Chevron icon */
button.dash-dropdown.modern-dropdown .dash-dropdown-trigger-icon {
  color: #6b7280;
}

/* --- Dropdown popover content (the open menu) --- */
.modern-dropdown ~ [data-radix-popper-content-wrapper] .dash-dropdown-content,
.dash-dropdown-wrapper:has(.modern-dropdown) .dash-dropdown-content {
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15) !important;
  border: none !important;
}

/* Search input inside dropdown */
.modern-dropdown ~ [data-radix-popper-content-wrapper] .dash-dropdown-search,
.dash-dropdown-wrapper:has(.modern-dropdown) .dash-dropdown-search {
  font-size: 16px;
  padding: 10px 12px;
}

/* Option items */
.modern-dropdown ~ [data-radix-popper-content-wrapper] .dash-dropdown-option,
.dash-dropdown-wrapper:has(.modern-dropdown) .dash-dropdown-option {
  padding: 12px 16px !important;
  font-size: 16px;
  cursor: pointer;
}

/* Hovered option */
.modern-dropdown ~ [data-radix-popper-content-wrapper] .dash-dropdown-option:hover,
.dash-dropdown-wrapper:has(.modern-dropdown) .dash-dropdown-option:hover {
  background-color: #eef2ff !important;
}

/* Selected option */
.modern-dropdown ~ [data-radix-popper-content-wrapper] .dash-dropdown-option[aria-selected="true"],
.dash-dropdown-wrapper:has(.modern-dropdown) .dash-dropdown-option[aria-selected="true"] {
  background-color: #6366f1 !important;
  color: white !important;
}

/* Hide the radio button circles in options for cleaner look */
button.dash-dropdown.modern-dropdown ~ [data-radix-popper-content-wrapper] .dash-options-list-option-checkbox,
.dash-dropdown-wrapper:has(.modern-dropdown) .dash-options-list-option-checkbox {
  display: none;
}

/* Results spacing */
.results-wrapper {
  margin-top: 24px;
}


/* Smaller control bar for Matchup page */
/* ---- OLD react-select (fallback) ---- */
.compact-dropdown .Select-control {
  height: 40px; min-height: 40px; font-size: 14px;
  padding: 0 10px; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}
.compact-dropdown .Select-placeholder,
.compact-dropdown .Select-value-label {
  line-height: 38px; color: #6b7280; font-size: 14px;
}
.compact-dropdown .Select-arrow-zone { padding-top: 2px; }

/* ---- NEW Radix (Dash 3.x) ---- */
button.dash-dropdown.compact-dropdown {
  height: 40px;
  min-height: 40px;
  border-radius: 8px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  padding: 0 10px !important;
  font-size: 14px;
  background-color: #ffffff !important;
}

button.dash-dropdown.compact-dropdown .dash-dropdown-placeholder,
button.dash-dropdown.compact-dropdown .dash-dropdown-value {
  color: #6b7280;
  font-size: 14px;
}

button.dash-dropdown.compact-dropdown .dash-dropdown-trigger-icon {
  color: #6b7280;
}

/* Hide radio circles in compact dropdowns too */
.dash-dropdown-wrapper:has(.compact-dropdown) .dash-options-list-option-checkbox {
  display: none;
}

/* =========================
   Robotic / Compute Button
   ========================= */
.robot-button {
  background: linear-gradient(180deg, #2b2f33, #1f2327);
  color: #f1f3f5;
  border: 1px solid #3a3f44;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: all 0.15s ease-in-out;
}

/* Hover */
.robot-button:hover {
  background: linear-gradient(180deg, #343a40, #262b30);
  border-color: #4a5056;
  transform: translateY(-1px);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Active / pressed */
.robot-button:active {
  transform: translateY(0);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(0,0,0,0.4);
}

/* Disabled (future-proof) */
.robot-button:disabled {
  background: #2a2e32;
  color: #9aa0a6;
  border-color: #2a2e32;
  box-shadow: none;
  cursor: not-allowed;
}


.about-positions ul {
    padding-left: 18px;
    margin-top: 6px;
}

.about-positions li {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.about-positions strong {
    letter-spacing: 0.4px;
}


.filter-group-header {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 6px;
}



/* ============================
   Base Styled Accordion
   ============================ */

.styled-accordion {
  margin: 0 auto;
}

/* Accordion item container */
.styled-accordion .accordion-item {
  border: none;
  border-radius: 18px;
  background: #ffffff;
  overflow: visible;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

/* Collapsed (closed) state */
.styled-accordion .accordion-button.collapsed {
  background-color: #ffffff;
  color: #6b7280;
  font-weight: 600;
  font-size: 14px;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Expanded (open) state */
.styled-accordion .accordion-button:not(.collapsed) {
  background-color: #e0ecff;
  color: #0f3d7a;
  box-shadow: none;
}

/* Remove focus ring */
.styled-accordion .accordion-button:focus {
  box-shadow: none;
}

/* Chevron */
.styled-accordion .accordion-button::after {
  background-size: 14px;
  opacity: 0.7;
}

/* Body */
.styled-accordion .accordion-body {
  padding: 14px 16px 18px;
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Allow dropdowns & shadows to escape */
.styled-accordion,
.styled-accordion .accordion-item,
.styled-accordion .accordion-body {
  overflow: visible !important;
}





/* ============================
   Year Accordion (Secondary Hero)
   ============================ */

.year-accordion {
  max-width: 420px;
  margin: 0 auto;
}

/* Accordion item container */
.year-accordion .accordion-item {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
}

/* ============================
   COLLAPSED (closed) state
   ============================ */
.year-accordion .accordion-button.collapsed {
  background-color: #ffffff;          /* 👈 match hero dropdown bg */
  color: #6b7280;
  font-weight: 600;
  font-size: 14px;
  border-radius: 14px;
  padding: 12px 16px;

  /* 👇 same shadow language as dropdowns */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* ============================
   EXPANDED (open) state
   ============================ */
.year-accordion .accordion-button:not(.collapsed) {
  background-color: #e0ecff;          /* your light blue active state */
  color: #0f3d7a;
  box-shadow: none;
}

/* Remove default focus ring */
.year-accordion .accordion-button:focus {
  box-shadow: none;
}

/* Chevron */
.year-accordion .accordion-button::after {
  background-size: 14px;
  opacity: 0.7;
}

/* Body */
.year-accordion .accordion-body {
  padding: 14px 16px 18px;
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Text inside */
.year-accordion-text {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.35;
}

/* ============================
   Force visible outer shadow
   ============================ */

.year-accordion .accordion-item {
  background: #ffffff;
  border-radius: 18px;

  /* 👇 THIS is the missing shadow */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);

  /* spacing + clipping */
  overflow: visible;
}

/* Remove competing shadows so it looks clean */
.year-accordion .accordion-button {
  box-shadow: none !important;
}

/* Allow dropdowns to escape accordion */
.year-accordion .accordion-item,
.year-accordion .accordion-body {
  overflow: visible !important;
}

/* Ensure dropdown menus appear above accordions/cards */
.Select-menu-outer {
  z-index: 9999 !important;
}

/* New Dash 3.x dropdown popover z-index */
[data-radix-popper-content-wrapper] {
  z-index: 9999 !important;
}

/* Prevent clipping anywhere in layout */
.accordion,
.accordion-collapse,
.accordion-body {
  overflow: visible;
}





/* ============================
   Full-width Profile Accordion
   ============================ */

.profile-accordion {
  max-width: 100%;
}


.profile-accordion {
  max-width: 1100px; /* if you want a premium, centered feel */
}


