/* ══════════════════════════════════════════════════════════════════════════
   TÝMY PAGE — Section Headers & Cards
   ══════════════════════════════════════════════════════════════════════════ */
.module-wrapper--tymy-header {
  background:
    radial-gradient(ellipse 80% 50% at 50% 80%, var(--c-blue-glow) 0%, transparent 70%),
    linear-gradient(175deg, #0A0F1C 0%, var(--c-navy) 40%, var(--c-navy-mid) 100%);
  color: var(--c-white);
  text-align: center;
  padding: clamp(56px, 10vw, 96px) var(--pad);
  position: relative;
}

.module-wrapper--tymy-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 127, 191, 0.25), transparent);
}

.module-wrapper--tymy-header h1 {
  color: var(--c-white);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Category sections */
.module-wrapper--tymy-seniors-section,
.module-wrapper--tymy-youth-section,
.module-wrapper--tymy-kids-section {
  background: var(--c-navy);
  padding: var(--pad-section) var(--pad) calc(var(--pad-section) * 0.7);
  position: relative;
}

/* Alternate section with slightly different bg */
.module-wrapper--tymy-youth-section {
  background: var(--c-navy-mid);
}

/* Divider lines between sections */
.module-wrapper--tymy-seniors-section::before,
.module-wrapper--tymy-youth-section::before,
.module-wrapper--tymy-kids-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 127, 191, 0.15), transparent);
}

