:root {
  --fsdata-primary: #1f6f4a;
  --fsdata-primary-dark: #14532d;
  --fsdata-surface: #ffffff;
  --fsdata-accent: #f5f0e6;
  --fsdata-ink: #163020;
  --fsdata-muted: #eef3ef;
  --fsdata-night: #08111f;
  --fsdata-night-soft: #10233f;
  --fsdata-gold: #d89a37;
  --fsdata-ice: #d9e5f7;
  --club-primary: #1f6f4a;
  --club-secondary: #d89a37;
}

body {
  min-height: 100vh;
  color: var(--fsdata-ink);
  font-family: "Barlow", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(216, 154, 55, 0.1), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(31, 111, 74, 0.12), transparent 22%),
    linear-gradient(180deg, #f4f6f8 0%, #eef2f6 52%, #e8edf2 100%);
}

.min-vh-75 {
  min-height: 75vh;
}

.app-shell {
  position: relative;
}

.branding-variant-impacto {
  background:
    radial-gradient(circle at 14% 8%, rgba(216, 154, 55, 0.16), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(31, 111, 74, 0.16), transparent 24%),
    linear-gradient(180deg, #eef2f6 0%, #e8edf3 48%, #e0e7ef 100%);
}

.branding-variant-minimal {
  background:
    linear-gradient(180deg, #f6f8fb 0%, #eef3f7 55%, #e9eef4 100%);
}

.app-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 10%, rgba(240, 177, 51, 0.08), transparent 20%),
    radial-gradient(circle at 15% 20%, rgba(31, 111, 74, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.02), rgba(7, 17, 31, 0));
}

.app-header-wrap {
  position: relative;
  padding: 1rem 0 0;
}

.app-navbar {
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--club-primary) 24%, rgba(7, 17, 31, 0.94)), color-mix(in srgb, var(--club-secondary) 16%, rgba(13, 31, 57, 0.9)));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 55px rgba(6, 14, 26, 0.16);
}

.branding-variant-impacto .app-navbar {
  box-shadow: 0 22px 70px rgba(6, 14, 26, 0.2);
  border-color: rgba(255, 255, 255, 0.12);
}

.branding-variant-minimal .app-navbar {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--club-primary) 14%, rgba(7, 17, 31, 0.94)), rgba(13, 31, 57, 0.92));
  box-shadow: 0 14px 40px rgba(6, 14, 26, 0.12);
}

.app-navbar-inner {
  padding: 0.5rem 0.8rem;
}

.navbar-brand {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}

.app-brand-subtitle {
  font-family: "Barlow", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217, 229, 247, 0.62);
}

.app-brand-mark {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, var(--club-secondary), var(--club-primary));
  color: #08111f;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(207, 136, 37, 0.28);
}

.app-brand-mark-sm {
  width: 2rem;
  height: 2rem;
  font-size: 0.72rem;
  border-radius: 0.75rem;
}

.app-brand-name {
  line-height: 1;
}

.app-club-logo {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.95rem;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(7, 17, 31, 0.24);
  background: #fff;
}

.app-club-logo-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.app-club-logo-table {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.8rem;
}

.app-nav {
  gap: 0.35rem;
  padding: 0 1rem;
}

.app-nav-link {
  padding: 0.7rem 1rem !important;
  border-radius: 999px;
  color: rgba(217, 229, 247, 0.78) !important;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.app-nav-link:hover,
.app-nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.app-user-area {
  margin-left: auto;
}

.app-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  backdrop-filter: blur(10px);
}

