@charset "UTF-8";

:root
{
  --bg: #f3f4f6;
  --card: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --brand: #10b981;
  --brand-2: #06b6d4;
  --accent: #f59e0b;
  --danger: #ef4444;
  --ok: #22c55e;
  --ring: rgba(16, 185, 129, .22);
  --radius: 16px;
  --gap: 16px;

  --border: rgba(15, 23, 42, .12);
  --shadow: 0 10px 28px rgba(15, 23, 42, .08);
  --shadow-2: 0 6px 16px rgba(15, 23, 42, .07);
}

body
{
  background: linear-gradient(180deg, #f6f7f9, #f1f3f6 35%, #eef1f4);
  color: var(--ink);
}

.sr-only
{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navbar */
.navbar
{
  background: rgba(248, 250, 252, .88);
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.navbar a,
.navbar button
{
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
}

.navbar a:hover,
.navbar button:hover
{
  color: var(--brand);
}

/* hide nav + title/menu on mobile */
@media (max-width: 768px)
{
  .navbar,
  .navbar .title,
  .navbar .menu
  {
    display: none !important;
  }
}

.banner
{
  background: linear-gradient(90deg, rgba(16, 185, 129, .16), rgba(6, 182, 212, .16));
  border: 1px solid rgba(16, 185, 129, .28);
  color: #064e3b;
  padding: 10px 16px;
  border-radius: 12px;
  margin: 12px auto;
  max-width: 1200px;
  font-weight: 800;
}

.hero
{
  max-width: 1200px;
  margin: 24px auto;
  padding: 16px;
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.hero__text
{
  flex: 1;
}

.hero__text h1
{
  margin: 0 0 6px;
  font-size: clamp(22px, 4vw, 30px);
}

.hero__text p
{
  margin: 0;
  color: var(--muted);
}

.hero__meta
{
  display: grid;
  gap: 6px;
  min-width: 280px;
  color: var(--ink);
}

.alert
{
  max-width: 1200px;
  margin: 0 auto 12px;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
}

.alert--success
{
  background: rgba(34, 197, 94, .10);
  border: 1px solid rgba(34, 197, 94, .28);
  color: #064e3b;
}

.alert--error
{
  background: rgba(239, 68, 68, .10);
  border: 1px solid rgba(239, 68, 68, .28);
  color: #7f1d1d;
}

.layout
{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

@media (max-width: 1000px)
{
  .layout
  {
    grid-template-columns: 1fr;
  }
}

.card
{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.section-title
{
  margin: 12px 0 10px;
  font-size: 20px;
}

.form .muted
{
  color: var(--muted);
}

.req
{
  color: var(--accent);
}

.grid
{
  display: grid;
  gap: 14px;
}

.grid--2
{
  grid-template-columns: 1fr 1fr;
}

.grid--3
{
  grid-template-columns: 1fr 1fr 1fr;
}

.field--full
{
  grid-column: 1 / -1;
}

@media (max-width: 760px)
{
  .grid--2,
  .grid--3
  {
    grid-template-columns: 1fr;
  }
}

/* Inputs */
.input,
select,
textarea
{
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .16);
  box-sizing: border-box;
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  min-height: 44px;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

/* Fix Date of Birth / date input overlap */
input[type="date"].input,
input[type="date"],
.input[type="date"]
{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  line-height: 1.2;
}

input[type="date"]::-webkit-calendar-picker-indicator
{
  opacity: .85;
  cursor: pointer;
  filter: none;
}

.input::placeholder,
textarea::placeholder
{
  color: rgba(71, 85, 105, .75);
}

.input:focus,
select:focus,
textarea:focus
{
  border-color: rgba(16, 185, 129, .75);
  box-shadow: 0 0 0 4px var(--ring);
}

.pricing
{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px)
{
  .pricing
  {
    grid-template-columns: 1fr;
  }
}

.pricing__group h3
{
  margin: .25rem 0 6px;
}

.pricing__list
{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pricing__item
{
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}

.pricing__label
{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.pricing__checkbox
{
  accent-color: var(--brand);
}

.pricing__name
{
  flex: 1;
}

.price
{
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .35);
  color: #7c2d12;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 900;
  min-width: 64px;
  text-align: center;
}

/* Helper notes (between competitions and payment) */
.helper-box
{
  margin-top: 16px;
  padding: 14px 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}

.helper-box__title
{
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 800;
}

.helper-box__list
{
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.92);
}

.helper-box__list li
{
  margin: 6px 0;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 520px)
{
  .helper-box
  {
    padding: 12px 12px;
    font-size: 12px;
    line-height: 1.35;
  }

  .helper-box__title
  {
    font-size: 13px;
  }

  .helper-box__list li
  {
    margin: 5px 0;
  }
}

.pay
{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.pay__opt
{
  display: flex;
  gap: 8px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .12);
  padding: 8px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.pay__cc
{
  margin-top: 8px;
}



/* Wallet buttons: visual selectors only. Actual payment starts from Submit nomination. */
.wallet-button-row
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
}

.wallet-button-wrap
{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  max-width: 100%;
  min-width: 0;
}

.pay__wallet-radio
{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wallet-brand-button
{
  width: 150px;
  max-width: 100%;
  height: 38px;
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.wallet-brand-button:hover
{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .20);
}

.wallet-brand-button:focus-visible
{
  outline: none;
  box-shadow: 0 0 0 4px var(--ring), 0 12px 24px rgba(15, 23, 42, .20);
}

.wallet-brand-button--selected
{
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .22), 0 12px 24px rgba(15, 23, 42, .18);
}

.apple-pay-brand-button
{
  background: #000000;
  color: #ffffff;
  appearance: -apple-pay-button;
  -webkit-appearance: -apple-pay-button;
  -apple-pay-button-type: plain;
  -apple-pay-button-style: black;
}

.apple-pay-fallback
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.apple-pay-mark
{
  width: 18px;
  height: 22px;
  fill: currentColor;
}

.apple-pay-word
{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.02em;
}

@supports (-webkit-appearance: -apple-pay-button)
{
  .apple-pay-fallback
  {
    display: none;
  }
}

.google-pay-brand-button
{
  background: #000000;
  color: #ffffff;
}

.google-pay-lockup
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffffff;
  line-height: 1;
}

.google-pay-g
{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.google-pay-word
{
  color: #ffffff;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
}

@media (max-width: 520px)
{
  .wallet-button-row
  {
    gap: 9px;
  }

  .wallet-button-wrap,
  .wallet-brand-button
  {
    width: 142px;
    height: 38px;
    min-height: 38px;
  }

  .apple-pay-fallback
  {
    font-size: 16px;
  }

  .apple-pay-mark
  {
    width: 17px;
    height: 21px;
  }

  .google-pay-word
  {
    font-size: 17px;
  }
}

.form__actions
{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.btn-primary
{
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border: none;
  color: #052018;
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(16, 185, 129, .16);
}

.btn-primary:hover
{
  filter: brightness(1.04);
}

.tiny
{
  font-size: 12px;
}

.muted
{
  color: var(--muted);
}

.summary
{
  position: sticky;
  top: 16px;
  height: fit-content;
}

.summary__title
{
  margin: 0 0 8px;
}

.summary__list
{
  min-height: 64px;
}

.summary__row
{
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, .20);
}

.summary__total
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 18px;
}

.footnote
{
  max-width: 1200px;
  margin: 16px auto 40px;
  padding: 0 6px;
}

/* Modal */
.modal
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, .45);
  align-items: center;
  justify-content: center;
  z-index: 2000;
  display: flex;
}

.modal[hidden]
{
  display: none !important;
}

.modal__content
{
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  border: 1px solid rgba(15, 23, 42, .12);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
  color: var(--ink);
}

.modal__close
{
  float: right;
  cursor: pointer;
  font-size: 24px;
  color: var(--ink);
}

.modal__actions
{
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.modal__ok
{
  min-width: 120px;
  font-weight: 900;
}

@media (max-width: 900px)
{
  html,
  body
  {
    max-width: 100%;
    overflow-x: hidden;
  }

  .layout,
  .footnote
  {
    padding-inline: 12px;
  }

  .hero
  {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero__text,
  .hero__meta,
  .card
  {
    min-width: 0;
  }

  .hero__meta
  {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }

  .hero__meta > div
  {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
  }

  .hero-notes,
  .meta-notes
  {
    margin: 8px 0 0;
    padding-left: 20px;
    list-style: disc;
    display: block;
  }

  .hero-notes li,
  .meta-notes li
  {
    background: none;
    border: none;
    border-radius: 0;
    padding: 2px 0;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  img,
  svg,
  video,
  canvas
  {
    max-width: 100%;
    height: auto;
    display: block;
  }
}


.wallet-container
{
  display: none;
  height: 0;
  margin-top: 8px;
  overflow: hidden;
  opacity: 0.96;
  transform: translateY(2px);
}

.wallet-container[aria-hidden="true"]
{
  display: none;
}

.wallet-container.is-visible
{
  display: block;
  height: auto;
  min-height: 44px;
  overflow: visible;
}

.wallet-container.is-visible[aria-hidden="false"]
{
  display: block;
}

.hp-wrap
{
  display: none;
}

.pay__opt--hidden
{
  display: none !important;
}

.payment-ready-note
{
  display: block;
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.pay__badge
{
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .30);
  color: #065f46;
  vertical-align: middle;
}

.comp-error
{
  margin-top: 8px;
}

@media (max-width: 900px)
{
  .layout
  {
    display: block;
  }

  .summary
  {
    display: none;
  }
}

/* Pay Online satisfying state */
.pay--online-active
{
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
  border-radius: 16px;
  transition: box-shadow 180ms ease;
}

.pay--pulse
{
  animation: payPulse 420ms ease;
}

@keyframes payPulse
{
  0%
  {
    transform: scale(1);
  }

  50%
  {
    transform: scale(1.015);
  }

  100%
  {
    transform: scale(1);
  }
}

.member-warning-overlay
{
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.member-warning-box
{
  max-width: 560px;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
  padding: 18px;
}

.member-warning-title
{
  margin-bottom: 10px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.member-warning-body
{
  margin-bottom: 14px;
  color: #111827;
  font-size: 15px;
  line-height: 1.55;
}

.member-warning-body p
{
  margin: 0 0 10px;
}

.member-warning-body a
{
  color: #2563eb;
  font-weight: 650;
  text-decoration: underline;
}

.member-warning-lock
{
  color: #b91c1c;
  font-weight: 900;
}

.member-warning-actions
{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.member-warning-ok
{
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .14);
  background: #f3f4f6;
  color: #111827;
  font-weight: 800;
  cursor: pointer;
}

.form--member-locked
{
  opacity: .72;
}

/* Ultra-small phones (≤ 420px): meta in one column */
@media (max-width: 420px)
{
  .hero__meta
  {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px)
{
  input,
  select,
  textarea
  {
    font-size: 16px !important;
  }
}

.pay-hint
{
  margin-top: 6px;
}


select
{
  color: var(--ink);
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.16);
}

/* Dropdown list (options) */
select option
{
  color: #0f172a;
  background-color: #ffffff;
}

/* Placeholder option (if you use one) */
select option[disabled]
{
  color: #64748b;
}

.section-title-row
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 10px;
}

.section-title-row .section-title
{
  margin: 0;
}

.entry-section-tabs
{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.entry-section-tab
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.entry-section-tab:hover
{
  color: #064e3b;
  background: rgba(16, 185, 129, .10);
}

.entry-section-tab.is-active
{
  color: #052018;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 16px rgba(16, 185, 129, .18);
}

.field-help
{
  margin: 6px 0 0;
}

@media (max-width: 620px)
{
  .section-title-row
  {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-section-tabs
  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    box-sizing: border-box;
  }

  .entry-section-tab
  {
    width: 100%;
    box-sizing: border-box;
  }
}

.wallet-button-wrap--disabled .wallet-brand-button
{
  cursor: not-allowed;
  opacity: 0.45;
  filter: grayscale(1);
  box-shadow: none;
}

.wallet-button-wrap--disabled .wallet-brand-button:hover
{
  transform: none;
  box-shadow: none;
}

/* Spring Mixed Doubles tournament additions */
.hero__eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero__sponsor {
  margin-top: 0.35rem;
  font-weight: 700;
}

.player-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
}

.player-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border, #d7dde5);
  border-radius: 14px;
  background: var(--surface-2, #f8fafc);
}

.player-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.player-card__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.player-card__head span {
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.72;
}

.conditions-box {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border, #d7dde5);
  border-radius: 14px;
}

.conditions-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.conditions-box li + li {
  margin-top: 0.38rem;
}

.tournament-fee__label input {
  pointer-events: none;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--surface-2, #f8fafc);
  font-weight: 650;
}

.agreement input {
  margin-top: 0.22rem;
}

.modal__content {
  position: relative;
}

@media (max-width: 900px) {
  .player-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .player-card {
    padding: 0.85rem;
  }

  .player-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* Spring payment choice cards */
.pricing__group--spring
{
  grid-column: 1 / -1;
}

.spring-payment-options
{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spring-payment-options .pricing__label
{
  min-height: 64px;
}

.partner-request
{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  font-weight: 700;
}

@media (max-width: 700px)
{
  .spring-payment-options
  {
    grid-template-columns: 1fr;
  }
}
