/* Pitch Slapped — Global Stylesheet */

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Custom Properties (Design Tokens)                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* ── Matched to actual Pitch Slapped jersey photo (2026-06-06) ── */
  --baby-blue:    #6BB3E3;   /* Jersey body: Columbia blue               */
  --navy:         #162F5C;   /* Jersey trim/numbers: deep navy            */
  --white:        #FFFFFF;
  --light-bg:     #EDF5FB;   /* Tinted page background                    */
  --mid-blue:     #4A9DD4;   /* Hover/active accent                       */
  --dark-blue:    #0D1F3C;   /* Darkest navy (sidebar, footer)            */
  --text-dark:    #111E30;
  --text-muted:   #5C7289;
  --border:       #B8D8EF;
  --success:      #28A745;
  --danger:       #DC3545;
  --warning:      #FFC107;
  --info:         #17A2B8;
  --shadow-sm:    0 2px 8px rgba(22,47,92,0.10);
  --shadow-md:    0 4px 20px rgba(22,47,92,0.15);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   0.2s ease;
  --font-sans:    'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Reset & Base                                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--mid-blue); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Typography                                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 0.75rem; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Layout Containers                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main { flex: 1; padding: 0; }

.section { padding: 3rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--baby-blue);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Header / Navigation                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  margin-bottom: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--baby-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  flex-shrink: 0;
  border: 3px solid var(--mid-blue);
  overflow: hidden;
}

.logo-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.logo-text .team-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--baby-blue);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.logo-text .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(107,179,227,0.2);
}

.main-nav a.nav-admin {
  color: var(--baby-blue);
  border: 1px solid var(--baby-blue);
  margin-left: 0.5rem;
}

.main-nav a.nav-admin:hover {
  background: var(--baby-blue);
  color: var(--navy);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 0.75rem 1rem; }

  /* Remove gap between sticky header and page content */
  main {
    margin-top: 0;
    padding-top: 0;
  }

  /* Tighten section top padding so content sits close to the header */
  .section {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  /* Hero should butt right up against the header */
  .hero {
    margin-top: 0;
    padding-top: 2.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Hero                                                                */
/* ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 60%, #0d3a6e 100%);
  color: var(--white);
  padding: 4rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(107,179,227,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(91,179,228,0.10) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 1; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero h1 span { color: var(--baby-blue); }

.hero .tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-record {
  display: inline-flex;
  gap: 2rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(107,179,227,0.3);
  border-radius: var(--radius-lg);
  padding: 1rem 2rem;
  backdrop-filter: blur(4px);
  margin-top: 1rem;
}

.record-item { text-align: center; }
.record-number { font-size: 2.5rem; font-weight: 800; color: var(--baby-blue); line-height: 1; }
.record-label  { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Cards                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.card-header .card-icon { color: var(--baby-blue); margin-right: 0.4rem; }

.card-body { padding: 1.25rem; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

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

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

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Stat Cards (Admin Dashboard)                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--baby-blue);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card-icon {
  width: 56px; height: 56px;
  background: var(--light-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-card-value { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-card-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Tables                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.92rem;
}

thead th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
tbody tr:hover { background: var(--light-bg); }
tbody tr:last-child { border-bottom: none; }

td { padding: 0.7rem 1rem; vertical-align: middle; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Badges                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-win     { background: #d4edda; color: #155724; }
.badge-loss    { background: #f8d7da; color: #721c24; }
.badge-tie     { background: #fff3cd; color: #856404; }
.badge-home    { background: #cce5ff; color: #004085; }
.badge-away    { background: #e2e3e5; color: #383d41; }
.badge-neutral { background: #d6d8db; color: #383d41; }
.badge-regular  { background: var(--light-bg); color: var(--navy); }
.badge-playoff  { background: #ffeeba; color: #856404; }
.badge-exhibition { background: #e2e3e5; color: #383d41; }
.badge-upcoming { background: rgba(107,179,227,0.2); color: var(--navy); border: 1px solid var(--baby-blue); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Buttons                                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary   { background: var(--navy);     color: var(--white);  border-color: var(--navy); }
.btn-primary:hover { background: var(--dark-blue); color: var(--white); }

.btn-secondary { background: var(--baby-blue); color: var(--navy);  border-color: var(--baby-blue); }
.btn-secondary:hover { background: var(--mid-blue); color: var(--white); border-color: var(--mid-blue); }

.btn-danger    { background: var(--danger);   color: var(--white);  border-color: var(--danger); }
.btn-danger:hover { background: #c82333; border-color: #c82333; }

.btn-outline   { background: transparent;     color: var(--navy);   border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-sm        { padding: 0.3rem 0.75rem; font-size: 0.8rem; }
.btn-lg        { padding: 0.75rem 1.75rem; font-size: 1rem; }

.btn-group     { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Forms                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--navy);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--baby-blue);
  box-shadow: 0 0 0 3px rgba(107,179,227,0.25);
}

textarea { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }

.form-text { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Alerts                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-weight: 500;
  border-left: 4px solid transparent;
}

.alert-success { background: #d4edda; color: #155724; border-color: var(--success); }
.alert-error   { background: #f8d7da; color: #721c24; border-color: var(--danger); }
.alert-warning { background: #fff3cd; color: #856404; border-color: var(--warning); }
.alert-info    { background: #d1ecf1; color: #0c5460; border-color: var(--info); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Schedule List                                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */
.schedule-list { list-style: none; }

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  position: relative;
}

.schedule-item:hover { background: var(--light-bg); }
.schedule-item:last-child { border-bottom: none; }

/* Full-row clickable link overlay */
.schedule-item-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.schedule-item:has(.schedule-item-link) { cursor: pointer; }
.schedule-item:has(.schedule-item-link):hover { background: var(--light-bg); }

.schedule-date-box {
  min-width: 60px;
  text-align: center;
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 0.5rem;
  flex-shrink: 0;
}

.schedule-date-box .month {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.schedule-date-box .day {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.schedule-info { flex: 1; min-width: 0; }
.schedule-opponent { font-weight: 700; font-size: 1rem; }
.schedule-meta { font-size: 0.82rem; color: var(--text-muted); }

.schedule-result { font-size: 1.1rem; font-weight: 800; min-width: 50px; text-align: right; }
.result-w { color: var(--success); }
.result-l { color: var(--danger); }
.result-t { color: var(--warning); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Gallery Grid                                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--navy);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,0.6);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .caption {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-caption {
  color: rgba(255,255,255,0.85);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 52px; height: 52px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Admin Layout                                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - 60px);
}

.admin-sidebar {
  background: var(--dark-blue);
  color: var(--white);
  padding: 1.5rem 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

/* Hidden on desktop — shown inside the media query below */
.admin-menu-toggle { display: none; }
.admin-brand-desktop { display: inline; }

/* Mobile: sidebar becomes a fixed drawer */
@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -270px;
    width: 260px;
    height: 100%;
    z-index: 300;
    transition: left 0.25s ease;
    overflow-y: auto;
    padding-top: 1rem;
  }
  .admin-sidebar.sidebar-open {
    left: 0;
    box-shadow: 4px 0 20px rgba(0,0,0,0.4);
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 299;
  }
  .sidebar-overlay.active { display: block; }
  .admin-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.85rem;
  }
  .admin-brand-desktop { display: none; }
}