.app-user-meta-label {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--club-secondary) 22%, transparent);
  color: color-mix(in srgb, var(--club-secondary) 88%, white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-user-meta-value {
  font-weight: 700;
}

.app-user-meta-club {
  color: rgba(217, 229, 247, 0.72);
}

.app-navbar-action {
  min-width: 5.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.app-navbar-action:hover,
.app-navbar-action:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.app-navbar-toggle {
  border-radius: 0.9rem;
  border-color: rgba(255, 255, 255, 0.14);
}

.card {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 28, 50, 0.06);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 45px rgba(14, 27, 45, 0.08);
}

.badge.text-bg-success-subtle {
  background-color: rgba(25, 135, 84, 0.12);
}

.btn,
.form-control,
.form-select,
.alert,
.list-group-item,
.table,
.input-group-text {
  border-radius: 0.85rem;
}

.btn-success {
  background: linear-gradient(135deg, var(--club-secondary), color-mix(in srgb, var(--club-primary) 35%, var(--club-secondary)));
  border-color: color-mix(in srgb, var(--club-secondary) 80%, #000 20%);
  color: #08111f;
}

.btn-outline-success {
  border-color: rgba(11, 28, 50, 0.14);
  color: #0d2442;
}

.btn-outline-success:hover {
  background: #0d2442;
  border-color: #0d2442;
  color: #fff;
}

.club-color-dot {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(7, 17, 31, 0.1);
  margin-right: 0.35rem;
}

.auth-color-input {
  min-width: 100%;
  height: 3.4rem;
}

.app-alert-dot {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.35;
  flex: 0 0 auto;
}

.app-empty-state,
.app-error-copy {
  max-width: 42rem;
}

.app-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(31, 111, 74, 0.12);
  color: var(--fsdata-primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-footer {
  padding: 1rem 1.25rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 28, 50, 0.08);
  backdrop-filter: blur(10px);
}

.app-footer-links a {
  color: var(--fsdata-primary-dark);
  text-decoration: none;
  font-weight: 600;
}

.app-footer-links a:hover {
  text-decoration: underline;
}

.legal-shell {
  max-width: 78rem;
  margin: 0 auto;
}

.legal-hero {
  margin-bottom: 1.5rem;
  padding: 2rem 2.2rem;
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(11, 28, 50, 0.95), rgba(31, 111, 74, 0.88)),
    radial-gradient(circle at top right, rgba(216, 154, 55, 0.22), transparent 30%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(11, 28, 50, 0.16);
}

.legal-title {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.legal-copy {
  max-width: 52rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  margin-bottom: 0.8rem;
}

.legal-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.legal-document {
  padding: 2rem 2.2rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 28, 50, 0.08);
  box-shadow: 0 18px 40px rgba(11, 28, 50, 0.08);
}

.legal-document h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--fsdata-primary-dark);
  font-size: 1.25rem;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p,
.legal-document li {
  color: #203149;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .legal-hero,
  .legal-document {
    padding: 1.4rem 1.2rem;
    border-radius: 1.2rem;
  }
}

.app-flash-stack {
  max-width: 68rem;
}

.app-alert {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 28, 50, 0.06) !important;
}

.auth-login-page {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(2, 8, 18, 0.92) 8%, rgba(5, 15, 30, 0.78) 40%, rgba(9, 26, 51, 0.5) 100%),
    url("../img/login-fondo.png") center center / cover no-repeat fixed;
}

.branding-variant-impacto.auth-login-page {
  background:
    linear-gradient(120deg, rgba(2, 8, 18, 0.95) 8%, rgba(6, 19, 37, 0.84) 40%, rgba(10, 32, 58, 0.58) 100%),
    url("../img/login-fondo.png") center center / cover no-repeat fixed;
}

.branding-variant-minimal.auth-login-page {
  background:
    linear-gradient(120deg, rgba(4, 12, 22, 0.88) 8%, rgba(6, 17, 32, 0.72) 40%, rgba(8, 23, 43, 0.46) 100%),
    url("../img/login-fondo.png") center center / cover no-repeat fixed;
}

.auth-login-page .app-backdrop {
  background:
    radial-gradient(circle at 18% 20%, rgba(216, 154, 55, 0.18), transparent 25%),
    linear-gradient(180deg, rgba(3, 8, 16, 0.2) 0%, rgba(3, 8, 16, 0.78) 100%);
}

.auth-login-page .app-footer {
  background: rgba(6, 15, 28, 0.68);
  border-color: rgba(255, 255, 255, 0.08);
}

.auth-login-shell {
  position: relative;
  min-height: calc(100vh - 7rem);
  display: flex;
  align-items: center;
}

.auth-login-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 22, 0.2) 0%, rgba(5, 12, 22, 0.58) 38%, rgba(5, 12, 22, 0.78) 100%),
    radial-gradient(circle at 70% 50%, rgba(216, 154, 55, 0.2), transparent 24%);
  pointer-events: none;
}

.auth-login-row {
  min-height: calc(100vh - 9rem);
}

.auth-hero {
  position: relative;
  max-width: 42rem;
  padding: 1.5rem 0;
}

.auth-eyebrow,
.auth-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--club-secondary) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--club-secondary) 28%, transparent);
  color: color-mix(in srgb, var(--club-secondary) 82%, white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-title,
.auth-panel-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.auth-title {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  text-wrap: balance;
}

.auth-copy,
.auth-panel-copy,
.auth-secondary-copy {
  color: rgba(228, 237, 249, 0.8);
}

.auth-copy {
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.55;
}

.auth-register-shell .auth-title {
  max-width: 48rem;
}

.auth-register-grid {
  grid-template-columns: 1fr;
  max-width: 26rem;
}

.auth-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.auth-hero-chip {
  min-height: 100%;
  padding: 1.1rem;
  border-radius: 1.2rem;
  background: rgba(7, 19, 35, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.auth-hero-number {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--club-secondary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.auth-panel {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.92) 0%, rgba(8, 18, 33, 0.88) 100%);
  border-radius: 1.6rem;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.branding-variant-impacto .auth-panel {
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.branding-variant-minimal .auth-panel {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.88) 0%, rgba(8, 18, 33, 0.82) 100%);
  border-color: rgba(255, 255, 255, 0.06);
}

.auth-panel-title {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: #fff;
}

.auth-label {
  color: rgba(228, 237, 249, 0.92);
  font-weight: 600;
}

.auth-input {
  min-height: 3.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 229, 247, 0.14);
  color: #fff;
}

.auth-input::placeholder {
  color: rgba(217, 229, 247, 0.44);
}

.auth-input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: color-mix(in srgb, var(--club-secondary) 52%, white 12%);
  color: #fff;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--club-secondary) 16%, transparent) !important;
}

