:root {
  --bg: #f3f6f8;
  --surface: #ffffff;
  --ink: #0b1420;
  --muted: #697386;
  --line: #e4e7ec;
  --green: #0a9d5c;
  --green-dark: #05603a;
  --blue: #0797f2;
  --blue-dark: #056dc6;
  --red: #c44536;
  --yellow: #ffffff;
  --shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(180deg, #ffffff 0, #f3f6f8 360px),
    var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
  backdrop-filter: blur(12px);
}
.brand, .nav { display: flex; align-items: center; gap: 14px; }
.brand { font-weight: 800; font-size: 17px; letter-spacing: 0; }
.brand small { display: block; margin-top: -2px; color: var(--muted); font-size: 9px; font-weight: 700; }
.brand-mark {
  display: block;
  width: 164px;
  height: 58px;
  overflow: hidden;
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.menu-toggle-icon {
  display: grid;
  gap: 4px;
}
.menu-toggle-icon span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.nav { flex-wrap: wrap; justify-content: flex-end; font-size: 13px; font-weight: 700; color: #1f2937; gap: 22px; }
.nav a:hover { color: var(--blue-dark); }
.nav-pill {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink) !important;
}

main { min-height: 70vh; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr .78fr;
  align-items: center;
  gap: 38px;
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: clamp(28px, 5vw, 58px);
  min-height: 410px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 18%, rgba(10,157,92,.62), transparent 26%),
    linear-gradient(115deg, rgba(6, 18, 35, .96), rgba(7, 89, 199, .84)),
    url('../img/hero.png') center/cover;
  color: white;
  overflow: hidden;
}
.hero-copy { max-width: 620px; margin: 0; text-align: left; }
.hero-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1, .page-head h1, .detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}
.hero p, .page-head p, .detail-copy p {
  color: rgba(255,255,255,.82);
  max-width: 680px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.search-panel {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}
.search-panel > strong { display: block; margin-bottom: 14px; color: white; font-size: 18px; }
.hero-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 18px;
  max-width: none;
  min-height: 0;
  border-radius: 0;
  background: white;
  box-shadow: none;
  overflow: visible;
  background: transparent;
}
.hero-search select, .hero-search input, .hero-search button {
  border: 1px solid rgba(255,255,255,.25);
  min-height: 50px;
  border-radius: 10px;
}
.hero-search select, .hero-search input { color: var(--ink); background: white; }
.hero-search button { background: var(--green); color: white; font-weight: 800; cursor: pointer; }
.payment-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
}
.payment-row span { color: rgba(255,255,255,.88); }
.payment-row span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: var(--green); border-radius: 999px; vertical-align: 0; }
.eyebrow, .tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(13, 123, 99, .12);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero .eyebrow { background: rgba(255,255,255,.16); color: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: white; }
.btn-secondary { background: rgba(255,255,255,.14); color: white; border: 1px solid rgba(255,255,255,.3); }
.btn-outline { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn-card, .btn-small { background: var(--blue); color: white; width: 100%; margin-top: 16px; }
.btn-small { width: auto; min-height: 36px; padding: 8px 12px; }
.btn-danger { background: var(--red); color: white; }
.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}
.metric { padding: 16px; background: rgba(255,255,255,.12); border-radius: 8px; }
.metric strong { display: block; font-size: 24px; margin-bottom: 4px; }
.metric span { color: rgba(255,255,255,.78); }

.section, .page-head, .event-grid, .event-detail, .checkout-layout, .stats-grid, .table-wrap, .filters, .feature-band, .auth-page, .home-section, .group-strip, .promo-grid, .partner-grid {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}
.section { padding: 56px 0; }
.section-title h2, .feature-band h2 { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 44px); }
.terms-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto 70px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}
.terms-page article + article { margin-top: 24px; }
.terms-page h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}
.terms-page p {
  margin: 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.7;
}
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 56px; }
.event-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
  min-height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.event-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(15, 23, 42, .12); border-color: #cdd5e1; }
