/* =========================================================
   R76 Extra Tryouts — Clean, Consolidated CSS (scoped)
   Button orange updated to #ef832f
========================================================= */

.r76-tryouts{
  /* Brand / accents */
  --r76-orange: #ef832f;      /* CTA orange (your requested color) */
  --r76-orangeDark: #d86f1f;  /* darker hover/active companion */
  --r76-red: #d93025;

  /* Neutrals */
  --r76-border: rgba(0,0,0,.14);
  --r76-muted: rgba(0,0,0,.66);
  --r76-soft: rgba(0,0,0,.03);

  line-height: 1.45;
}

/* Optional banner (if used) */
.r76-tryouts .r76-banner{
  border: 1px solid var(--r76-border);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  margin: 0 0 14px;
}
.r76-tryouts .r76-banner--neutral{
  background: var(--r76-soft);
}

/* Typography / layout */
.r76-tryouts .r76-hero{ padding: 6px 0 10px; }
.r76-tryouts .r76-title{ margin: 0 0 .25rem; }
.r76-tryouts .r76-subtitle{ margin: 0 0 1rem; color: var(--r76-muted); }
.r76-tryouts .r76-updated{ margin: .75rem 0 0; color: var(--r76-muted); font-size: .95rem; }

.r76-tryouts .r76-ctaRow{
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: .75rem 0 .25rem;
}

.r76-tryouts .r76-hr{
  margin: 22px 0;
  border: 0;
  border-top: 1px solid var(--r76-border);
}
.r76-tryouts .r76-hr--soft{ margin: 18px 0; }

.r76-tryouts .r76-section h2{ margin-top: 0; }
.r76-tryouts .r76-note{ margin: 0 0 10px; color: var(--r76-muted); }

/* =========================================================
   Buttons (themed)
========================================================= */
.r76-tryouts .r76-btn{
  display: inline-block;
  border-radius: 999px;
  padding: .78rem 1.05rem;
  font-weight: 900;
  letter-spacing: .2px;

  border: 1px solid rgba(0,0,0,.18);
  text-decoration: none;

  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, background .12s ease;
}

/* Primary CTA */
.r76-tryouts .r76-btn--primary{
  color: #fff !important;
  border-color: rgba(0,0,0,.18) !important;
  background: linear-gradient(180deg, var(--r76-orange) 0%, var(--r76-orangeDark) 100%) !important;

  position: relative;
  overflow: hidden;
}

/* Subtle sheen */
.r76-tryouts .r76-btn--primary::after{
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,0) 65%
  );
  transform: translateX(-40%) rotate(8deg);
  transition: transform .35s ease;
  pointer-events: none;
}

.r76-tryouts .r76-btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
  filter: brightness(1.02);
}
.r76-tryouts .r76-btn--primary:hover::after{
  transform: translateX(35%) rotate(8deg);
}
.r76-tryouts .r76-btn--primary:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  filter: brightness(.98);
}