.auth-submit-btn {
  min-height: 3.6rem;
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--club-secondary), color-mix(in srgb, var(--club-primary) 34%, var(--club-secondary)));
  color: #09111f;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.auth-submit-btn:hover,
.auth-submit-btn:focus {
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-secondary) 84%, white), color-mix(in srgb, var(--club-primary) 26%, var(--club-secondary)));
  color: #08111f;
}

.auth-secondary-btn {
  min-height: 3.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.auth-secondary-btn:hover,
.auth-secondary-btn:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.auth-legal-check {
  padding: 1rem 1rem 1rem 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-legal-check .form-check-input {
  margin-top: 0.25rem;
}

.auth-legal-copy {
  color: rgba(234, 241, 250, 0.88);
  line-height: 1.6;
}

.auth-legal-copy a {
  color: color-mix(in srgb, var(--club-secondary) 82%, white 18%);
  font-weight: 700;
  text-decoration: none;
}

.auth-legal-copy a:hover {
  text-decoration: underline;
}

.auth-divider {
  height: 1px;
  margin: 1.5rem 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.auth-microcopy {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--club-secondary) 78%, white 22%);
}

.dashboard-hero {
  position: relative;
}

.dashboard-hero-bg {
  position: absolute;
  inset: 0;
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--club-primary) 24%, rgba(7, 17, 31, 0.96)), rgba(14, 32, 58, 0.9)),
    radial-gradient(circle at 80% 30%, color-mix(in srgb, var(--club-secondary) 24%, transparent), transparent 22%);
  box-shadow: 0 24px 70px rgba(8, 18, 33, 0.16);
}

.dashboard-hero-panel,
.dashboard-side-panel {
  position: relative;
  padding: 2rem;
  height: 100%;
  color: #fff;
}

.dashboard-club-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dashboard-club-logo,
.dashboard-club-fallback {
  width: 4rem;
  height: 4rem;
  border-radius: 1.2rem;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px rgba(8, 18, 33, 0.24);
  background: rgba(255, 255, 255, 0.94);
}

.dashboard-club-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--club-secondary), var(--club-primary));
  color: #08111f;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.dashboard-club-name {
  margin-top: 0.25rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.dashboard-kicker,
.dashboard-block-kicker,
.dashboard-side-label {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--club-secondary) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--club-secondary) 24%, transparent);
  color: color-mix(in srgb, var(--club-secondary) 82%, white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-side-label {
  color: rgba(255, 245, 221, 0.96);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.dashboard-title {
  margin: 1rem 0 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.dashboard-copy {
  max-width: 42rem;
  color: rgba(241, 246, 252, 0.92);
  font-size: 1.05rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.dashboard-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.dashboard-identity-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f7fc;
  font-size: 0.88rem;
  font-weight: 600;
}

.dashboard-side-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-side-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 245, 221, 0.96);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.dashboard-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.dashboard-quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.dashboard-quick-card:hover,
.dashboard-quick-card:focus {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: color-mix(in srgb, var(--club-secondary) 28%, transparent);
  color: #fff;
}

.dashboard-quick-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.dashboard-quick-copy {
  color: rgba(242, 247, 252, 0.88);
  font-size: 0.88rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.16);
}

.dashboard-metric-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(11, 28, 50, 0.07);
  box-shadow: 0 14px 35px rgba(14, 27, 45, 0.07);
}

.dashboard-metric-card-highlight {
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-primary) 34%, rgba(12, 31, 58, 0.96)), color-mix(in srgb, var(--club-secondary) 14%, rgba(18, 45, 82, 0.92)));
  color: #fff;
}

.dashboard-metric-label {
  color: rgba(78, 94, 114, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-metric-card-highlight .dashboard-metric-label,
.dashboard-metric-card-highlight .dashboard-metric-copy {
  color: rgba(238, 245, 252, 0.92);
}

.dashboard-metric-card-highlight .dashboard-metric-value {
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.dashboard-metric-value {
  margin-top: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.dashboard-metric-copy {
  margin-top: 0.45rem;
  color: rgba(97, 111, 129, 0.88);
  font-size: 0.9rem;
}

.dashboard-block {
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(11, 28, 50, 0.06);
  box-shadow: 0 14px 35px rgba(14, 27, 45, 0.07);
}

.dashboard-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.dashboard-block-title {
  margin: 0.75rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0a1830;
}

.dashboard-timeline,
.dashboard-stack-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.dashboard-timeline-item,
.dashboard-stack-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(244, 247, 251, 0.88);
  border: 1px solid rgba(11, 28, 50, 0.05);
}

.dashboard-timeline-date {
  display: flex;
  min-width: 4.6rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.6rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-primary) 36%, #0c2340), color-mix(in srgb, var(--club-secondary) 10%, #193961));
  color: #fff;
}

.dashboard-timeline-date strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.dashboard-timeline-date span,
.dashboard-timeline-meta,
.dashboard-stack-meta,
.dashboard-empty-copy,
.dashboard-spotlight-copy {
  color: rgba(64, 79, 98, 0.96);
}

.dashboard-timeline-title,
.dashboard-stack-title,
.dashboard-empty-title,
.dashboard-spotlight-title {
  font-weight: 700;
  color: #091a33;
}

.dashboard-empty-state {
  padding: 1.2rem;
  border-radius: 1.1rem;
  background: rgba(244, 247, 251, 0.9);
  border: 1px dashed rgba(11, 28, 50, 0.12);
}

.dashboard-stats-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 252, 0.84));
}