.event-card img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; background: #f2f4f7; }
.event-card-body { position: relative; display: grid; gap: 9px; padding: 16px; }
.event-card h3 { margin: 0; font-size: 17px; line-height: 1.25; text-transform: uppercase; color: var(--ink); }
.event-card p, .event-card small, .muted { color: #475467; font-size: 13px; line-height: 1.35; margin: 0; }
.event-card strong { display: block; font-size: 13px; }
.event-card-meta { display: flex; justify-content: space-between; gap: 12px; color: #667085; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.event-card-price { color: var(--green-dark); font-size: 16px !important; }
.event-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0; font-size: 12px; }
.stat, .stat-results, .status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.stat { background: #f1f5f9; color: #475467; }
.stat strong { display: inline; margin: 0 4px 0 0; font-size: 12px; color: var(--ink); }
.stat-results { background: #ecfdf3; color: #087443; }
.status-badge { background: #f1f5f9; color: #475467; margin-top: 2px; width: fit-content; }
.status-badge.closed { background: #fff7ed; color: #9a3412; }
.closed-event { opacity: .96; }
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 42px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.empty-state p { margin: 0 0 12px; color: var(--muted); }
.empty-state a { color: var(--blue); font-weight: 800; }
.card-hit { position: absolute; inset: 0; z-index: 2; }
.event-meta { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 10px; font-weight: 800; }
.capacity { display: none; }
.capacity span { display: block; height: 100%; background: var(--blue); }

.group-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #101828;
  color: white;
  font-size: 13px;
}
.group-strip .btn { min-height: 36px; padding: 8px 16px; font-size: 12px; }
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.promo-card {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  min-height: 180px;
  overflow: hidden;
  border-radius: 18px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}
.promo-card div { padding: 30px; }
.promo-card h2 { margin: 10px 0 18px; max-width: 340px; font-size: 22px; line-height: 1.12; }
.promo-card span { font-size: 12px; font-weight: 800; color: var(--blue-dark); }
.promo-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(7,151,242,.1); }
.promo-card img { width: 100%; height: 100%; object-fit: cover; }
.home-section { padding-top: 38px; }
.section-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-line h2 { margin: 0; font-size: 26px; }
.section-line h2 strong, .section-line a { color: var(--green-dark); }
.section-line a { font-size: 12px; text-decoration: underline; }
.featured-events-title {
  justify-content: flex-start;
  margin-bottom: 16px;
}
.featured-events-title h2 {
  color: #0b1420;
  font-size: 26px;
  font-weight: 900;
}
.featured-events-title h2 span {
  color: #4b1649;
  font-size: 30px;
}
.section-subtitle { margin: 8px 0 18px; color: var(--muted); font-size: 13px; }
.featured-event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.featured-event-card {
  position: relative;
  min-height: 356px;
  overflow: hidden;
  border-radius: 6px;
  background: white;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .16);
}
.featured-event-card.is-hidden { display: none; }
.featured-event-media {
  position: relative;
  height: 222px;
  overflow: hidden;
}
.featured-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-date-badge {
  position: absolute;
  left: 16px;
  bottom: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 4px 4px 0 0;
  background: white;
  color: #171b22;
  line-height: 1;
  text-transform: uppercase;
}
.featured-date-badge strong {
  font-size: 24px;
  font-weight: 900;
}
.featured-date-badge span {
  color: #4f535a;
  font-size: 11px;
  font-weight: 900;
}
.featured-sport-pill {
  position: absolute;
  left: 84px;
  bottom: 7px;
  z-index: 3;
  max-width: calc(100% - 104px);
  padding: 6px 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #4b1649;
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.featured-share {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #30343a;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .2);
  font-size: 22px;
  cursor: pointer;
}
.featured-event-body {
  display: grid;
  gap: 22px;
  padding: 16px 16px 18px;
}
.featured-event-body h3 {
  margin: 0;
  color: #202329;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
}
.featured-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #666a70;
  font-size: 12px;
}
.featured-location span {
  width: 10px;
  height: 10px;
  border: 1.5px solid #8c9097;
  border-radius: 999px;
}
.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.load-more-btn {
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #4b1649;
  color: white;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
}
.event-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}
.soft-rail { background: #eaf7f0; border: 0; }
.highlight-row {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 24px;
}
.highlight-row .section-line { grid-column: 1 / -1; }
.spotlight-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 230px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b1420, #0759c7);
  color: white;
}
.spotlight-card img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-card div { padding: 32px 24px; }
.spotlight-card h3 { margin: 0 0 14px; font-size: 30px; line-height: 1.02; }
.spotlight-card p { margin-bottom: 18px; color: rgba(255,255,255,.82); font-size: 13px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 24px; }
.modality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.modality-card {
  position: relative;
  min-height: 145px;
  overflow: hidden;
  border-radius: 18px;
  color: white;
  background: #111827;
}
.modality-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.08)); }
.modality-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.modality-card strong { position: absolute; z-index: 1; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); font-size: 18px; }
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 34px 0; }
.partner-card {
  min-height: 190px;
  padding: 42px;
  border-radius: 18px;
  color: white;
}
.partner-card h2 { margin: 0 0 16px; font-size: 28px; }
.partner-card p { max-width: 430px; line-height: 1.5; color: rgba(255,255,255,.88); }
.partner-card.athlete { background: linear-gradient(135deg, #063b42, #0a9d5c); }
.partner-card.organizer { background: linear-gradient(135deg, #101828, #0759c7); }

.feature-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 70px;
  padding: 34px;
  border-radius: 8px;
  background: var(--green-dark);
  color: white;
}
.feature-band p { color: rgba(255,255,255,.78); max-width: 760px; }

.page-head { padding: 58px 0 24px; }
.page-head h1 { color: var(--ink); font-size: clamp(34px, 5vw, 62px); }
.page-head p { color: var(--muted); }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filters a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-weight: 800;
}
.filters a.active { background: var(--green); color: white; border-color: var(--green); }

.event-detail {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 36px;
  padding: 48px 0 70px;
}
.event-detail > img { width: 100%; height: 620px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.detail-copy p { color: var(--muted); }
.details-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.details-list div, .info-box {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
dd { margin: 4px 0 0; font-weight: 800; }
.info-box { margin-bottom: 12px; line-height: 1.5; }

.auth-page { display: grid; place-items: center; padding: 58px 0 80px; }
.form-card, .summary-panel {
  width: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(24, 32, 31, .07);
}
.form-card { max-width: 520px; }
.form-card h1, .form-card h2, .summary-panel h1 { margin: 10px 0 20px; }
label { display: grid; gap: 8px; margin: 14px 0; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
input, select { min-height: 46px; }
textarea { resize: vertical; line-height: 1.5; }
.form-card .btn { width: 100%; margin-top: 10px; }
.form-card p { color: var(--muted); }
.admin-form-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 70px;
}
.wide-form { max-width: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.form-actions .btn { width: auto; }
.btn-light { background: white; color: var(--ink); border: 1px solid var(--line); }
.detail-download { margin: 6px 0 14px; }

.asset-upload-panel {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}
.asset-upload-panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.asset-upload-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}
.asset-upload-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.asset-current-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.asset-current-grid figure {
  margin: 0;
}
.asset-current-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #eef2f6;
}
.asset-current-grid figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.category-admin-panel {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}
.category-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.category-admin-head h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.category-admin-head p {
  margin: 0;
  color: var(--muted);
}
.category-admin-list {
  display: grid;
  gap: 12px;
}
.category-admin-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(130px, .7fr) minmax(130px, .7fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.category-admin-row label {
  margin: 0;
}
.remove-category-row {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff5f5;
  color: #b42318;
  font-weight: 900;
  cursor: pointer;
}
.category-admin-panel > small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.event-show {
  display: grid;
  grid-template-columns: minmax(0, 690px) 330px;
  gap: 56px;
  width: min(1120px, calc(100% - 36px));
  margin: 40px auto 90px;
  align-items: start;
}
.event-main h1 {
  margin: 0 0 26px;
  color: #020617;
  font-size: 34px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0;
}
.event-organizer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}
.event-organizer-info {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.organizer-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #eef0f2;
  color: #b9bdc3;
  font-weight: 900;
}
.event-organizer p {
  margin: 0 0 4px;
  color: #111827;
  font-size: 14px;
}
.event-organizer .event-available-slots {
  margin: 0;
  color: #111827;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}
.event-available-slots strong {
  font-size: 18px;
}
.event-organizer a,
.event-text-link {
  color: #020617;
  font-size: 14px;
  text-decoration: underline;
}
.event-banner {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  margin-bottom: 34px;
  border-radius: 0;
}
.event-copy-section {
  margin-bottom: 46px;
  color: #030712;
}
.event-copy-section h2 {
  margin: 0 0 26px;
  font-size: 26px;
  line-height: 1.2;
  text-transform: uppercase;
}
.event-copy-section p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
}
.event-assets-section h2 {
  font-size: 18px;
  text-decoration: underline;
}
.event-asset-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 12px;
}
.event-asset-gallery figure {
  margin: 0;
}
.event-asset-gallery img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: white;
}
.event-asset-gallery figcaption {
  margin-top: 8px;
  color: #4b5563;
  font-size: 13px;
}
.event-assets-section small {
  color: #4b5563;
  font-size: 11px;
  font-style: italic;
}
.event-category-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
}
.event-category-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #f8fafc;
}
.event-category-list strong {
  color: #101828;
}
.event-category-list span {
  color: #004b91;
  font-weight: 900;
  white-space: nowrap;
}
.event-side {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 20px;
}
.event-side-card {
  padding: 28px;
  border: 1px solid #d5d7db;
  border-radius: 14px;
  background: white;
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
}
.event-side-card h2 {
  margin: 0 0 24px;
  color: #020617;
  font-size: 20px;
}
.event-side-card p {
  margin: 0 0 16px;
  color: #020617;
  font-size: 14px;
  line-height: 1.45;
}
.event-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 24px 0;
  border-radius: 7px;
  background: #2f9bf4;
  color: white;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}
