/* Shared UI consistency layer for dashboard pages */

.awre-theme,
.awre-schedule {
  --awre-ui-font: "Inter", "SF Pro Text", "SF Pro Display", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --awre-ui-blue: #3f5fda;
  --awre-ui-blue-hover: #3551c2;
  --awre-ui-blue-shadow: 0 12px 24px rgba(53, 81, 194, 0.28);
  --awre-ui-surface: #ffffff;
  --awre-ui-muted-surface: #f7f9fd;
  --awre-ui-border: #d5deed;
  --awre-ui-text: #131f38;
  --awre-ui-muted-text: #6d7d98;
  --awre-ui-control-height: 40px;
  --awre-ui-control-radius: 14px;
  --awre-ui-pill-radius: 999px;
  --awre-ui-menu-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);

  font-family: var(--awre-ui-font);
}

.schedule-btn,
.roster-add-btn,
.team-ops-chip,
.awre-btn {
  border-radius: 18px;
}

.schedule-btn--primary,
.roster-add-btn,
.team-ops-chip--primary,
.awre-btn--primary {
  background: var(--awre-ui-blue);
  border-color: var(--awre-ui-blue);
  box-shadow: var(--awre-ui-blue-shadow);
}

.schedule-btn--primary:hover,
.roster-add-btn:hover,
.team-ops-chip--primary:hover,
.awre-btn--primary:hover {
  background: var(--awre-ui-blue-hover);
  border-color: var(--awre-ui-blue-hover);
}

.schedule-btn--outline,
.team-ops-chip:not(.team-ops-chip--primary),
.awre-btn--secondary {
  border-color: #ccd7ea;
  background: #ffffff;
  color: #16213b;
}

.schedule-btn--outline:hover,
.team-ops-chip:not(.team-ops-chip--primary):hover,
.awre-btn--secondary:hover {
  border-color: #a6b8d8;
  color: #273a62;
  background: #fbfdff;
}

.schedule-view-toggle,
.roster-view-toggle,
.team-ops-segmented {
  border: 1px solid #e4eaf5;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.07);
}

.schedule-view-toggle button,
.roster-view-toggle button,
.team-ops-segmented-item {
  color: #73839d;
}

.schedule-view-toggle button:hover,
.roster-view-toggle button:hover,
.team-ops-segmented-item:hover {
  color: #344668;
}

.schedule-view-toggle button.is-active,
.roster-view-toggle button.is-active,
.team-ops-segmented-item.is-active {
  background: #0d1b43;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.schedule-filter-trigger,
.schedule-season-select,
.roster-season-select,
.awre-custom-select__trigger,
.team-ops-field input,
.team-ops-field select {
  border-color: #ccd7ea;
  color: #1b2740;
}

.schedule-filter-trigger:focus-visible,
.schedule-season-select:focus,
.roster-season-select:focus,
.awre-custom-select__trigger:focus-visible,
.awre-custom-select.is-open .awre-custom-select__trigger,
.team-ops-field input:focus,
.team-ops-field select:focus {
  border-color: var(--awre-ui-blue);
  box-shadow: 0 0 0 2px rgba(63, 95, 218, 0.18);
}

.schedule-filter-menu,
.awre-custom-select__menu {
  border-color: #d9e1f0;
  box-shadow: var(--awre-ui-menu-shadow);
  border-radius: 14px;
  background: #ffffff;
}

.schedule-filter-option,
.awre-custom-select__option {
  min-height: 32px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.schedule-filter-option:hover,
.awre-custom-select__option:hover {
  background: linear-gradient(90deg, #f2f6ff 0%, #eef3ff 100%);
  color: #2f4ebc;
}

.schedule-filter-option.is-active,
.awre-custom-select__option.is-selected {
  background: linear-gradient(90deg, #6b2ee0 0%, #8045e4 100%);
  color: #ffffff;
}

.schedule-filter-option.is-active:hover,
.awre-custom-select__option.is-selected:hover {
  background: linear-gradient(90deg, #5f28cb 0%, #7338d8 100%);
  color: #ffffff;
}

.schedule-table,
.roster-table,
.team-ops-card {
  border-color: #dce4f2;
}

.schedule-table th,
.roster-table th {
  color: #5f6f8b;
}

.schedule-table td,
.roster-table td {
  color: #60718d;
}

.roster-row:hover,
.schedule-card:hover,
.roster-kanban-card:hover,
.schedule-kanban-card:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

/* Shared top-level page navigation. */
.awre-underline-shell {
  display: block;
  padding: 0;
  border-bottom: 0;
  margin-bottom: 14px;
}

.awre-underline-tabs {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 34px;
  padding: 0 0 0 4px;
  border: 0;
  border-bottom: 1px solid #e3e8f1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.awre-underline-tabs::-webkit-scrollbar {
  display: none;
}

.awre-underline-tabs > .awre-underline-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 0;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1d293d;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  text-decoration: none;
  transform: none;
  transition: color 0.16s ease;
  white-space: nowrap;
}

.awre-underline-tabs > .awre-underline-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
}

.awre-underline-tabs > .awre-underline-tab:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #34425a;
  transform: none;
}

.awre-underline-tabs > .awre-underline-tab.is-active {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #5e5cf4;
  font-weight: 650;
}

.awre-underline-tabs > .awre-underline-tab.is-active::after {
  background: #6c63ff;
}

@media (max-width: 767px) {
  .awre-underline-tabs {
    gap: 24px;
  }

  .awre-underline-tabs > .awre-underline-tab {
    min-height: 48px;
    font-size: 13px;
  }
}