.dashboard-spotlight-card {
  padding: 1.1rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-primary) 38%, rgba(12, 31, 58, 0.96)), rgba(24, 57, 97, 0.92));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-spotlight-card + .dashboard-spotlight-card {
  margin-top: 0.9rem;
}

.dashboard-spotlight-card-secondary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-secondary) 18%, white), color-mix(in srgb, var(--club-secondary) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--club-secondary) 18%, transparent);
}

.dashboard-spotlight-card-secondary .dashboard-spotlight-label {
  color: color-mix(in srgb, var(--club-secondary) 74%, #6d4710);
}

.dashboard-spotlight-card-secondary .dashboard-spotlight-title,
.dashboard-spotlight-card.dashboard-spotlight-card-secondary .dashboard-spotlight-title {
  color: #10223e;
  text-shadow: none;
}

.dashboard-spotlight-card-secondary .dashboard-spotlight-copy,
.dashboard-spotlight-card.dashboard-spotlight-card-secondary .dashboard-spotlight-copy {
  color: rgba(70, 84, 103, 0.88);
}

.dashboard-spotlight-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 210, 138, 0.9);
}

.dashboard-spotlight-card .dashboard-spotlight-title {
  color: #f7fbff;
  font-size: 1.28rem;
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.dashboard-spotlight-card .dashboard-spotlight-copy {
  color: rgba(239, 244, 250, 0.96);
}

.dashboard-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-status-badge-warning {
  background: rgba(216, 154, 55, 0.18);
  color: #8a5a10;
}

.dashboard-table thead th {
  color: rgba(78, 94, 114, 0.95);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalogos-hero {
  position: relative;
}

.catalogos-hero-bg {
  position: absolute;
  inset: 0;
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(8, 18, 33, 0.96), rgba(17, 41, 73, 0.92)),
    radial-gradient(circle at 82% 28%, rgba(216, 154, 55, 0.18), transparent 22%);
  box-shadow: 0 24px 70px rgba(8, 18, 33, 0.16);
}

.branding-variant-impacto .catalogos-hero-bg {
  background:
    linear-gradient(135deg, rgba(8, 18, 33, 0.98), color-mix(in srgb, var(--club-primary) 32%, rgba(17, 41, 73, 0.94))),
    radial-gradient(circle at 82% 28%, color-mix(in srgb, var(--club-secondary) 32%, transparent), transparent 22%);
}

.branding-variant-minimal .catalogos-hero-bg {
  background:
    linear-gradient(135deg, rgba(12, 25, 42, 0.92), rgba(19, 40, 66, 0.9));
  box-shadow: 0 18px 48px rgba(8, 18, 33, 0.12);
}

.catalogos-hero-panel,
.catalogos-actions-panel {
  position: relative;
  height: 100%;
  padding: 2rem;
  color: #fff;
}

.catalogos-hero-panel-compact {
  padding: 1.55rem 1.75rem;
}

.section-club-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalogos-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.catalogos-hero-club {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-club-logo,
.section-club-fallback {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1.15rem;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px rgba(8, 18, 33, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.section-club-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--club-secondary), var(--club-primary));
  color: #08111f;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.section-club-name {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalogos-kicker,
.catalogos-block-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--club-secondary) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--club-secondary) 24%, transparent);
  color: color-mix(in srgb, var(--club-secondary) 82%, white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogos-title,
.catalogos-form-title {
  margin: 1rem 0 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.catalogos-title {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.catalogos-copy,
.catalogos-form-copy {
  color: rgba(228, 237, 249, 0.82);
  max-width: 44rem;
}

.catalogos-form-card .catalogos-kicker {
  background: color-mix(in srgb, var(--club-secondary) 12%, white);
  border-color: color-mix(in srgb, var(--club-secondary) 24%, rgba(11, 28, 50, 0.08));
  color: color-mix(in srgb, var(--club-primary) 70%, #5d4a18);
}

.catalogos-form-card .catalogos-form-title {
  color: #163726;
}

.catalogos-form-card .catalogos-form-copy {
  color: rgba(33, 52, 74, 0.72);
}

.catalogos-form-card .form-text {
  color: rgba(50, 67, 86, 0.78);
}

.catalogos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.catalogos-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.catalogos-hero-action:hover,
.catalogos-hero-action:focus {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: color-mix(in srgb, var(--club-secondary) 34%, transparent);
  color: #fff;
}

.catalogos-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.catalogos-stat-card {
  display: flex;
  min-width: 9rem;
  flex-direction: column;
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 28, 50, 0.06);
  box-shadow: 0 10px 24px rgba(14, 27, 45, 0.06);
}

.catalogos-stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: #13243a;
}

.catalogos-stat-label {
  margin-top: 0.35rem;
  color: rgba(78, 94, 114, 0.92);
  font-size: 0.9rem;
}

.catalogos-actions-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.catalogos-action-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.catalogos-action-card:hover,
.catalogos-action-card:focus {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: color-mix(in srgb, var(--club-secondary) 28%, transparent);
  color: #fff;
}

.catalogos-action-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.catalogos-action-copy {
  color: rgba(228, 237, 249, 0.74);
  font-size: 0.9rem;
}

.catalogos-block,
.catalogos-form-card {
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(11, 28, 50, 0.06);
  box-shadow: 0 14px 35px rgba(14, 27, 45, 0.07);
}

.estadisticas-hero {
  position: relative;
}

.estadisticas-hero-bg {
  position: absolute;
  inset: 0;
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(8, 18, 33, 0.96), color-mix(in srgb, var(--club-primary) 24%, rgba(17, 41, 73, 0.92))),
    radial-gradient(circle at 82% 28%, color-mix(in srgb, var(--club-secondary) 26%, transparent), transparent 24%);
  box-shadow: 0 24px 70px rgba(8, 18, 33, 0.16);
}

.estadisticas-hero-panel,
.estadisticas-side-panel {
  position: relative;
  height: 100%;
  padding: 1.7rem 1.85rem;
  color: #fff;
}

.estadisticas-kicker,
.estadisticas-block-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--club-secondary) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--club-secondary) 24%, transparent);
  color: color-mix(in srgb, var(--club-secondary) 82%, white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estadisticas-title {
  margin: 0.8rem 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.estadisticas-copy {
  max-width: 46rem;
  color: rgba(228, 237, 249, 0.82);
  font-size: 1rem;
}

.estadisticas-side-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.estadisticas-recalc-btn {
  min-height: 3.15rem;
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--club-secondary) 40%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-secondary) 92%, white 8%), color-mix(in srgb, var(--club-secondary) 64%, var(--club-primary) 36%));
  color: #08111f;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(8, 18, 33, 0.18);
}