/* Section headings on dark bg */
.module-wrapper--tymy-seniors-section h2,
.module-wrapper--tymy-youth-section h2,
.module-wrapper--tymy-kids-section h2 {
  color: var(--c-white);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

/* Cards in tymy page — same dark style */
.module-wrapper--tymy-seniors-section .ui-service-block,
.module-wrapper--tymy-youth-section .ui-service-block,
.module-wrapper--tymy-kids-section .ui-service-block {
  background: rgba(30, 45, 79, 0.6);
  border: 1px solid rgba(91, 127, 191, 0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.module-wrapper--tymy-seniors-section .ui-service-block::before,
.module-wrapper--tymy-youth-section .ui-service-block::before,
.module-wrapper--tymy-kids-section .ui-service-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-gold));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.module-wrapper--tymy-seniors-section .ui-service-block:hover,
.module-wrapper--tymy-youth-section .ui-service-block:hover,
.module-wrapper--tymy-kids-section .ui-service-block:hover {
  background: rgba(30, 45, 79, 0.9);
  border-color: rgba(91, 127, 191, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.module-wrapper--tymy-seniors-section .ui-service-block:hover::before,
.module-wrapper--tymy-youth-section .ui-service-block:hover::before,
.module-wrapper--tymy-kids-section .ui-service-block:hover::before {
  opacity: 1;
}

.module-wrapper--tymy-seniors-section .ui-service-block__icon,
.module-wrapper--tymy-youth-section .ui-service-block__icon,
.module-wrapper--tymy-kids-section .ui-service-block__icon {
  color: var(--c-blue-light);
}

.module-wrapper--tymy-seniors-section .ui-service-block__title,
.module-wrapper--tymy-youth-section .ui-service-block__title,
.module-wrapper--tymy-kids-section .ui-service-block__title {
  color: var(--c-white);
  font-weight: 800;
}

.module-wrapper--tymy-seniors-section .ui-service-block__title a,
.module-wrapper--tymy-youth-section .ui-service-block__title a,
.module-wrapper--tymy-kids-section .ui-service-block__title a {
  color: var(--c-white);
  text-decoration: none;
}

.module-wrapper--tymy-seniors-section .ui-service-block__title a:hover,
.module-wrapper--tymy-youth-section .ui-service-block__title a:hover,
.module-wrapper--tymy-kids-section .ui-service-block__title a:hover {
  color: var(--c-gold);
}

.module-wrapper--tymy-seniors-section .ui-service-block__description,
.module-wrapper--tymy-youth-section .ui-service-block__description,
.module-wrapper--tymy-kids-section .ui-service-block__description {
  color: var(--c-text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   TEAM DETAIL PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.module-wrapper--team-header {
  background:
    radial-gradient(ellipse 80% 50% at 50% 80%, var(--c-blue-glow) 0%, transparent 70%),
    linear-gradient(175deg, #0A0F1C 0%, var(--c-navy) 35%, var(--c-navy-mid) 70%, var(--c-blue-deep) 100%);
  color: var(--c-white);
  padding: clamp(56px, 10vw, 80px) var(--pad) clamp(40px, 6vw, 56px);
  position: relative;
  overflow: hidden;
}

.module-wrapper--team-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(120deg, transparent 0, transparent 60px, rgba(91, 127, 191, 0.015) 60px, rgba(91, 127, 191, 0.015) 61px),
    repeating-linear-gradient(60deg, transparent 0, transparent 60px, rgba(91, 127, 191, 0.015) 60px, rgba(91, 127, 191, 0.015) 61px);
  pointer-events: none;
}

.module-wrapper--team-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-blue-glow), transparent);
}

.module-wrapper--team-header h1 {
  color: var(--c-white);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.module-wrapper--team-header p {
  color: rgba(255, 255, 255, 0.5);
}

/* ── Shared Team Detail Elements ───────────────────────────────────────── */
.fotbal-team-name {
  color: var(--c-white);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.fotbal-team-comp {
  color: var(--c-blue-light) !important;
  font-size: 1.1rem;
  font-weight: 600;
}

.fotbal-team-meta {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.95rem;
}

.fotbal-team-meta strong { color: rgba(255, 255, 255, 0.75); }

.fotbal-section-title {
  color: var(--c-white);
  font-weight: 800;
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.01em;
}

.fotbal-empty {
  opacity: 0.5;
  font-size: 0.95rem;
  padding: 24px 0;
}

/* ── Standings Table ────────────────────────────────────────────────────── */
.module-wrapper--standings-section {
  background: var(--c-navy);
  padding: var(--pad-section) var(--pad);
}

.fotbal-table-wrap {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(91, 127, 191, 0.1);
}

.fotbal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
}

.fotbal-table thead {
  background: linear-gradient(135deg, var(--c-blue-deep) 0%, var(--c-navy-light) 100%);
  color: var(--c-white);
}

.fotbal-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.fotbal-table th:nth-child(n+3) { text-align: center; }

.fotbal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(91, 127, 191, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.fotbal-table td:nth-child(n+3) {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.fotbal-table tbody tr {
  transition: background 0.25s var(--ease);
  background: var(--c-navy);
}

.fotbal-table tbody tr:nth-child(even) {
  background: var(--c-navy-mid);
}

.fotbal-table tbody tr:hover {
  background: rgba(91, 127, 191, 0.1);
}

.fotbal-table tbody tr.is-our-team {
  background: rgba(91, 127, 191, 0.15);
  font-weight: 700;
}

.fotbal-table tbody tr.is-our-team td {
  color: var(--c-white);
  border-bottom-color: rgba(91, 127, 191, 0.2);
}

.fotbal-table tbody tr.is-our-team td:first-child {
  box-shadow: inset 3px 0 0 var(--c-gold);
}

/* ── Match Results ───────────────────────────────────────────────────── */
.module-wrapper--matches-section {
  background: var(--c-navy-mid);
  padding: var(--pad-section) var(--pad);
}

.fotbal-match {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(91, 127, 191, 0.06);
  font-size: 0.9rem;
  transition: background 0.25s var(--ease);
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.fotbal-match:hover {
  background: rgba(91, 127, 191, 0.08);
}

.fotbal-match:last-child { border-bottom: none; }

.fotbal-match__date {
  color: var(--c-text-muted);
  font-size: 0.8rem;
  min-width: 80px;
  font-variant-numeric: tabular-nums;
}

.fotbal-matches-list {
  margin-top: 20px;
}

.fotbal-match__body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fotbal-match__home,
.fotbal-match__away { flex: 1; }

.fotbal-match__home { text-align: right; }

.fotbal-match__score {
  font-weight: 800;
  font-size: 1.15rem;
  min-width: 56px;
  text-align: center;
  color: var(--c-white);
  background: rgba(91, 127, 191, 0.15);
  padding: 4px 10px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}

.fotbal-match__score--pending {
  color: var(--c-text-muted);
  font-weight: 500;
  font-size: 0.8rem;
  background: transparent;
}

.fotbal-match.is-our-match {
  background: rgba(91, 127, 191, 0.1);
  border-left: 3px solid var(--c-gold);
}

.fotbal-match.is-our-match .fotbal-match__home,
.fotbal-match.is-our-match .fotbal-match__away {
  font-weight: 700;
  color: var(--c-white);
}

a.fotbal-match--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.fotbal-match--link:hover {
  background: rgba(91, 127, 191, 0.15);
  border-color: rgba(232, 197, 71, 0.3);
}

.fotbal-matches-round {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  padding: 12px 20px 6px;
  margin-top: 8px;
  border-top: 1px solid rgba(91, 127, 191, 0.1);
}

.fotbal-matches-round:first-child {
  margin-top: 0;
  border-top: none;
}

/* ── Squad & Staff ──────────────────────────────────────────────────── */
.module-wrapper--squad-section {
  background: var(--c-navy);
  padding: var(--pad-section) var(--pad);
}

/* Staff grid */
.fotbal-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 32px;
}

.fotbal-staff-card {
  padding: 20px 24px;
  background: rgba(30, 45, 79, 0.5);
  border: 1px solid rgba(91, 127, 191, 0.1);
  border-left: 3px solid var(--c-blue);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}

.fotbal-staff-card:hover {
  border-left-color: var(--c-gold);
  background: rgba(30, 45, 79, 0.8);
}

.fotbal-staff-card__role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-blue-light);
  margin-bottom: 4px;
}

.fotbal-staff-card__name {
  font-weight: 700;
  color: var(--c-white);
  font-size: 1rem;
}

/* Squad grid */
.fotbal-squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.fotbal-player-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--c-navy-mid);
  border: 1px solid rgba(91, 127, 191, 0.08);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}

.fotbal-player-card:hover {
  border-color: rgba(91, 127, 191, 0.2);
  background: var(--c-navy-light);
}

.fotbal-player-card__number {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--c-gold);
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.fotbal-player-card__name {
  font-weight: 600;
  color: var(--c-white);
}

.fotbal-player-card__pos {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

/* ── Category Badge ──────────────────────────────────────────────────── */
.fotbal-category-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fotbal-category-badge--seniors {
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: var(--c-white);
}

.fotbal-category-badge--youth {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
  color: var(--c-navy);
}

.fotbal-category-badge--kids {
  background: linear-gradient(135deg, #4caf50, #388e3c);
  color: var(--c-white);
}

/* ══════════════════════════════════════════════════════════════════════════
   AKTUALITY PAGE
   ══════════════════════════════════════════════════════════════════════════ */

/* Page title — shared across public pages (aktuality, clanek) */
.fotbal-page-title {
  color: var(--c-white);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Aktuality header section — premium gradient like kontakt/tymy */
.module-wrapper--aktuality-header {
  background:
    radial-gradient(ellipse 80% 50% at 50% 80%, var(--c-blue-glow) 0%, transparent 70%),
    linear-gradient(175deg, #0A0F1C 0%, var(--c-navy) 40%, var(--c-navy-mid) 100%);
  padding: clamp(56px, 10vw, 96px) var(--pad) clamp(32px, 5vw, 48px);
}

/* Aktuality content section — top padding for breathing room from title */
.module-wrapper--aktuality-content {
  background: var(--c-navy);
  padding: clamp(24px, 4vw, 40px) var(--pad) var(--pad-section);
}

/* ── Kalendář page — header + body sections ───────────────────────────── */
.module-wrapper--kalendar-header-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 80%, var(--c-blue-glow) 0%, transparent 70%),
    linear-gradient(175deg, #0A0F1C 0%, var(--c-navy) 40%, var(--c-navy-mid) 100%);
  padding: clamp(56px, 10vw, 96px) var(--pad) clamp(24px, 4vw, 32px);
}

.module-wrapper--kalendar-body-section {
  background: var(--c-navy);
  padding: clamp(16px, 3vw, 24px) var(--pad) var(--pad-section);
}

/* ── Clanek (article detail) page ──────────────────────────────────────── */
.module-wrapper--clanek-header {
  background:
    radial-gradient(ellipse 80% 50% at 50% 80%, var(--c-blue-glow) 0%, transparent 70%),
    linear-gradient(175deg, #0A0F1C 0%, var(--c-navy) 40%, var(--c-navy-mid) 100%);
  padding: clamp(40px, 8vw, 72px) var(--pad) clamp(24px, 4vw, 40px);
}

.module-wrapper--clanek-body-section {
  background: var(--c-navy);
  padding: 0 var(--pad) var(--pad-section);
}

/* Article cards — premium dark glass (consistent with upcoming/team cards) */
.fotbal-article-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(30, 45, 79, 0.8), rgba(22, 32, 56, 0.9));
  border: 1px solid rgba(91, 127, 191, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s var(--ease);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.fotbal-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(91, 127, 191, 0.18);
  border-color: rgba(91, 127, 191, 0.25);
}

.fotbal-article-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.fotbal-article-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-white);
}

.fotbal-article-card__summary {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  flex: 1;
}

.fotbal-article-card__meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(91, 127, 191, 0.08);
}

/* ══════════════════════════════════════════════════════════════════════════
   KONTAKT PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.module-wrapper--kontakt-header {
  background:
    radial-gradient(ellipse 80% 50% at 50% 80%, var(--c-blue-glow) 0%, transparent 70%),
    linear-gradient(175deg, #0A0F1C 0%, var(--c-navy) 40%, var(--c-navy-mid) 100%);
  color: var(--c-white);
  text-align: center;
  padding: clamp(56px, 10vw, 96px) var(--pad);
}

.module-wrapper--kontakt-header h1 {
  color: var(--c-white);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.module-wrapper--contact-section {
  background:
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(91, 127, 191, 0.08) 0%, transparent 70%),
    var(--c-navy);
  padding: var(--pad-section) var(--pad);
}

/* Contact cards — premium dark glass */
.module-wrapper--contact-section .ui-service-block {
  background: linear-gradient(135deg, rgba(30, 45, 79, 0.8), rgba(22, 32, 56, 0.9));
  border: 1px solid rgba(91, 127, 191, 0.12);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--radius-sm);
  padding: 24px 24px 24px 28px;
  transition: all 0.35s var(--ease);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}