.sidebar-section { padding: 0 1rem 1rem; }

.sidebar-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  padding: 0.75rem 0.5rem 0.35rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 0.15rem;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(107,179,227,0.15);
  color: var(--baby-blue);
}

.sidebar-nav a .icon { font-size: 1rem; width: 1.2em; text-align: center; }

.admin-content {
  padding: 2rem;
  background: var(--light-bg);
  overflow-y: auto;
}

.admin-content h1 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.admin-content .page-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.page-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Admin header bar */
.admin-header {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.admin-header .brand { font-weight: 800; color: var(--baby-blue); font-size: 1.1rem; }
.admin-header .user-info { font-size: 0.85rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 1rem; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Login Page                                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo .big-logo {
  width: 80px; height: 80px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--baby-blue);
  margin: 0 auto 0.75rem;
  font-weight: 900;
  border: 4px solid var(--baby-blue);
  overflow: hidden;
}
.login-logo .big-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.login-logo h1 { font-size: 1.5rem; color: var(--navy); }
.login-logo p  { font-size: 0.85rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Scoresheet Layout                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */
.scoresheet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

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

.scoresheet-preview {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.scoresheet-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.scoresheet-placeholder {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  color: var(--text-muted);
  gap: 0.5rem;
  font-size: 0.9rem;
}

.scoresheet-placeholder .icon { font-size: 3rem; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Footer                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark-blue);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 1.5rem 1.25rem;
  font-size: 0.85rem;
}

.site-footer a { color: var(--baby-blue); }
.site-footer a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION: Utilities                                                           */
/* ═══════════════════════════════════════════════════════════════════════════ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

.text-muted { color: var(--text-muted); }
.text-navy  { color: var(--navy); }
.text-blue  { color: var(--baby-blue); }
.fw-bold    { font-weight: 700; }
.small      { font-size: 0.85rem; }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state .icon { font-size: 3.5rem; margin-bottom: 0.75rem; }
.empty-state h3    { color: var(--navy); margin-bottom: 0.5rem; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

/* Season selector */
.season-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.season-selector label { margin-bottom: 0; white-space: nowrap; }
.season-selector select { width: auto; }

/* Score display */
.score-display {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.score-us   { color: var(--navy); }
.score-them { color: var(--text-muted); }
.score-sep  { color: var(--border); margin: 0 0.25rem; }

/* Responsive table hint */
@media (max-width: 600px) {
  .table-wrap::before {
    content: 'Scroll to see more →';
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    text-align: right;
  }
}