.estadisticas-recalc-btn:hover,
.estadisticas-recalc-btn:focus {
  color: #08111f;
  border-color: color-mix(in srgb, var(--club-secondary) 56%, transparent);
  transform: translateY(-1px);
}

.estadisticas-filter-card,
.estadisticas-block {
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(11, 28, 50, 0.06);
  box-shadow: 0 14px 35px rgba(14, 27, 45, 0.07);
}

.estadisticas-block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.estadisticas-block-title {
  margin: 0.55rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.estadisticas-table thead th {
  color: rgba(78, 94, 114, 0.95);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.estadisticas-table tbody td {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-color: rgba(17, 32, 53, 0.08);
}

.estadisticas-player-cell {
  min-width: 14rem;
}

.estadisticas-player-name {
  font-weight: 700;
  color: #13243a;
}

.estadisticas-pill {
  display: inline-flex;
  min-width: 2.1rem;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.estadisticas-pill-goals {
  background: color-mix(in srgb, var(--club-secondary) 24%, white);
  color: #7a500d;
}

.estadisticas-team-grid {
  display: grid;
  gap: 1rem;
}

.estadisticas-team-card {
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.94));
  border: 1px solid rgba(11, 28, 50, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.estadisticas-team-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.estadisticas-team-name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.estadisticas-team-record {
  margin-top: 0.35rem;
  color: rgba(78, 94, 114, 0.92);
  font-size: 0.92rem;
}

.estadisticas-team-goal-diff {
  display: flex;
  min-width: 5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-primary) 82%, white 18%), color-mix(in srgb, var(--club-primary) 64%, black 8%));
  color: #fff;
}

.estadisticas-team-goal-diff span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.78;
}

.estadisticas-team-goal-diff strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.estadisticas-team-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.estadisticas-team-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 28, 50, 0.06);
}

.estadisticas-team-metric-label {
  color: rgba(78, 94, 114, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.estadisticas-team-metric-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #13243a;
}

.estadisticas-subblock {
  height: 100%;
  padding: 1rem;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 28, 50, 0.05);
}