.module-wrapper--contact-section .ui-service-block:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 28px rgba(91, 127, 191, 0.18);
  border-left-color: var(--c-gold);
  background: linear-gradient(135deg, rgba(30, 45, 79, 0.95), rgba(22, 32, 56, 1));
}
.module-wrapper--contact-section .ui-service-block::before { display: none; }
.module-wrapper--contact-section .ui-service-block__icon {
  color: var(--c-blue-light);
  filter: drop-shadow(0 0 6px rgba(91, 127, 191, 0.3));
}
.module-wrapper--contact-section .ui-service-block__title {
  font-weight: 700;
  color: var(--c-white);
}
.module-wrapper--contact-section .ui-service-block__description {
  color: rgba(255, 255, 255, 0.7);
}

/* Contact right column */
.module-wrapper--contact-section h2 {
  color: var(--c-white);
  font-weight: 900;
}
.module-wrapper--contact-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* Contact button — outline on dark */
.module-wrapper--contact-section .ui-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--c-blue-light);
  border: 2px solid rgba(91, 127, 191, 0.3);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.module-wrapper--contact-section .ui-button:hover {
  background: rgba(91, 127, 191, 0.1);
  border-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(91, 127, 191, 0.2);
}

/* ══════════════════════════════════════════════════════════════════════════
   LOGIN PAGE — Premium Dark Card
   ══════════════════════════════════════════════════════════════════════════ */