/* Secondary/ghost */
.r76-tryouts .r76-btn--ghost{
  background: #fff !important;
  color: rgba(0,0,0,.88) !important;
  border-color: rgba(0,0,0,.18) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.r76-tryouts .r76-btn--ghost:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* Keyboard focus (accessible, on-brand) */
.r76-tryouts .r76-btn:focus{ outline: none; }
.r76-tryouts .r76-btn:focus-visible{
  box-shadow:
    0 0 0 3px rgba(239,131,47,.24),
    0 0 0 6px rgba(239,131,47,.14),
    0 10px 22px rgba(0,0,0,.16);
}

/* =========================================================
   Callouts
========================================================= */
.r76-tryouts .r76-callout{
  border-radius: 14px;
  border: 1px solid var(--r76-border);
  padding: 12px 14px;
  margin: 14px 0 0;
  background: #fff;
}
.r76-tryouts .r76-callout--danger{
  border-color: rgba(217,48,37,.35);
  background: rgba(217,48,37,.06);
}
.r76-tryouts .r76-callout--neutral{
  border-color: rgba(0,0,0,.14);
  background: var(--r76-soft);
}
.r76-tryouts .r76-calloutTitle{
  margin: 0 0 .4rem;
  font-size: 1.1rem;
}
.r76-tryouts .r76-calloutText{
  margin: 0;
  color: var(--r76-muted);
}
.r76-tryouts .r76-calloutList{
  margin: .35rem 0 0 1.1rem;
}
.r76-tryouts .r76-calloutList li{
  margin: .45rem 0;
}

/* Lists */
.r76-tryouts .r76-checklist{
  margin: .5rem 0 0 1.1rem;
}
.r76-tryouts .r76-checklist li{
  margin: .45rem 0;
}

.r76-tryouts .r76-steps{
  margin: .75rem 0 0 1.25rem;
}
.r76-tryouts .r76-steps li{
  margin: .55rem 0;
}

/* Badges */
.r76-tryouts .r76-badge{
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .85rem;
  border: 1px solid var(--r76-border);
  background: rgba(0,0,0,.03);
}
.r76-tryouts .r76-badge--muted{
  color: var(--r76-muted);
}

/* Location links */
.r76-tryouts .r76-locationLink{
  font-weight: 900;
  text-decoration: none;
}
.r76-tryouts .r76-locationLink--red{ color: var(--r76-red); }
.r76-tryouts .r76-locationLink--orange{ color: var(--r76-orange); }

/* =========================================================
   Schedule table (Desktop/Tablet)
========================================================= */
.r76-tryouts .r76-tableWrap{
  border: 1px solid var(--r76-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.r76-tryouts .r76-table{
  width: 100%;
  border-collapse: collapse;
}

.r76-tryouts .r76-table th,
.r76-tryouts .r76-table td{
  padding: 10px 12px;
  border-bottom: 1px solid var(--r76-border);
  text-align: center;
  vertical-align: middle;
}

/* Force readable header (overrides theme styles) */
.r76-tryouts .r76-table thead th{
  background: #f2f2f2 !important;
  color: #111 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

.r76-tryouts .r76-table tbody tr:nth-child(even){
  background: rgba(0,0,0,.02);
}

.r76-tryouts .r76-mutedRow{
  opacity: .78;
}

/* =========================================================
   Schedule table (Mobile)
   Stacked layout: each row becomes a “card” with labels
========================================================= */
@media (max-width: 720px){
  .r76-tryouts .r76-btn{
    width: 100%;
    text-align: center;
  }

  .r76-tryouts .r76-table,
  .r76-tryouts .r76-table thead,
  .r76-tryouts .r76-table tbody,
  .r76-tryouts .r76-table th,
  .r76-tryouts .r76-table td,
  .r76-tryouts .r76-table tr{
    display: block;
    width: 100%;
  }

  /* Hide header row on mobile */
  .r76-tryouts .r76-table thead{
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }

  /* Each row becomes a “card” */
  .r76-tryouts .r76-table tbody tr{
    border-bottom: 1px solid var(--r76-border);
    padding: 10px 12px;
    background: #fff;
  }

  /* Remove zebra in stacked mode */
  .r76-tryouts .r76-table tbody tr:nth-child(even){
    background: #fff;
  }

  /* Cells become label/value lines */
  .r76-tryouts .r76-table td{
    border: 0;
    padding: 8px 0;
    text-align: left;
  }

  .r76-tryouts .r76-table td::before{
    content: attr(data-label);
    display: block;
    font-weight: 900;
    color: rgba(0,0,0,.68);
    margin-bottom: 2px;
    font-size: .92rem;
  }

  /* Division line reads like a header */
  .r76-tryouts .r76-table td[data-label="Division"]{
    padding-top: 2px;
    font-size: 1.05rem;
    font-weight: 900;
  }
  .r76-tryouts .r76-table td[data-label="Division"]::before{
    color: rgba(0,0,0,.55);
  }

  /* Keep muted rows subtly muted */
  .r76-tryouts .r76-mutedRow{
    background: rgba(0,0,0,.02) !important;
  }
}

/* =========================================================
   FAQ (details/summary)
========================================================= */
.r76-tryouts .r76-faq{
  border: 1px solid var(--r76-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  margin: 10px 0;
}
.r76-tryouts .r76-faq summary{
  cursor: pointer;
  font-weight: 900;
}
.r76-tryouts .r76-faq p{
  margin: .6rem 0 0;
  color: var(--r76-muted);
}
  .r76-modalOverlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: none;            /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 18px;
  }
  .r76-modalOverlay.is-open{ display: flex; }

  .r76-modalPanel{
    position: relative;
    width: min(640px, 100%);
    max-height: min(80vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    padding: 18px 18px 16px;
  }

  .r76-modalTitle{
    margin: 0 34px 12px 0;  /* leave room for X */
    font-size: 20px;
    line-height: 1.2;
  }

  .r76-modalClose{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: rgba(0,0,0,.06);
    cursor: pointer;
    font-size: 22px;
    line-height: 34px;
  }
  .r76-modalClose:hover{ background: rgba(0,0,0,.10); }

/* =========================================================
   Registration — accordion sections (Tryouts aesthetic)
========================================================= */

.r76-reg{
  --r76-orange: #ef832f;
  --r76-orangeDark: #d86f1f;
  --r76-red: #d93025;
  --r76-border: rgba(0,0,0,.14);
  --r76-muted: rgba(0,0,0,.66);
  --r76-soft: rgba(0,0,0,.03);
  line-height: 1.45;
}

/* Main accordion blocks */
.r76-reg .r76-acc{
  border: 1px solid var(--r76-border);
  border-radius: 14px;
  background: #fff;
  margin: 12px 0;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.r76-reg .r76-accSummary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-weight: 900;
}

/* Remove default marker (modern look) */
.r76-reg .r76-accSummary::-webkit-details-marker{ display: none; }

.r76-reg .r76-accTitle{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Right-side meta label */
.r76-reg .r76-accMeta{
  display: inline-block;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .85rem;
  border: 1px solid var(--r76-border);
  background: rgba(0,0,0,.03);
  color: rgba(0,0,0,.72);
  white-space: nowrap;
}
.r76-reg .r76-accMeta--danger{
  border-color: rgba(217,48,37,.35);
  background: rgba(217,48,37,.08);
  color: #a11f18;
}

/* Expand/collapse chevron */
.r76-reg .r76-accSummary::after{
  content: "▾";
  font-weight: 900;
  color: rgba(0,0,0,.55);
  margin-left: 6px;
}
.r76-reg details[open] > .r76-accSummary::after{
  content: "▴";
}

/* Body */
.r76-reg .r76-accBody{
  padding: 12px 14px 14px;
  border-top: 1px solid var(--r76-border);
}

/* Hover / focus */
.r76-reg .r76-accSummary:hover{
  background: rgba(0,0,0,.02);
}
.r76-reg .r76-accSummary:focus{ outline: none; }
.r76-reg .r76-accSummary:focus-visible{
  box-shadow:
    0 0 0 3px rgba(239,131,47,.22),
    0 0 0 6px rgba(239,131,47,.12);
}

/* Sub-accordion inside Requests section */
.r76-reg .r76-regSubAcc{
  margin: 10px 0;
}

/* Make nested <details> match nicely */
.r76-reg .r76-regSubAcc{
  border-radius: 12px;
}

/* Mobile spacing */
@media (max-width: 720px){
  .r76-reg .r76-btn{ width: 100%; text-align: center; }
  .r76-reg .r76-accSummary{ flex-wrap: wrap; }
}
/* =========================================================
   Registration — CTA bar + accordion polish
========================================================= */

/* Make the hero CTA row look like intentional buttons, not inline links */
.r76-reg .r76-regCtaBar{
  gap: .6rem;
  align-items: center;
}

/* Make the primary CTA slightly more prominent */
.r76-reg .r76-regCtaPrimary{
  padding: .85rem 1.15rem;
  font-size: 1.02rem;
}

/* If your site theme is overriding button display, force it */
.r76-reg .r76-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

/* Accordion summary: stronger “section title” feel */
.r76-reg .r76-accSummary{
  padding: 14px 14px;
  font-weight: 900;
  background: #fff;
}

/* Bigger, bolder accordion titles */
.r76-reg .r76-accTitle{
  font-size: 1.08rem;
  letter-spacing: .1px;
}

/* Badge alignment: fixed-width right column so they line up */
.r76-reg .r76-accSummary{
  display: flex;
  align-items: center;
}

/* Left title grows; right column stays aligned */
.r76-reg .r76-accTitle{
  flex: 1 1 auto;
  min-width: 0;
}

/* Meta badge becomes a consistent width and right-aligned */
.r76-reg .r76-accMeta{
  flex: 0 0 160px;           /* consistent alignment column */
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* On small screens, let badge drop under title instead of squeezing */
@media (max-width: 640px){
  .r76-reg .r76-accMeta{
    flex: 0 0 auto;
    width: auto;
  }
}

/* Chevron alignment + spacing */
.r76-reg .r76-accSummary::after{
  flex: 0 0 auto;
  margin-left: 10px;
}

/* Open state: subtle header tint */
.r76-reg details[open] > .r76-accSummary{
  background: rgba(0,0,0,.015);
}

/* Bottom CTA spacing */
.r76-reg .r76-regBottomCta{
  margin-top: 16px;
}

/* Make the “badge” text look a bit more deliberate */
.r76-reg .r76-accMeta{
  font-size: .84rem;
  padding: .22rem .6rem;
}

/* Optional: strengthen visual separation between sections */
.r76-reg .r76-acc{
  margin: 14px 0;
}

/* Mobile: CTA buttons wrap nicely and fill width */
@media (max-width: 720px){
  .r76-reg .r76-btn{
    width: 100%;
  }
}
/* HARD OVERRIDES: make buttons look like buttons no matter what the theme does */
.r76-reg a.r76-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .4rem !important;

  padding: .78rem 1.05rem !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: .2px !important;

  text-decoration: none !important;
  border: 1px solid rgba(0,0,0,.18) !important;
}

/* Primary */
.r76-reg a.r76-btn--primary{
  color: #fff !important;
  background: linear-gradient(180deg, var(--r76-orange) 0%, var(--r76-orangeDark) 100%) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
}

/* Ghost */
.r76-reg a.r76-btn--ghost{
  background: #fff !important;
  color: rgba(0,0,0,.88) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.08) !important;
}
/* =========================================================
   Registration — separate primary CTA from step navigation
========================================================= */

#r76Reg .r76-regPrimaryCta{
  margin: .6rem 0 .35rem;
}

#r76Reg .r76-regStepNav{
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: .35rem;
}

/* Step buttons look a bit “nav-y” vs CTA */
#r76Reg .r76-regStepBtn{
  padding: .62rem .95rem !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.06) !important;
}

/* Make the primary CTA feel like THE action */
#r76Reg .r76-regCtaPrimary{
  padding: .9rem 1.2rem !important;
  font-size: 1.05rem !important;
}

