/* Weekly Lineup page (choose_1: One & Done/Two & Thru, choose_3: Pick 3 Classic/Let It Ride) -- ported from
   legacy's weekly_lineup_modern.css. Reuses .standingsPosition/.standingsPositionLabel/.standingsPositionBox
   from scorecard.css (both pages render the identical Standings Position strip) and .calloutSuccess/
   .calloutInfo/.calloutWarning from callouts.css for the New Segment/Commissioner's Cup/no-cut reminders. */

.weeklyLineupPage .tournamentBar {
  font-size: 16px;
  font-weight: 700;
  color: var(--ptfg-navy);
  margin-bottom: 12px;
}

.weeklyLineupPage .tournamentBar a {
  color: inherit;
}

.weeklyLineupPage .tournamentDates {
  font-size: 14px;
  font-weight: 400;
  color: var(--ptfg-text-muted);
  margin-left: 6px;
}

/* ---------- Nav buttons (Check Field/Tee Times/Odds Checker/PGA Leaderboard/Past Results/Weather) --
   same look as Weekly Results' own nav buttons (weekly_results.css), duplicated here rather than shared since
   the two pages show a different button set (legacy keeps them as two separate partials too). */
.weeklyLineupPage .navButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.weeklyLineupPage .navButtons .btn.ptfgButtonBlue {
  color: #fff;
  background-color: var(--ptfg-navy);
  border: none;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
  font-weight: 600;
  font-size: 13px;
}

.weeklyLineupPage .navButtons .btn.ptfgButtonBlue:hover {
  background-color: var(--ptfg-navy-dark);
  color: #fff;
}

.weeklyLineupPage .navButtons .btn.ptfgButtonBlue::before {
  margin-right: 5px;
}

.weeklyLineupPage .navButtons a[target="_checkField"]::before {
  content: "\1F50D"; /* magnifying glass */
}

.weeklyLineupPage .navButtons a[target="_teeTimes"]::before {
  content: "\23F0"; /* alarm clock */
}

.weeklyLineupPage .navButtons a[target="_oddsChecker"]::before {
  content: "\1F3B2"; /* die */
}

.weeklyLineupPage .navButtons a[target="_pgaLeaderboard"]::before {
  content: "\1F3C6"; /* trophy */
}

.weeklyLineupPage .navButtons a[target="_pastResults"]::before {
  content: "\1F4DC"; /* scroll */
}

.weeklyLineupPage .navButtons a[target="_weather"]::before {
  content: "\26C5"; /* sun behind cloud */
}

/* ---------- Team picker -- shared with Weekly Lineup All Tournaments, which renders the same
   weekly_lineup/_teams_drop_down partial (see weekly_lineup_all_tournaments/index.html.erb) ---------- */
.weeklyLineupPage .teamsDropDown,
.weeklyLineupAllTournamentsPage .teamsDropDown {
  max-width: 280px;
  margin-bottom: 2px;
}

.weeklyLineupPage .teamsDropDown .input-group-text,
.weeklyLineupAllTournamentsPage .teamsDropDown .input-group-text {
  min-width: 90px;
}

.weeklyLineupPage .teamOwnerNote,
.weeklyLineupAllTournamentsPage .teamOwnerNote {
  display: block;
  font-size: 11px;
  color: var(--ptfg-text-muted);
  margin: 2px 0 12px;
}

/* ---------- Mulligans Remaining / Golfer Usages Allowed status line ---------- */
.weeklyLineupPage .lineupStatusLine {
  font-size: 14px;
  margin-bottom: 4px;
}