.estadisticas-subblock-title {
  margin-bottom: 0.75rem;
  color: rgba(78, 94, 114, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.estadisticas-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.estadisticas-list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(17, 32, 53, 0.08);
}

.estadisticas-list-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.estadisticas-list-item-single {
  justify-content: flex-start;
}

.estadisticas-list-empty,
.estadisticas-quinteto-uses {
  color: rgba(78, 94, 114, 0.88);
  font-size: 0.92rem;
}

.estadisticas-quinteto-uses {
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.estadisticas-empty-state {
  padding: 1rem 0 0.35rem;
}

.estadisticas-empty-title {
  font-weight: 700;
  color: #13243a;
}

.estadisticas-empty-copy {
  margin-top: 0.35rem;
  color: rgba(78, 94, 114, 0.9);
}

.catalogos-block-header,
.catalogos-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.catalogos-block-title {
  margin: 0.7rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0a1830;
}

.catalogos-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.catalogos-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(244, 247, 251, 0.88);
  border: 1px solid rgba(11, 28, 50, 0.05);
}

.catalogos-item-main {
  flex: 1 1 auto;
}

.catalogos-item-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.catalogos-item-title {
  font-weight: 700;
  color: #0a1830;
}

.catalogos-item-meta,
.catalogos-item-submeta,
.catalogos-empty-copy {
  color: rgba(86, 102, 121, 0.88);
}

.catalogos-item-meta {
  margin-top: 0.2rem;
}

.catalogos-item-submeta {
  margin-top: 0.45rem;
  font-size: 0.92rem;
}

.catalogos-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.catalogos-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.catalogos-status-badge-success {
  background: color-mix(in srgb, var(--club-primary) 16%, transparent);
  color: color-mix(in srgb, var(--club-primary) 78%, #0a1830);
}

.catalogos-empty-state {
  padding: 1.15rem;
  border-radius: 1.1rem;
  background: rgba(244, 247, 251, 0.9);
  border: 1px dashed rgba(11, 28, 50, 0.12);
}

.catalogos-empty-title {
  font-weight: 700;
  color: #0a1830;
}

.categoria-side-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.categoria-side-section {
  padding: 1.1rem;
  border-radius: 1.15rem;
  background: rgba(244, 247, 251, 0.9);
  border: 1px solid rgba(11, 28, 50, 0.05);
}

.categoria-side-label {
  margin-bottom: 0.8rem;
  color: rgba(78, 94, 114, 0.95);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.categoria-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.categoria-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(12, 31, 58, 0.08);
  color: #0d2442;
  font-size: 0.88rem;
  font-weight: 600;
}

.categoria-preview-card {
  background: linear-gradient(135deg, rgba(12, 31, 58, 0.96), rgba(24, 57, 97, 0.92));
  color: #fff;
}

.categoria-preview-card .categoria-side-label {
  color: rgba(255, 210, 138, 0.88);
}

.categoria-preview-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.categoria-preview-copy {
  margin-top: 0.45rem;
  color: rgba(228, 237, 249, 0.78);
}

.categoria-help-card {
  background: rgba(216, 154, 55, 0.08);
  border-color: rgba(216, 154, 55, 0.14);
}

.categoria-help-list {
  padding-left: 1.1rem;
  color: rgba(70, 84, 103, 0.92);
}

.categoria-help-list li + li {
  margin-top: 0.45rem;
}

.equipo-selector-panel {
  padding: 0.9rem;
  border-radius: 1.1rem;
  background: rgba(244, 247, 251, 0.92);
  border: 1px solid rgba(11, 28, 50, 0.06);
}

.equipo-selector-search {
  margin-bottom: 0.75rem;
}

.equipo-selector-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 21rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.equipo-selector-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(11, 28, 50, 0.06);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.equipo-selector-card:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 154, 55, 0.24);
  box-shadow: 0 10px 24px rgba(14, 27, 45, 0.06);
}

.equipo-selector-card:has(.equipo-selector-checkbox:checked) {
  border-color: rgba(216, 154, 55, 0.36);
  background: rgba(216, 154, 55, 0.08);
}

.equipo-selector-checkbox {
  margin-top: 0.2rem;
}

.equipo-selector-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.equipo-selector-name {
  font-weight: 700;
  color: #0a1830;
}

.equipo-selector-role {
  color: rgba(86, 102, 121, 0.9);
  font-size: 0.88rem;
  text-transform: capitalize;
}

.equipo-selector-count {
  color: rgba(78, 94, 114, 0.95);
  font-size: 0.82rem;
  font-weight: 700;
}

.equipo-selector-empty {
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(86, 102, 121, 0.9);
}

.alineacion-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 24rem) minmax(0, 1fr);
  gap: 1.25rem;
}

.alineacion-panel {
  padding: 1.25rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(11, 28, 50, 0.06);
  box-shadow: 0 14px 35px rgba(14, 27, 45, 0.07);
}

.alineacion-panel-header,
.alineacion-bench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.alineacion-meta {
  color: rgba(78, 94, 114, 0.92);
  font-size: 0.84rem;
  font-weight: 600;
}

.alineacion-search-wrap {
  margin-bottom: 0.9rem;
}

.alineacion-player-list,
.alineacion-bench-dropzone {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 8rem;
}

.alineacion-player-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: rgba(244, 247, 251, 0.95);
  border: 1px solid rgba(11, 28, 50, 0.06);
  cursor: grab;
  user-select: none;
  box-shadow: 0 10px 24px rgba(14, 27, 45, 0.05);
}

.alineacion-player-card.is-dragging {
  opacity: 0.6;
}