.module-wrapper--login-section {
  background:
    radial-gradient(ellipse 50% 60% at 50% 40%, rgba(91, 127, 191, 0.12) 0%, transparent 70%),
    linear-gradient(175deg, #0A0F1C 0%, var(--c-navy) 50%, var(--c-navy-mid) 100%);
  min-height: 70vh;
}

/* Center the inner container */
.module-wrapper--login-section .ui-section-body__inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(60px, 12vh, 140px) 0;
}

/* The card wrapper — min-height prevents flicker when JS re-renders form */
.module-wrapper--login-form {
  width: 100%;
  max-width: 420px;
  min-height: 340px;
  background: linear-gradient(145deg, rgba(30, 45, 79, 0.7), rgba(22, 32, 56, 0.85));
  border: 1px solid rgba(91, 127, 191, 0.15);
  border-radius: var(--radius);
  padding: 48px 40px 40px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(91, 127, 191, 0.08);
  backdrop-filter: blur(12px);
  position: relative;
}

/* SSR skeleton hides during JS takeover to prevent flash */
.module-wrapper--login-form .ui-form { animation: loginFadeIn 0.3s ease both; }
@keyframes loginFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Gold accent line at top of card */
.module-wrapper--login-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-blue));
  border-radius: 0 0 2px 2px;
}

/* Login title */
.module-wrapper--login-form .ui-form {
  display: grid;
  gap: 20px;
}

/* Labels */
.module-wrapper--login-form .ui-field__label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.module-wrapper--login-form .ui-field__req {
  color: var(--c-gold);
}

/* Inputs */
.module-wrapper--login-form .ui-field__input {
  width: 100%;
  background: rgba(15, 22, 38, 0.6);
  border: 1px solid rgba(91, 127, 191, 0.15);
  border-radius: var(--radius-sm);
  color: var(--c-white);
  padding: 14px 16px;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}
.module-wrapper--login-form .ui-field__input:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(91, 127, 191, 0.12);
  background: rgba(15, 22, 38, 0.8);
}
.module-wrapper--login-form .ui-field__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Submit button */
.module-wrapper--login-form .ui-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.module-wrapper--login-form .ui-form__submit {
  width: 100%;
  height: auto;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: var(--c-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 16px rgba(91, 127, 191, 0.2);
}
.module-wrapper--login-form .ui-form__submit:hover {
  box-shadow: 0 6px 24px rgba(91, 127, 191, 0.35);
  transform: translateY(-1px);
}

/* Error / global message */
.module-wrapper--login-form .ui-form__global-msg,
.module-wrapper--login-form .ui-field__msg {
  color: #ff9999;
  font-size: 0.85rem;
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.2);
  border-radius: 6px;
  padding: 10px 14px;
}

/* Forgot password link */
.fotbal-forgot-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.fotbal-forgot-link:hover {
  color: var(--c-blue-light);
}

/* ── Login & Kontakt responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .module-wrapper--login-form {
    padding: 36px 24px 32px;
    max-width: 100%;
  }
  .module-wrapper--login-section .ui-section-body__inner {
    padding: 40px 0;
  }
  .module-wrapper--login-section {
    min-height: auto;
  }
  .module-wrapper--kontakt-header {
    padding: clamp(40px, 8vw, 60px) var(--pad);
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .fotbal-match {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
  }
  .fotbal-match__body { width: 100%; }
  .fotbal-squad-grid { grid-template-columns: 1fr; }
  .fotbal-staff-grid { grid-template-columns: 1fr; }
  .fotbal-table { font-size: 0.78rem; }
  .fotbal-table th,
  .fotbal-table td { padding: 8px 10px; }
  .module-wrapper--hero-logo figure.ui-image img {
    width: 110px;
    height: 110px;
  }
  .module-wrapper--hero-logo figure.ui-image::before {
    width: 160px;
    height: 160px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   FULL DRAW — Round-by-round fixture view
   ══════════════════════════════════════════════════════════════════════════ */
.module-wrapper--draw-section {
  background: var(--c-navy);
  padding: var(--pad-section) var(--pad);
}

.fotbal-draw {
  margin-top: 20px;
}

/* ── Round tabs (horizontal scrollable) ──────────────────────────────── */
.fotbal-draw__nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 12px;
  margin-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 127, 191, 0.3) transparent;
}