/* Stronger accordion titles */
#r76Reg .r76-accTitle{
  font-size: 1.12rem;
  letter-spacing: .15px;
}

/* Badge alignment column (consistent) */
#r76Reg .r76-accSummary{
  display: flex;
  align-items: center;
}
#r76Reg .r76-accTitle{
  flex: 1 1 auto;
  min-width: 0;
}
#r76Reg .r76-accMeta{
  flex: 0 0 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

/* Mobile behavior */
@media (max-width: 720px){
  #r76Reg .r76-btn{ width: 100%; text-align: center; }
  #r76Reg .r76-accMeta{ flex: 0 0 auto; width: auto; }
}
/* =========================================================
   Registration CTAs — Tryouts-style glimmer (sheen)
========================================================= */

#r76Reg a.r76-glimmer{
  position: relative !important;
  overflow: hidden !important;
}

/* Subtle sheen (same idea as Tryouts) */
#r76Reg a.r76-glimmer::after{
  content: "" !important;
  position: absolute !important;
  inset: -40% -60% !important;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,0) 65%
  ) !important;
  transform: translateX(-40%) rotate(8deg) !important;
  transition: transform .35s ease !important;
  pointer-events: none !important;
}

/* Hover sweep */
#r76Reg a.r76-glimmer:hover::after{
  transform: translateX(35%) rotate(8deg) !important;
}
/* =========================================================
   Registration CTAs — Tryouts-style lift + press
   (applied only to buttons with .r76-glimmer)
========================================================= */

#r76Reg a.r76-glimmer{
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, background .12s ease !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
}

/* Lift on hover */
#r76Reg a.r76-glimmer:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.16) !important;
  filter: brightness(1.02) !important;
}

/* Press on active */
#r76Reg a.r76-glimmer:active{
  transform: translateY(0) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.12) !important;
  filter: brightness(.98) !important;
}

/* Accessible focus ring (same vibe as Tryouts) */
#r76Reg a.r76-glimmer:focus{ outline: none !important; }
#r76Reg a.r76-glimmer:focus-visible{
  box-shadow:
    0 0 0 3px rgba(239,131,47,.24),
    0 0 0 6px rgba(239,131,47,.14),
    0 10px 22px rgba(0,0,0,.16) !important;
}