.alineacion-player-avatar {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, #0c2340, #193961);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.alineacion-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alineacion-player-info {
  min-width: 0;
}

.alineacion-player-name {
  font-weight: 700;
  color: #0a1830;
}

.alineacion-player-role {
  color: rgba(86, 102, 121, 0.88);
  font-size: 0.88rem;
}

.alineacion-court {
  margin-bottom: 1rem;
}

.futsal-court {
  position: relative;
  aspect-ratio: 44 / 27;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #8cc3ea 0%, #79b7e6 100%);
  overflow: hidden;
  border: 12px solid #ef4a37;
  box-shadow: inset 0 0 0 10px #0e90c8;
}

.futsal-boundary {
  position: absolute;
  inset: 4.5%;
  border: 3px solid rgba(255, 255, 255, 0.95);
}

.futsal-half-line {
  position: absolute;
  top: 4.5%;
  bottom: 4.5%;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: rgba(255, 255, 255, 0.95);
}

.futsal-center-circle {
  position: absolute;
  width: 18%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
}

.futsal-penalty-box {
  position: absolute;
  top: 24%;
  width: 16%;
  height: 52%;
  border: 3px solid rgba(255, 255, 255, 0.95);
}

.futsal-penalty-box-left {
  left: 4.5%;
  border-left: none;
  border-radius: 0 8rem 8rem 0;
}

.futsal-penalty-box-right {
  right: 4.5%;
  border-right: none;
  border-radius: 8rem 0 0 8rem;
}

.futsal-goal {
  position: absolute;
  top: 43%;
  width: 1.7%;
  height: 14%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.85) 2px,
      rgba(239, 74, 55, 0.55) 2px,
      rgba(239, 74, 55, 0.55) 4px
    );
}

.futsal-goal-left {
  left: 1.8%;
}

.futsal-goal-right {
  right: 1.8%;
}