.fotbal-draw__nav::-webkit-scrollbar { height: 4px; }
.fotbal-draw__nav::-webkit-scrollbar-track { background: transparent; }
.fotbal-draw__nav::-webkit-scrollbar-thumb {
  background: rgba(91, 127, 191, 0.3);
  border-radius: 4px;
}

.fotbal-draw__tab {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(30, 45, 79, 0.4);
  border: 1px solid rgba(91, 127, 191, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.fotbal-draw__tab:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(30, 45, 79, 0.7);
  border-color: rgba(91, 127, 191, 0.15);
}

.fotbal-draw__tab.is-active {
  color: var(--c-white);
  background: linear-gradient(135deg, var(--c-blue-deep), var(--c-blue-dark));
  border-color: var(--c-blue);
  box-shadow: 0 2px 12px rgba(91, 127, 191, 0.25);
}

/* ── Round panels ────────────────────────────────────────────────────── */
.fotbal-draw__panel {
  display: none;
}

.fotbal-draw__panel.is-visible {
  display: block;
  animation: drawFadeIn 0.3s ease-out;
}

@keyframes drawFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fotbal-draw__round-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(91, 127, 191, 0.1);
}

/* ── Individual match rows in the draw ───────────────────────────────── */
.fotbal-draw__matches {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fotbal-draw__match {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--c-navy-mid);
  border: 1px solid rgba(91, 127, 191, 0.06);
  transition: all 0.25s var(--ease);
}

.fotbal-draw__match:hover {
  background: rgba(30, 45, 79, 0.9);
  border-color: rgba(91, 127, 191, 0.12);
}

.fotbal-draw__match.is-our-match {
  background: rgba(91, 127, 191, 0.12);
  border-left: 3px solid var(--c-gold);
}

.fotbal-draw__match-teams {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fotbal-draw__home,
.fotbal-draw__away {
  flex: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.fotbal-draw__home { text-align: right; }

.fotbal-draw__home.is-us,
.fotbal-draw__away.is-us {
  color: var(--c-white);
  font-weight: 700;
}

.fotbal-draw__score {
  font-weight: 800;
  font-size: 1.05rem;
  min-width: 52px;
  text-align: center;
  color: var(--c-white);
  background: rgba(91, 127, 191, 0.15);
  padding: 3px 10px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

.fotbal-draw__score--pending {
  color: var(--c-text-muted);
  font-weight: 500;
  font-size: 0.78rem;
  background: transparent;
}

.fotbal-draw__match-date {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-top: 4px;
  text-align: center;
}

/* ── Draw responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .fotbal-draw__match-teams {
    flex-wrap: wrap;
  }
  .fotbal-draw__home,
  .fotbal-draw__away {
    flex: none;
    width: 100%;
    text-align: left;
    font-size: 0.85rem;
  }
  .fotbal-draw__home {
    text-align: left;
    order: 1;
  }
  .fotbal-draw__score {
    order: 3;
    margin: 4px 0;
  }
  .fotbal-draw__away { order: 2; }
  .fotbal-draw__match {
    padding: 10px 12px;
  }
  .fotbal-draw__tab {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

  color: rgba(255,255,255,0.5);
}
.admin-audit-detail {
  flex: 1;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .admin-users-header { display: none; }
  .admin-user-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .admin-user-info { flex: 1 1 100%; }
  .admin-user-role { width: auto; }
  .admin-user-teams { flex: 1 1 100%; }
  .admin-user-actions { width: 100%; justify-content: flex-start; }
  .admin-audit-row { flex-wrap: wrap; }
  .admin-audit-date { width: auto; }
  .admin-audit-user { width: auto; }
  .admin-audit-action { width: auto; }
  .admin-audit-target { width: auto; }
  .admin-checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ARTICLES — Public card grid
   ══════════════════════════════════════════════════════════════════════════ */

.fotbal-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Card image (kept here near article detail block) */
.fotbal-article-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.fotbal-article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Article detail ──────────────────────────────────────────────────── */

.fotbal-back-link {
  color: var(--c-blue-light);
  font-size: 0.85rem;
  text-decoration: none;
}
.fotbal-back-link:hover { text-decoration: underline; }

.fotbal-article-hero {
  border-radius: var(--radius, 8px);
  overflow: hidden;
  margin: 16px 0;
}
.fotbal-article-hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.fotbal-article-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--c-white);
}

.fotbal-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.fotbal-article-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fotbal-article-tag {
  background: rgba(102,134,196,0.12);
  color: #6686C4;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.fotbal-article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 720px;
}
.fotbal-article-body p { margin: 0 0 16px; }
.fotbal-article-body h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--c-white); }
.fotbal-article-body h3 { font-size: 1.15rem; margin: 24px 0 8px; color: var(--c-white); }
.fotbal-article-body ul, .fotbal-article-body ol { padding-left: 24px; margin: 0 0 16px; }
.fotbal-article-body blockquote {
  border-left: 3px solid var(--c-blue);
  padding: 8px 16px;
  margin: 16px 0;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}
.fotbal-article-body a { color: var(--c-blue-light); }

