:root {
  --navy: #06224a;
  --ink: #09204a;
  --blue: #0b3b84;
  /* Brand accent = the same green as the .cta button gradient, so every
     hover/active/selected state in the site matches the primary CTA color. */
  --green: #8ec43a;
  --green-dark: #6da51f;
  --cyan: #18abd4;
  --pink: #ef2f87;
  --orange: #f5a11a;
  --line: #dbe3ee;
  --muted: #657287;
  --soft: #f6f9fd;
  --shadow: 0 14px 34px rgba(5, 24, 57, .13);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* Inline SVG icons: size + stroke follow the surrounding text color by default. */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* Top strip */
.top { height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 4vw, 58px); background: #031832; color: #fff; font-size: 14px; }
.links { display: flex; gap: 13px; align-items: center; }

/* Header */
.head { background: radial-gradient(circle at 22% 20%, #0e4d9b 0, var(--navy) 42%, #02142d 100%); color: #fff; padding: 22px clamp(18px, 4vw, 58px) 0; }
.head-row { max-width: 1320px; margin: 0 auto 22px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.brand img { width: min(390px, 58vw); height: auto; display: block; }
.login { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.login input { height: 42px; border: 1px solid rgba(255,255,255,.52); background: rgba(0,0,0,.18); color: #fff; border-radius: 4px; padding: 0 14px; width: 210px; outline: 0; }
.login button { border: 0; color: #fff; height: 42px; border-radius: 6px; padding: 0 22px; font-weight: 900; cursor: pointer; }
.btn-blue { background: #0b3b84; }
.btn-blue:hover { background: #0a3373; }
.btn-green { background: linear-gradient(180deg, var(--green), var(--green-dark)); }
.btn-green:hover { filter: brightness(1.05); }

/* Primary call-to-action button, used across every page. */
.cta { display: inline-flex; align-items: center; gap: 12px; height: 54px; font-size: 20px; border: 0; border-radius: 6px; background: linear-gradient(180deg, var(--green), var(--green-dark)); color: #fff; padding: 0 24px; font-weight: 900; cursor: pointer; transition: filter .15s; }
.cta:hover { filter: brightness(1.05); }
.nav { max-width: 1320px; margin: 0 auto; border: 1px solid rgba(255,255,255,.22); border-bottom: 0; border-radius: 9px 9px 0 0; display: grid; grid-template-columns: 66px 190px repeat(5, 1fr); overflow: visible; }
.nav a { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; border-left: 1px solid rgba(255,255,255,.18); font-weight: 800; text-align: center; padding: 0 6px; transition: background-color .15s; }
.nav a:hover { background: rgba(255,255,255,.08); }
.nav .home { border-left: 0; font-size: 22px; }
.nav .active, .nav a.active:hover { background: var(--green); }

/* Section dropdown — green by default, like the primary CTA, so it stands out as the way in to the club's sections. */
.nav-dropdown { position: relative; border-left: 1px solid rgba(255,255,255,.18); }
.nav-dropdown-toggle { width: 100%; height: 100%; min-height: 54px; border: 0; background: var(--green); color: #fff; font: inherit; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: filter .15s; }
.nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle { filter: brightness(1.08); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; color: var(--ink); border-radius: 0 0 8px 8px; box-shadow: var(--shadow); overflow: hidden; z-index: 10; flex-direction: column; }
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a, .nav-dropdown-menu span { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-weight: 700; border-bottom: 1px solid var(--line); text-align: left; transition: background-color .15s; }
.nav-dropdown-menu a:last-child, .nav-dropdown-menu span:last-child { border-bottom: 0; }
.nav-dropdown-menu a:hover { background: var(--green); color: #fff; }
.nav-dropdown-menu a.active { background: var(--green); color: #fff; }
.nav-dropdown-menu span.disabled { color: #a9b3c4; cursor: not-allowed; }

/* Footer */
.footer { background: radial-gradient(circle at 18% 0, #0c4b96, var(--navy) 58%, #02142d); color: #fff; }
.stats { max-width: 1320px; margin: 0 auto; padding: 24px clamp(18px, 4vw, 58px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.stat { display: flex; gap: 14px; align-items: center; border-left: 1px solid rgba(255,255,255,.18); padding-left: 24px; }
.stat:first-child { border-left: 0; }
.stat i { font-style: normal; font-size: 32px; }
.stat b { display: block; color: #9ace2d; font-size: 22px; }
.foot-links { max-width: 1320px; margin: 0 auto; padding: 22px clamp(18px, 4vw, 58px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; color: rgba(255,255,255,.78); }
.foot-links img { width: 155px; margin-right: auto; }

.pay-icons { display: flex; justify-content: center; padding: 16px clamp(18px, 4vw, 58px) 22px; }
.pay-icons-in { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; background: #fff; border-radius: 12px; padding: 8px 18px; max-width: 100%; }
.pay-icons img { width: 60px; height: 28px; object-fit: contain; display: block; }

/* Toast */
.toast { position: fixed; right: 20px; bottom: 20px; background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 8px; box-shadow: var(--shadow); transform: translateY(120px); transition: .25s; z-index: 9; }
.toast.show { transform: translateY(0); }

/* Validation */
.field-validation-error { color: #c0263d; font-size: 13px; display: block; margin-top: 4px; }
.input-validation-error { border-color: #c0263d !important; }
.validation-summary-errors { background: #fdeceb; border: 1px solid #f0b3ac; color: #8a2318; border-radius: 7px; padding: 12px 16px; margin-bottom: 18px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }

/* Pager (Views/Shared/_Pager.cshtml) */
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 28px 0 8px; flex-wrap: wrap; }
.pager-numbers { display: flex; align-items: center; gap: 6px; }
.pager-num { min-width: 38px; height: 38px; padding: 0 4px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s, border-color .15s, color .15s; }
.pager-num:hover { border-color: var(--green); color: var(--green-dark); }
.pager-num.active { background: var(--green); border-color: var(--green); color: #fff; }
.pager-ellipsis { color: var(--muted); padding: 0 2px; }
.pager-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.pager-btn .icon { width: 16px; height: 16px; }
.pager-btn:hover { border-color: var(--green); color: var(--green-dark); }
.pager-btn.disabled { opacity: .4; pointer-events: none; }
@media (max-width: 480px) {
  .pager-btn span { display: none; }
  .pager-btn { padding: 0 10px; }
}

@media (max-width: 1100px) {
  .head-row { grid-template-columns: 1fr; }
  .login { flex-wrap: wrap; }
  .nav { grid-template-columns: 58px 1fr 1fr; }
  .nav a:nth-child(n+4) { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 660px) {
  .top { display: none; }
  .login input, .login button { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; }
}

.login-slot { min-height: 42px; }