.alineacion-slot {
  position: absolute;
  width: 16%;
  min-height: 18%;
  padding: 0.4rem;
  border: 2px dashed rgba(255, 255, 255, 0.82);
  border-radius: 1rem;
  background: rgba(9, 35, 66, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.alineacion-slot.is-over,
.alineacion-bench-dropzone.is-over,
.alineacion-player-list.is-over {
  background: rgba(216, 154, 55, 0.12);
  border-color: rgba(216, 154, 55, 0.5);
}

.alineacion-slot-portero { left: 8%; top: 41%; }
.alineacion-slot-cierre { left: 26%; top: 41%; }
.alineacion-slot-ala-izq { left: 46%; top: 16%; }
.alineacion-slot-pivot { right: 10%; top: 41%; }
.alineacion-slot-ala-der { left: 46%; bottom: 16%; }

.alineacion-slot-label {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.alineacion-slot > .alineacion-player-card {
  width: 100%;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0.55rem 0.4rem;
  background: rgba(255, 255, 255, 0.94);
}

.alineacion-slot > .alineacion-player-card .alineacion-player-avatar {
  width: 3.5rem;
  height: 3.5rem;
  flex-basis: 3.5rem;
}

.alineacion-slot > .alineacion-player-card .alineacion-player-name {
  font-size: 0.85rem;
  line-height: 1.1;
}

.alineacion-slot > .alineacion-player-card .alineacion-player-role {
  display: none;
}

.alineacion-bench-wrap {
  padding-top: 0.25rem;
}

.alineacion-helper-note {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(244, 247, 251, 0.95);
  border: 1px dashed rgba(11, 28, 50, 0.12);
  color: rgba(86, 102, 121, 0.95);
  font-size: 0.92rem;
}

.directo-shell {
  display: grid;
  gap: 1.5rem;
}

.directo-topbar {
  display: grid;
  gap: 1rem;
}

.directo-content-grid {
  display: block;
}

.directo-stage {
  min-width: 0;
}

.directo-stage-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.directo-scoreboard {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(9, 18, 32, 0.98), rgba(20, 36, 62, 0.96));
  color: #fff;
  box-shadow: 0 18px 40px rgba(8, 19, 34, 0.18);
}

.directo-team-card {
  display: grid;
  gap: 0.3rem;
}

.directo-team-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.directo-team-meta {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.directo-score-center {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.directo-period-pill {
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgba(216, 154, 55, 0.16);
  color: #f8d18d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directo-score {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

.directo-timer {
  display: grid;
  justify-items: center;
}

.directo-timer-period {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.directo-timer-total {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.76);
}

.directo-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.directo-control-form {
  margin: 0;
}

.directo-controls-primary,
.directo-controls-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.directo-btn-main {
  min-width: 17rem;
}

.directo-btn-secondary {
  min-width: 12rem;
}

.directo-btn-timeout {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 28, 50, 0.14);
  color: #0b1c32;
  font-weight: 700;
}

.directo-btn-timeout:hover,
.directo-btn-timeout:focus {
  background: #ffffff;
  border-color: rgba(216, 154, 55, 0.45);
  color: #0b1c32;
}

.directo-btn-timeout-active {
  background: #1d7f4e;
  border: 1px solid #1d7f4e;
  color: #fff;
  font-weight: 700;
}

.directo-btn-timeout-active:hover,
.directo-btn-timeout-active:focus {
  background: #17663e;
  border-color: #17663e;
  color: #fff;
}

.directo-futsal-court {
  min-height: 38rem;
}

.directo-board-panel .alineacion-panel,
.directo-bench-panel .alineacion-panel {
  height: 100%;
}

.directo-bench-column {
  min-width: 0;
}

.directo-bench-summary-row {
  display: block;
}

.directo-player-chip {
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.directo-player-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 31, 48, 0.14);
}

.directo-player-slot {
  position: absolute;
  width: 18%;
  min-height: 19%;
}

.directo-player-slot-1 { left: 8%; top: 41%; }
.directo-player-slot-2 { left: 28%; top: 41%; }
.directo-player-slot-3 { left: 46%; top: 17%; }
.directo-player-slot-4 { right: 10%; top: 41%; }
.directo-player-slot-5 { left: 46%; bottom: 17%; }

.directo-player-slot .alineacion-player-avatar {
  width: 3.4rem;
  height: 3.4rem;
}

.directo-player-slot .alineacion-player-name {
  font-size: 0.82rem;
}

.directo-player-slot .alineacion-player-role {
  font-size: 0.72rem;
}

.directo-bench-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.directo-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.directo-action-grid .btn.active {
  background: #0b1c32;
  border-color: #0b1c32;
  color: #fff;
}

.directo-change-panel {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(244, 247, 251, 0.95);
  border: 1px solid rgba(11, 28, 50, 0.08);
}

.alineacion-bench-dropzone {
  min-height: 8rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: rgba(244, 247, 251, 0.95);
  border: 2px dashed rgba(11, 28, 50, 0.12);
}

.alineacion-bench-dropzone .alineacion-player-card {
  background: #fff;
}

.form-text,
.small {
  line-height: 1.35;
}

.table > :not(caption) > * > * {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.table thead th {
  white-space: nowrap;
}

.jugador-list-thumb {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.9rem;
  object-fit: cover;
  border: 1px solid rgba(11, 28, 50, 0.08);
  box-shadow: 0 8px 18px rgba(12, 30, 53, 0.08);
  flex-shrink: 0;
}

.border.rounded-4,
.rounded-4.bg-body-tertiary {
  border-color: rgba(20, 83, 45, 0.08) !important;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(216, 154, 55, 0.14) !important;
}

@media (max-width: 767.98px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .app-header-wrap {
    padding-top: 0.75rem;
  }

  .navbar .btn,
  .navbar .app-user-chip {
    width: 100%;
    justify-content: center;
  }

  .app-navbar {
    border-radius: 1rem;
  }

  .app-nav {
    padding: 0.75rem 0 0;
  }

  .app-user-area {
    width: 100%;
    padding-top: 0.75rem;
  }

  .app-user-chip {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-responsive {
    border-radius: 1rem;
  }

  .dashboard-hero-panel,
  .dashboard-side-panel,
  .catalogos-hero-panel,
  .catalogos-actions-panel,
  .dashboard-block,
  .catalogos-block,
  .catalogos-form-card,
  .dashboard-metric-card {
    padding: 1.2rem;
  }

  .dashboard-quick-grid {
    grid-template-columns: 1fr;
  }

  .directo-content-grid {
    display: block;
  }

  .directo-stage-layout {
    grid-template-columns: 1fr;
  }

  .directo-bench-summary-row {
    display: block;
  }

  .catalogos-stats,
  .catalogos-actions-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-identity {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-timeline-item {
    flex-direction: column;
  }

  .catalogos-list-item,
  .catalogos-form-header,
  .catalogos-block-header {
    flex-direction: column;
  }

  .estadisticas-team-top,
  .estadisticas-block-header {
    flex-direction: column;
  }

  .estadisticas-team-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directo-scoreboard {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .directo-controls,
  .directo-controls-primary,
  .directo-controls-secondary {
    flex-direction: column;
    align-items: stretch;
  }

  .directo-team-card {
    justify-items: center;
  }

  .directo-team-card.text-end {
    text-align: center !important;
  }

  .directo-futsal-court {
    min-height: 28rem;
  }

  .directo-controls .btn {
    width: 100%;
  }

  .catalogos-item-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-timeline-date {
    min-width: 100%;
    flex-direction: row;
    gap: 0.6rem;
  }

  .auth-login-shell,
  .auth-login-row {
    min-height: auto;
  }

  .auth-title {
    font-size: 2.4rem;
  }

  .auth-copy {
    font-size: 1rem;
  }

  .auth-hero-grid {
    grid-template-columns: 1fr;
  }

  .auth-panel .card-body {
    padding: 1.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .directo-content-grid {
    display: block;
  }

  .directo-stage-layout {
    grid-template-columns: 1fr;
  }

  .directo-bench-summary-row {
    display: block;
  }

  .directo-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .directo-controls-primary,
  .directo-controls-secondary {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .auth-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