/* ═══════════════════════════════════════════════════════════════════════════════
   PLAYER PERSONAL CARD PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */

.fotbal-hrac-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
}
.fotbal-hrac-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(91,127,191,0.2);
  flex-shrink: 0;
  background: var(--c-navy-light);
}
.fotbal-hrac-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(91,127,191,0.2);
  background: var(--c-navy-light);
  flex-shrink: 0;
}
.fotbal-hrac-avatar--placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.35;
}
.fotbal-hrac-info {
  flex: 1;
}
.fotbal-hrac-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-white);
  margin: 0 0 6px;
  line-height: 1.2;
}
.fotbal-hrac-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.fotbal-hrac-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(91,127,191,0.1);
  color: #6686C4;
}
.fotbal-hrac-badge--team {
  background: rgba(30,45,79,0.4);
  color: var(--c-blue-light);
}
.fotbal-hrac-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.fotbal-hrac-meta span { display: flex; align-items: center; gap: 4px; }

.fotbal-hrac-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0;
}
.fotbal-hrac-stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--c-navy-mid);
  border: 1px solid rgba(91,127,191,0.12);
  border-radius: 10px;
}
.fotbal-hrac-stat__val {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-white);
}
.fotbal-hrac-stat__val--goal { color: #16a34a; }
.fotbal-hrac-stat__val--yk { color: #D4A017; }
.fotbal-hrac-stat__val--rk { color: #C00; }
.fotbal-hrac-stat__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fotbal-hrac-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  border-bottom: 2px solid rgba(91,127,191,0.15);
  padding-bottom: 8px;
  margin-top: 12px;
}

.fotbal-hrac-matches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fotbal-hrac-match-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--c-navy-mid);
  border-radius: 8px;
  font-size: 0.88rem;
}
.fotbal-hrac-match-row__date {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  min-width: 80px;
}
.fotbal-hrac-match-row__teams {
  flex: 1;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.fotbal-hrac-match-row__events {
  display: flex;
  gap: 6px;
}
.fotbal-hrac-event-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.fotbal-hrac-event-badge--goal { background: rgba(22,163,74,0.1); color: #16a34a; }
.fotbal-hrac-event-badge--yk { background: rgba(212,160,23,0.15); color: #b8860b; }
.fotbal-hrac-event-badge--rk { background: rgba(204,0,0,0.1); color: #c00; }

.fotbal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-blue-light);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.fotbal-back-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════════
   ADD MATCH FORM & MATCH TYPE BADGES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Public: Match type badge ───────────────────────────────────────────────── */
.fotbal-match__type-badge {
  display: inline-block;
  padding: 1px 7px;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-left: 6px;
  vertical-align: middle;
}
.fotbal-match__type-badge--friendly {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}
.fotbal-match__type-badge--tournament {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}
.fotbal-match__location {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  padding: 2px 12px 4px;
}

/* ── Draw: Match type badge ─────────────────────────────────────────────────── */
.fotbal-draw__type-badge {
  display: inline-block;
  padding: 1px 7px;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-left: 4px;
}
.fotbal-draw__type-badge--friendly {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}
.fotbal-draw__type-badge--tournament {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}
.fotbal-draw__match-location {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   UPCOMING MATCHES — Homepage cards
   ═══════════════════════════════════════════════════════════════════════════════ */

.fotbal-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.fotbal-upcoming-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  color: var(--c-white);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  position: relative;
  overflow: hidden;
}
.fotbal-upcoming-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border-color: rgba(102,134,196,0.4);
}
.fotbal-upcoming-card--home {
  border-left: 4px solid #16a34a;
  background: rgba(22,163,74,0.08);
}
.fotbal-upcoming-card--today {
  border-color: var(--c-gold);
  box-shadow: 0 0 20px rgba(232,197,71,0.15);
}
.fotbal-upcoming-card__today-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--c-gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 0 8px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fotbal-upcoming-card__home-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fotbal-upcoming-card__team {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fotbal-upcoming-card__vs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
}
.fotbal-upcoming-card__dash {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--c-text-muted);
  text-transform: uppercase;
}
.fotbal-upcoming-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--c-text-mid);
}
.fotbal-upcoming-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(91,127,191,0.15);
  color: var(--c-blue-light);
  align-self: flex-start;
}

/* Upcoming list (condensed rows) */
.fotbal-upcoming-list {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}
.fotbal-upcoming-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--c-white);
  transition: background 0.12s;
}
.fotbal-upcoming-row:hover {
  background: rgba(255,255,255,0.04);
}
.fotbal-upcoming-row--today {
  background: rgba(232,197,71,0.08);
  border-left: 3px solid var(--c-gold);
}
.fotbal-upcoming-row--home {
  background: rgba(22,163,74,0.06);
}
.fotbal-upcoming-row__date {
  font-weight: 700;
  min-width: 55px;
}
.fotbal-upcoming-row__time {
  min-width: 45px;
  color: var(--c-text-muted);
}
.fotbal-upcoming-row__team {
  font-weight: 600;
  min-width: 80px;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
}
.fotbal-upcoming-row__match {
  flex: 1;
}
.fotbal-upcoming-row__home-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #22c55e;
  text-transform: uppercase;
}
.fotbal-upcoming-row__away-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
}