.weeklyLineupPage .lineupStatusLine .tag {
  display: inline-block;
  min-width: 14px;
  padding: 1px 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.weeklyLineupPage .lineupStatusNote {
  font-size: 12px;
  color: var(--ptfg-text-muted);
  margin-bottom: 12px;
}

/* ---------- Tournament category banner (Majors/Signature/FedEx Cup Playoffs/Match Play/Two Man Team) ---------- */
.weeklyLineupPage .tournamentCategoryBanner {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.weeklyLineupPage .tournamentCategoryBanner.ptfgButtonRed {
  background-color: var(--ptfg-red);
}

.weeklyLineupPage .tournamentCategoryBanner.ptfgButtonBabyBlue {
  background-color: #bbd9ee;
  color: #000;
}

.weeklyLineupPage .tournamentCategoryBanner.ptfgButtonBlue {
  background-color: var(--ptfg-navy);
}

.weeklyLineupPage .tournamentCategoryBanner.ptfgButtonGreen {
  background-color: var(--ptfg-green);
}

/* ---------- Cut indicator / auto-sub notice ---------- */
.weeklyLineupPage .cutIndicatorNoticeLabel {
  font-weight: 700;
  text-transform: uppercase;
  color: #6b4d10;
}

.weeklyLineupPage .cutIndicator img {
  height: 16px;
  vertical-align: text-bottom;
  margin-right: 4px;
}

.weeklyLineupPage .autoSubBanner {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background-color: var(--ptfg-green);
  margin-bottom: 6px;
}

.weeklyLineupPage .autoSubNote {
  font-size: 11px;
  color: var(--ptfg-text-muted);
  margin-bottom: 10px;
}

/* ---------- Lineup cards (Starting Lineup / 3rd Round Sub / 4th Round Sub) -- built on <fieldset>/<legend>
   (not Bootstrap's .card/.card-header) so the legend text itself stays exactly what the integration tests
   assert on ("Starting Lineup (locked)" etc.); only its visual treatment is card-like. ---------- */
.weeklyLineupPage .ptfgLineupCard {
  width: 480px;
  max-width: 100%;
  margin-bottom: 14px;
  border: 1px solid var(--ptfg-border);
  border-radius: 10px;
  overflow: hidden;
}

.weeklyLineupPage .ptfgLineupCard fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.weeklyLineupPage .ptfgLineupCard legend {
  display: block;
  width: 100%;
  float: none;
  margin: 0;
  padding: 10px 16px;
  background: var(--ptfg-bg-tint);
  border-bottom: 1px solid var(--ptfg-border);
  color: var(--ptfg-navy);
  font-size: 14px;
  font-weight: 700;
}

.weeklyLineupPage .ptfgLineupCard legend img {
  margin-left: 6px;
  vertical-align: middle;
}

.weeklyLineupPage .ptfgLineupCardBody {
  padding: 14px 16px 12px;
}

.weeklyLineupPage .ptfgLineupCardBody .input-group {
  max-width: 380px;
  margin-bottom: 10px;
}

.weeklyLineupPage .ptfgLineupCardBody .input-group-text {
  width: 115px;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.weeklyLineupPage .ptfgLineupCardBody select.form-control {
  font-size: 14px;
}

.weeklyLineupPage .ptfgLineupCardBody hr {
  margin: 14px 0;
}

.weeklyLineupPage .addGolferText {
  font-size: 11px;
  color: var(--ptfg-text-muted);
  margin-bottom: 10px;
}

/* "What is an alternate pick?" native <details>/<summary> disclosure. */
.weeklyLineupPage .alternatePickExplanation {
  font-size: 12px;
  color: var(--ptfg-text-muted);
  margin-bottom: 10px;
}

.weeklyLineupPage .alternatePickExplanation summary {
  cursor: pointer;
  color: var(--ptfg-info);
}

.weeklyLineupPage .alternatePickExplanation div {
  margin-top: 6px;
  line-height: 1.5;
}

.weeklyLineupPage .noShowStatusNote {
  font-size: 12px;
  color: var(--ptfg-red-text);
  margin-bottom: 10px;
}

/* ---------- Swap arrows (choose_1 only) ---------- */
.weeklyLineupPage .weeklyLineupSwapArrows {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ptfg-bg-tint);
  border: 1px solid var(--ptfg-border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 12px;
}

.weeklyLineupPage .weeklyLineupSwapArrows button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}

.weeklyLineupPage .weeklyLineupSwapArrows button img {
  height: 28px;
  width: auto;
}

/* ---------- Check field reminder / submit button ---------- */
.weeklyLineupPage .checkFieldText {
  font-size: 11px;
  color: var(--ptfg-text-muted);
  max-width: 480px;
  margin-bottom: 10px;
}

.weeklyLineupPage .lineupSubmitButton {
  max-width: 480px;
}

.weeklyLineupPage .lineupSubmitButton #submitLineupButton {
  border-radius: 6px;
  font-weight: 600;
  padding: 6px 18px;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
}

.weeklyLineupPage .lineupSubmitButton small {
  display: block;
  font-size: 12px;
  color: var(--ptfg-text-muted);
  margin-top: 4px;
}