.quick-links {
  box-shadow: none;
}
.quick-links h2 {
  margin-bottom: 10px;
  font-size: 18px;
}
.quick-links a {
  display: inline-flex;
  width: fit-content;
  margin: 5px 5px 5px 0;
  padding: 8px 14px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  color: #020617;
  font-size: 13px;
}

.clean-register, .entry-checkout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 82px;
  color: #5f6368;
}
.clean-title, .entry-head {
  text-align: center;
  margin-bottom: 44px;
}
.clean-title span {
  display: inline-block;
  margin-bottom: 18px;
  color: #08dfe7;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.clean-title h1, .entry-head h1 {
  margin: 0;
  color: #5d6067;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.clean-form, .entry-form {
  max-width: 1040px;
  margin: 0 auto;
}
.clean-block {
  margin-bottom: 54px;
}
.clean-block h2, .entry-data h2 {
  margin: 0 0 34px;
  color: #5d6067;
  font-size: 22px;
  font-weight: 700;
}
.clean-grid {
  display: grid;
  gap: 34px 58px;
}
.clean-grid.two { grid-template-columns: repeat(2, 1fr); }
.clean-grid.three { grid-template-columns: repeat(3, 1fr); }
.clean-grid label, .clean-field {
  margin: 0;
  color: #5d6067;
  font-size: 21px;
  font-weight: 400;
}
.clean-grid input, .clean-grid select {
  min-height: 54px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  border-radius: 0;
  color: #5d6067;
  background: transparent;
  font-size: 19px;
}
.clean-grid input:focus, .clean-grid select:focus {
  outline: 0;
  border-bottom-color: #08dfe7;
}
.span-two { grid-column: 1 / -1; }
.radio-line, .check-line, .entry-check {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
  color: #7a7d82;
  font-size: 20px;
  font-weight: 400;
}
.radio-line input, .check-line input, .entry-check input {
  width: 24px;
  height: 24px;
  min-height: 0;
  accent-color: #08dfe7;
}
.check-line a, .entry-check a, .terms-box a {
  color: #08dfe7;
}
.clean-submit {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 999px;
  background: #08dfe7;
  color: white;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.clean-login {
  text-align: center;
  color: #7a7d82;
}
.clean-login a { color: #08dfe7; font-weight: 800; }

.entry-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.entry-summary span {
  display: block;
  margin-bottom: 10px;
  color: #5d6067;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}
.entry-summary strong {
  color: #08dfe7;
  font-size: 20px;
  letter-spacing: 1px;
}
.entry-summary small {
  max-width: 360px;
  color: #9aa0a6;
  line-height: 1.5;
}
.entry-warning {
  margin: 20px 0 34px;
  color: #ff1200;
  text-align: center;
  font-size: 16px;
  letter-spacing: 1px;
}
.terms-box {
  max-height: 260px;
  overflow-y: auto;
  padding: 8px 24px 8px 8px;
  color: #b5bbc2;
  font-size: 17px;
  line-height: 1.7;
}
.terms-box::-webkit-scrollbar { width: 10px; }
.terms-box::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d6d8db;
}
.entry-check {
  margin: 24px 0 44px;
  color: #9aa0a6;
}
.entry-data {
  margin: 0 0 42px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 54px 0 80px;
}
.summary-panel strong { display: block; font-size: 32px; margin: 16px 0; color: var(--green-dark); }
.choice {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.choice.selected { border-color: var(--green); background: rgba(13, 123, 99, .08); }
.fake-payment {
  padding: 18px;
  border-radius: 8px;
  background: #f0f4ef;
  font-weight: 800;
  text-align: center;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stats-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.stats-grid strong { display: block; font-size: 28px; margin-bottom: 4px; }
.stats-grid span, td span { color: var(--muted); }
.table-wrap { overflow-x: auto; margin-bottom: 70px; background: white; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.table-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.table-actions form { margin: 0; }
.table-actions .btn { margin: 0; }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.status.paid { background: rgba(13, 123, 99, .12); color: var(--green-dark); }
.status.pending { background: rgba(243, 189, 66, .22); color: #725008; }
.status.open { background: rgba(13, 123, 99, .12); color: var(--green-dark); }
.status.closed { background: rgba(196, 69, 54, .12); color: var(--red); }
.status.admin { background: rgba(7, 151, 242, .12); color: var(--blue-dark); }
.status.athlete { background: rgba(13, 123, 99, .12); color: var(--green-dark); }
.admin-user-filters { display: block; }
.admin-user-filter-form {
  display: grid;
  grid-template-columns: 1fr 190px auto auto;
  gap: 10px;
  width: 100%;
}
.admin-user-filter-form input,
.admin-user-filter-form select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.flash {
  width: min(1180px, calc(100% - 36px));
  margin: 16px auto 0;
  padding: 13px 16px;
  border-radius: 8px;
  font-weight: 800;
}
.flash-success { background: rgba(13, 123, 99, .12); color: var(--green-dark); }
.flash-error { background: rgba(196, 69, 54, .12); color: var(--red); }
.profile-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(1180px, calc(100% - 36px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}
.profile-strip strong,
.profile-strip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-strip strong { color: var(--ink); font-size: 13px; }
.profile-strip span { color: var(--muted); font-size: 12px; }
.profile-strip a {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}
.profile-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 999px;
  background: #0f172a;
  color: white;
  font-size: 14px;
  font-weight: 900;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-avatar.large {
  width: 76px;
  height: 76px;
  font-size: 22px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 800; }

.wizard-page,
.orders-page,
.pix-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 80px;
}
.wizard-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 48px;
  text-align: center;
}
.wizard-head span {
  padding: 8px 18px;
  border-radius: 999px;
  background: #dfeaf3;
  color: #004b91;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.wizard-head h1,
.orders-page h1 {
  margin: 0;
  color: #101a2f;
  font-size: 34px;
}
.wizard-head p,
.orders-page p {
  margin: 0;
  color: #8b9ab8;
  font-size: 17px;
}
.profile-settings-card {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 24px;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}
.profile-settings-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile-settings-summary span,
.profile-settings-summary small {
  display: block;
  color: var(--muted);
}
.profile-settings-summary span {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.profile-settings-summary strong {
  display: block;
  margin-bottom: 4px;
  color: #101a2f;
  font-size: 22px;
}
.profile-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.profile-settings-form label {
  display: grid;
  gap: 7px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 900;
}
.profile-settings-form input {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.profile-settings-form button {
  align-self: end;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.category-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  min-height: 360px;
  padding: 34px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
  text-align: center;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: #f1f5f9;
  color: #0057a8;
  font-size: 24px;
}
.category-card h2 {
  margin: 42px 0 0;
  color: #101a2f;
  font-size: 22px;
  text-transform: uppercase;
}
.category-card strong {
  color: #004b91;
  font-size: 40px;
}
.category-card small {
  color: #8b9ab8;
}
.category-card button,
.confirm-athlete {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #e4eaf1;
  border-radius: 12px;
  background: #f8fafc;
  color: #526985;
  font-weight: 900;
  cursor: pointer;
}
.selected-pill,
.add-athlete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 12px;
  background: #005eb8;
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
.add-athlete-btn {
  min-height: 48px;
  background: #19a283;
}
.add-athlete-btn.left { width: fit-content; margin-top: 20px; }
.athlete-list,
.complement-form,
.order-final {
  width: min(760px, 100%);
  margin: 0 auto;
}
.athlete-row,
.athlete-summary {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  margin: 0 0 24px;
  padding: 22px 26px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
}
.athlete-row input {
  width: 26px;
  height: 26px;
  min-height: 0;
}
.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #005eb8;
  color: white;
  font-size: 24px;
  font-weight: 900;
}
.athlete-row strong,
.athlete-summary strong {
  display: block;
  margin-bottom: 8px;
  color: #13233a;
  text-transform: uppercase;
}
.athlete-row small,
.athlete-summary small {
  color: #8b9ab8;
}
.athlete-row b {
  color: #c7d1df;
  font-size: 28px;
}
.confirm-athlete {
  width: 260px;
  margin-top: 20px;
  border-radius: 999px;
  background: #cbd5e1;
  color: white;
  font-size: 16px;
}
.athlete-form-shell {
  width: min(980px, 100%);
  margin: -20px auto 0;
  overflow: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}
.athlete-form-shell header {
  padding: 28px 24px 90px;
  background: #005ba8;
  color: white;
  text-align: center;
}
.athlete-form-shell header h2 {
  margin: 0 0 16px;
  font-size: 42px;
}
.athlete-form-shell header p { margin: 0; font-size: 22px; }
.athlete-form {
  display: grid;
  gap: 10px;
  margin: -60px auto 0;
  width: min(860px, calc(100% - 48px));
  padding: 42px;
  border-radius: 12px;
  background: white;
}
.athlete-form label,
.complement-form label {
  color: #1f2937;
  font-size: 16px;
}
.athlete-form button,
.complement-form button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #005191;
  color: white;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}
.athlete-summary {
  grid-template-columns: auto 1fr auto;
  border: 1px solid #d7e1ec;
}
.athlete-summary b {
  padding: 12px 20px;
  border-radius: 999px;
  background: #005eb8;
  color: white;
  text-transform: uppercase;
}
.complement-form {
  display: grid;
  gap: 20px;
}
.complement-form > label {
  margin: 0;
  padding: 24px 28px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
  text-transform: uppercase;
}
.inline-field {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
}
.inline-field em {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #005eb8;
  color: white;
  font-style: normal;
  text-transform: none;
}
.complement-form button {
  width: 290px;
  background: #2cc86b;
  text-transform: none;
}
.order-final > header {
  margin-bottom: 34px;
  text-align: center;
}
.order-final > header h1 { margin: 0 0 22px; }
.order-final > header p {
  color: #6b7280;
  font-size: 18px;
  line-height: 1.45;
  text-transform: uppercase;
}
.order-card,
.term-card,
.payment-options {
  margin-bottom: 22px;
  padding: 28px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}
.order-card table { min-width: 0; }
.order-card span { color: #111827; }
.green-money,
.order-total strong {
  color: #0aa85a;
}
.order-total {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-align: right;
  font-size: 20px;
  font-weight: 900;
}
.mini-remove {
  width: 36px;
  height: 36px;
  border: 1px solid #9ca3af;
  border-radius: 4px;
  background: white;
  font-size: 24px;
  cursor: pointer;
}
.clear-order button {
  margin-top: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #ef4444;
  border-radius: 8px;
  background: white;
  color: #ef4444;
  font-weight: 900;
  text-transform: uppercase;
}
.term-card h2 { margin: 0 0 18px; }
.term-check {
  display: flex;
  align-items: center;
  color: #ef4444;
}
.term-check input {
  width: 22px;
  height: 22px;
  min-height: 0;
}
.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.payment-options label {
  margin: 0;
  padding: 42px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  text-align: center;
}
.payment-options input {
  width: 18px;
  min-height: 0;
  margin: 0 auto 14px;
}
.payment-options span { display: grid; gap: 10px; }
.payment-options small { color: #0aa85a; }
.pay-final {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 10px;
  background: #bfc7cf;
  color: white;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}
.pay-final:not(:disabled) { background: #005191; }
.secure-note { color: #111827; }
.orders-page header { margin-bottom: 34px; }
.orders-page h1 {
  color: #004b91;
  font-size: 34px;
}
.orders-table {
  overflow-x: auto;
  border-radius: 12px;
  background: white;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
}
.orders-table table { min-width: 850px; }
.orders-table th {
  color: #004b91;
  font-size: 16px;
  text-transform: none;
}
.orders-table td { font-size: 16px; }
.view-order {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: #e3edf7;
  color: #005eb8;
}
.pix-page {
  display: grid;
  place-items: center;
}
.pix-card {
  width: min(720px, 100%);
  padding: 44px;
  border-top: 4px solid #004b91;
  border-radius: 12px;
  background: white;
  box-shadow: 0 24px 58px rgba(15, 23, 42, .12);
}
.pix-card h1 {
  margin: 0 0 40px;
  color: #004b91;
  text-align: center;
  text-transform: uppercase;
}
.order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.order-info-grid div {
  padding: 18px;
  border-radius: 8px;
  background: #f8fafc;
}
.order-info-grid span {
  display: block;
  margin-bottom: 10px;
  color: #888;
  font-weight: 900;
  text-transform: uppercase;
}
.order-info-grid strong { font-size: 18px; }
.order-info-grid .waiting {
  color: #f97316;
  font-style: italic;
  text-transform: uppercase;
}
.total-box {
  border: 1px solid #bcd1e8;
  background: #eef6ff !important;
}
.total-box strong {
  color: #004b91;
  font-size: 24px;
}
.pending-alert,
.qr-valid {
  padding: 16px 20px;
  border-radius: 8px;
  background: #fff4d6;
  color: #f97316;
  font-weight: 800;
}
.pix-box {
  margin-top: 28px;
  padding: 34px;
  border-radius: 10px;
  background: #f8fafc;
  text-align: center;
}
.pix-box h2 { margin: 0 0 8px; }
.pix-box p { color: #667085; }
.pix-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.pix-steps span {
  color: #1f2937;
  font-size: 14px;
}
.qr-fake {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 2px;
  width: 230px;
  height: 230px;
  margin: 0 auto 18px;
  padding: 22px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.qr-fake i { background: white; }
.qr-fake i.on { background: #000; }
.copy-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 16px;
  color: #9ca3af;
  font-weight: 900;
  text-transform: uppercase;
}
.copy-title::before,
.copy-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d8dee7;
}
.pix-box label {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
  text-align: left;
}
.copy-pix {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #19a283;
  color: white;
  font-weight: 900;
}
.paid-form {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.paid-form button {
  min-height: 54px;
  padding: 0 32px;
  border: 2px solid #17a85f;
  border-radius: 999px;
  background: white;
  color: #17a85f;
  font-weight: 900;
}
.checkout-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 28px;
}
.admin-payment-config { width: min(1180px, calc(100% - 36px)); margin: 0 auto 70px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 24px; align-items: start; }
.payment-config-card, .payment-config-help { display: grid; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 14px 30px rgba(15, 23, 42, .06); }
.payment-config-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.payment-config-card h2,
.payment-config-help h2 { margin: 0; font-size: 20px; }
.payment-toggle-grid, .payment-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-payment-config label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}
.admin-payment-config input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.admin-payment-config .toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.admin-payment-config .toggle-row input {
  width: 18px;
  min-height: 18px;
}
.payment-config-help { background: #f8fafc; }
.admin-filter-panel {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}
.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(140px, .7fr) minmax(170px, 1fr) minmax(180px, 1.1fr) auto;
  gap: 14px;
  align-items: end;
}
.admin-filter-form label {
  margin: 0;
}
.admin-filter-actions {
  display: flex;
  gap: 8px;
}
.admin-registrations-table span {
  color: var(--muted);
  font-size: 12px;
}
.order-event-link {
  color: #004b91;
  font-weight: 900;
}
.order-event-link:hover { text-decoration: underline; }
.paid-event-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0 80px;
}
.paid-event-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 26px;
  padding: 30px;
  border-radius: 14px;
  background: #004b91;
  color: white;
}
.paid-event-hero span {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255,255,255,.78);
  font-weight: 900;
  text-transform: uppercase;
}
.paid-event-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  text-transform: uppercase;
}
.paid-event-hero p { margin: 0; color: rgba(255,255,255,.84); font-size: 18px; }
.paid-event-hero > strong {
  padding: 10px 20px;
  border-radius: 999px;
  background: #18a85f;
  color: white;
  text-transform: uppercase;
}
.paid-event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 380px;
  gap: 24px;
  align-items: start;
}
.paid-event-card {
  padding: 26px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}
.paid-event-card h2 {
  margin: 0 0 20px;
  color: #004b91;
  font-size: 24px;
}
.event-data-card img {
  width: 100%;
  max-height: 280px;
  margin-bottom: 22px;
  border-radius: 10px;
  object-fit: cover;
}
.event-data-card dl,
.paid-entry-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 24px;
}
.event-data-card dl div,
.paid-entry-list div {
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #f8fafc;
}
.paid-event-card h3 {
  margin: 18px 0 10px;
  color: #101a2f;
}
.paid-event-card p {
  color: #4b5563;
  line-height: 1.65;
}
.paid-athlete {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e4e7ec;
}
.paid-athlete span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #005eb8;
  color: white;
  font-size: 24px;
  font-weight: 900;
}
.paid-athlete strong {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.paid-athlete small { color: #8b9ab8; }
.paid-entry-list {
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}
.paid-back-btn { width: 100%; }
.paid-event-rules {
  margin-top: 24px;
}

/* Validações e Máscaras */
/* Contato */
.page-contact {
  padding: 46px 0 80px;
}
.contact-container {
  display: grid;
  gap: 20px;
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}
.contact-head {
  padding: 26px 24px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(10,157,92,.22), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(7,151,242,.20), transparent 38%),
    linear-gradient(135deg, rgba(17,24,39,.96), rgba(7,89,199,.86));
  color: white;
  box-shadow: 0 18px 55px rgba(15, 23, 42, .14);
  border: 1px solid rgba(255,255,255,.14);
}
.contact-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.contact-head h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
.contact-head p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.6;
  max-width: 720px;
}
.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
}
.contact-form .field {
  display: grid;
  gap: 8px;
}
.contact-form label {
  margin: 0;
  font-weight: 900;
  color: #111827;
}
.contact-form .error {
  color: var(--red);
  font-weight: 800;
  font-size: 12px;
}
.contact-form .help {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 0;
}
.contact-form .btn.btn-primary {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
}

.input-error {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
}

.error-message {
  display: block;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

label {
  position: relative;
}

label input,
label select,
label textarea {
  transition: all 0.2s ease;
}

label input:focus,
label select:focus,
label textarea:focus {
  box-shadow: 0 0 0 3px rgba(6, 151, 242, 0.1);
}

/* Validação bem-sucedida */
.input-success {
  border-color: #0a9d5c !important;
  background-color: #f0fdf4 !important;
}

/* Placeholder com asterisco obrigatório */
input[required]::placeholder,
select[required],
textarea[required] {
  color: inherit;
}

/* Estilo para inputs desabilitados */
input:disabled,
select:disabled,
textarea:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Validação em tempo real */
.field-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.field-hint {
  font-size: 0.85rem;
  color: #697386;
  margin-top: 0.25rem;
}

.field-hint.error {
  color: #dc3545;
}

.field-hint.success {
  color: #0a9d5c;
}

/* Indicador de campo obrigatório */
.required-indicator {
  color: #dc3545;
  margin-left: 0.25rem;
}

/* Alertas */
.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.alert-warning {
  background: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.alert-warning strong {
  color: #856404;
}

.alert-warning p {
  margin: 0.5rem 0 0 0;
}

.alert-success {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-info {
  background: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

@media (max-width: 1180px) {
  .topbar {
    display: grid;
    grid-template-columns: auto auto;
  }
  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    flex-shrink: 0;
  }
  .nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .topbar.menu-open .nav {
    display: flex;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero, .event-detail, .checkout-layout, .category-grid, .payment-options, .paid-event-grid { grid-template-columns: 1fr; }
  .admin-payment-config, .payment-toggle-grid, .payment-field-grid { grid-template-columns: 1fr; }
  .admin-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-user-filter-form { grid-template-columns: 1fr 180px; }
  .profile-settings-card { grid-template-columns: 1fr; }
  .admin-filter-actions { grid-column: 1 / -1; }
  .event-show { grid-template-columns: 1fr; gap: 28px; }
  .event-side { position: static; }
  .asset-current-grid { grid-template-columns: repeat(2, 1fr); }
  .category-admin-row { grid-template-columns: 1fr; }
  .category-admin-head { flex-direction: column; }
  .hero-copy { max-width: none; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .event-detail > img { height: 380px; }
  .event-rail, .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight-row, .promo-grid, .partner-grid { grid-template-columns: 1fr; }
  .modality-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .footer, .feature-band, .group-strip { align-items: flex-start; flex-direction: column; }
  .topbar {
    align-items: center;
    gap: 12px;
  }
  .brand-mark {
    width: 118px;
    height: 44px;
  }
  .hero { min-height: auto; padding: 34px 16px 24px; }
  .hero-search { grid-template-columns: 1fr; }
  .event-grid, .details-list, .stats-grid { grid-template-columns: 1fr; }
  .admin-filter-form { grid-template-columns: 1fr; }
  .admin-user-filter-form { grid-template-columns: 1fr; }
  .admin-filter-actions { flex-direction: column; }
  .hero h1 { font-size: 32px; }
  .profile-strip {
    grid-template-columns: auto 1fr;
    margin-left: auto;
    margin-right: auto;
  }
  .profile-strip a { grid-column: 2; }
  .profile-settings-form { grid-template-columns: 1fr; }
  .event-rail, .mini-grid, .modality-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .featured-event-grid { grid-template-columns: 1fr; }
  .promo-card, .spotlight-card { grid-template-columns: 1fr; }
  .event-main h1 { font-size: 26px; }
  .event-organizer {
    align-items: flex-start;
    flex-direction: column;
  }
  .event-organizer .event-available-slots {
    padding-left: 64px;
    text-align: left;
    white-space: normal;
  }
  .event-asset-gallery { grid-template-columns: 1fr; }
  .event-side-card { padding: 20px; }
  .asset-current-grid { grid-template-columns: 1fr; }
}