/* Link to full calendar */
.fotbal-upcoming-cal-link {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--c-blue);
  color: var(--c-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.fotbal-upcoming-cal-link:hover {
  background: var(--c-blue-dark);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CALENDAR PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */

.fotbal-cal-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 20px;
  flex-wrap: wrap;
}
.fotbal-cal-nav-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--c-white);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.12s;
}
.fotbal-cal-nav-btn:hover {
  background: rgba(255,255,255,0.15);
}
.fotbal-cal-month-label {
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 160px;
  text-align: center;
  color: var(--c-white);
}
.fotbal-cal-team-filter {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--c-white);
  font-size: 0.85rem;
}

/* Calendar grid */
.fotbal-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.fotbal-cal-dayname {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 4px;
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}
.fotbal-cal-cell {
  min-height: 90px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.fotbal-cal-cell--empty {
  background: transparent;
  border-color: transparent;
  min-height: auto;
}
.fotbal-cal-cell--today {
  border-color: var(--c-gold);
  background: rgba(232,197,71,0.06);
}
.fotbal-cal-cell--has-match {
  background: rgba(91,127,191,0.06);
}
.fotbal-cal-cell--home {
  border-left: 3px solid #22c55e;
}
.fotbal-cal-cell__day {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 4px;
  color: rgba(255,255,255,0.7);
}
.fotbal-cal-cell--today .fotbal-cal-cell__day {
  color: var(--c-gold);
  font-weight: 800;
}

/* Match inside calendar cell */
.fotbal-cal-match {
  font-size: 0.65rem;
  padding: 3px 4px;
  border-radius: 3px;
  background: rgba(91,127,191,0.12);
  color: var(--c-white);
  line-height: 1.3;
}
.fotbal-cal-match--home {
  background: rgba(22,163,74,0.12);
  border-left: 2px solid #22c55e;
}
.fotbal-cal-match--away {
  background: rgba(91,127,191,0.08);
  border-left: 2px solid var(--c-blue);
}
.fotbal-cal-match--played {
  opacity: 0.6;
}
.fotbal-cal-match__team {
  font-weight: 700;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fotbal-cal-match__opponent {
  display: block;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fotbal-cal-match__time {
  color: rgba(255,255,255,0.5);
}
.fotbal-cal-match__score {
  font-weight: 700;
}
.fotbal-cal-match__type {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
}

/* Calendar list view below grid */
.fotbal-cal-list {
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}
.fotbal-cal-list__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
}
.fotbal-cal-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--c-white);
  flex-wrap: wrap;
}
.fotbal-cal-list-row:nth-child(even) {
  background: rgba(255,255,255,0.02);
}
.fotbal-cal-list-row--home {
  background: rgba(22,163,74,0.06);
}
.fotbal-cal-list-row--played {
  opacity: 0.65;
}
.fotbal-cal-list-row__date {
  font-weight: 700;
  min-width: 45px;
}
.fotbal-cal-list-row__time {
  min-width: 40px;
  color: rgba(255,255,255,0.5);
}
.fotbal-cal-list-row__team-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  min-width: 70px;
}
.fotbal-cal-list-row__match {
  flex: 1;
  min-width: 150px;
}
.fotbal-cal-list-row__score {
  font-weight: 700;
  min-width: 40px;
}
.fotbal-cal-list-row__tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.fotbal-cal-list-row__tag--home {
  background: rgba(22,163,74,0.12);
  color: #22c55e;
}
.fotbal-cal-list-row__tag--away {
  background: rgba(91,127,191,0.1);
  color: var(--c-blue-light);
}
.fotbal-cal-list-row__location {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MATCH DETAIL PAGE — #/zapas/:matchId
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Header card ── */
.fotbal-zapas-header {
  background: linear-gradient(135deg, var(--c-navy-mid) 0%, rgba(91, 127, 191, 0.15) 100%);
  border: 1px solid rgba(91, 127, 191, 0.15);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}

.fotbal-zapas-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fotbal-zapas-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(91, 127, 191, 0.15);
  color: var(--c-blue);
  border: 1px solid rgba(91, 127, 191, 0.2);
}

.fotbal-zapas-badge--friendly {
  background: rgba(76, 175, 80, 0.15);
  color: #81c784;
  border-color: rgba(76, 175, 80, 0.2);
}

.fotbal-zapas-badge--tournament {
  background: rgba(255, 152, 0, 0.15);
  color: #ffb74d;
  border-color: rgba(255, 152, 0, 0.2);
}

.fotbal-zapas-badge--comp {
  background: rgba(232, 197, 71, 0.1);
  color: var(--c-gold);
  border-color: rgba(232, 197, 71, 0.15);
}

/* ── Teams + Score ── */
.fotbal-zapas-matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
}

.fotbal-zapas-team {
  flex: 1;
  min-width: 0;
}

.fotbal-zapas-team--home {
  text-align: right;
}

.fotbal-zapas-team--away {
  text-align: left;
}

.fotbal-zapas-team__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.fotbal-zapas-center {
  flex-shrink: 0;
}

.fotbal-zapas-score {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--c-gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.fotbal-zapas-vs {
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

/* ── Meta row (date, time, location) ── */
.fotbal-zapas-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.fotbal-zapas-meta__item {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Section containers (events, lineup) ── */
.fotbal-zapas-section {
  background: var(--c-navy-mid);
  border: 1px solid rgba(91, 127, 191, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
}

.fotbal-zapas-section__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-gold);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232, 197, 71, 0.15);
}

/* ── Events timeline ── */
.fotbal-zapas-timeline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fotbal-zapas-event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid rgba(91, 127, 191, 0.2);
  background: rgba(15, 22, 38, 0.4);
  transition: background 0.2s var(--ease);
}

.fotbal-zapas-event:hover {
  background: rgba(91, 127, 191, 0.08);
}

.fotbal-zapas-event__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.fotbal-zapas-event__min {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-gold);
  min-width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.fotbal-zapas-event__player {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

a.fotbal-zapas-event__player:hover {
  color: var(--c-gold);
  text-decoration: underline;
}

/* ── Lineup ── */
.fotbal-zapas-lineup {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fotbal-zapas-group__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  margin-bottom: 8px;
}

.fotbal-zapas-group__players {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fotbal-zapas-player {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(91, 127, 191, 0.1);
  border: 1px solid rgba(91, 127, 191, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}

.fotbal-zapas-player:hover {
  background: rgba(91, 127, 191, 0.2);
  border-color: var(--c-gold);
  color: var(--c-gold);
}

/* ── Draw match link styles ── */
a.fotbal-draw__match--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.fotbal-draw__match--link:hover {
  background: rgba(91, 127, 191, 0.18);
  border-color: rgba(232, 197, 71, 0.3);
}

/* ── Calendar match link styles ── */
a.fotbal-cal-match--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.fotbal-cal-match--link:hover {
  background: rgba(232, 197, 71, 0.15);
}

a.fotbal-cal-list-row--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.fotbal-cal-list-row--link:hover {
  background: rgba(91, 127, 191, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Player card page + admin panels
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .fotbal-hrac-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .fotbal-hrac-badges { justify-content: center; }
  .fotbal-hrac-meta { justify-content: center; }
  .fotbal-hrac-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .fotbal-hrac-stat { padding: 14px 8px; }
  .fotbal-hrac-stat__val { font-size: 1.6rem; }
  .fotbal-hrac-match-row { flex-wrap: wrap; }


  /* Upcoming cards */
  .fotbal-upcoming-grid { grid-template-columns: 1fr; }
  .fotbal-upcoming-row { flex-wrap: wrap; gap: 6px; }
  .fotbal-upcoming-row__team { min-width: 100%; }

  /* Calendar */
  .fotbal-cal-grid { grid-template-columns: repeat(7, 1fr); gap: 1px; }
  .fotbal-cal-cell { min-height: 60px; padding: 2px; }
  .fotbal-cal-cell__day { font-size: 0.7rem; }
  .fotbal-cal-match { font-size: 0.55rem; padding: 2px; }
  .fotbal-cal-match__opponent { display: none; }
  .fotbal-cal-toolbar { gap: 8px; }
  .fotbal-cal-month-label { font-size: 1rem; min-width: auto; }
  .fotbal-cal-team-filter { margin-left: 0; width: 100%; }
  .fotbal-cal-list-row { gap: 6px; }

  /* Match detail page */
  .fotbal-zapas-header { padding: 20px 16px; }
  .fotbal-zapas-matchup { flex-direction: column; gap: 8px; }
  .fotbal-zapas-team--home,
  .fotbal-zapas-team--away { text-align: center; }
  .fotbal-zapas-team__name { font-size: 1.1rem; }
  .fotbal-zapas-score { font-size: 1.8rem; }
  .fotbal-zapas-vs { font-size: 1.2rem; }
  .fotbal-zapas-meta { gap: 12px; }
  .fotbal-zapas-section { padding: 16px; }
  .fotbal-zapas-event { gap: 8px; padding: 6px 8px; }
  .fotbal-zapas-group__players { gap: 6px; }
  .fotbal-zapas-player { padding: 5px 10px; font-size: 0.8rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESET PASSWORD PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.fotbal-reset-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: var(--pad);
}

.fotbal-reset-card {
  max-width: 440px;
  width: 100%;
  padding: 40px;
  background: linear-gradient(135deg, rgba(30,45,79,0.6), rgba(22,32,56,0.8));
  border: 1px solid rgba(91,127,191,0.12);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  text-align: center;
}

.fotbal-reset-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-white);
  margin: 0 0 12px;
}

.fotbal-reset-text {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

.fotbal-reset-card .admin-profil__form {
  text-align: left;
}

.fotbal-reset-card .admin-profil__actions {
  text-align: center;
  margin-top: 8px;
}

.fotbal-reset-card .admin-btn--primary {
  display: inline-block;
  text-decoration: none;
  margin-top: 16px;
}

