@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Serif+Display&display=swap');

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL.CSS — La Cantera
   Estructura:
     1.  Tokens / Variables
     2.  Reset & Scrollbar
     3.  Body & Base
     4.  Layout principal
     5.  Sidebar / Aside
     6.  Header
     7.  Footer
     8.  Modales Bootstrap (custom-modal)
     9.  Modales propios (pmodal)
    10.  Formularios globales
    11.  Botones globales
    12.  Alerts
    13.  Utilidades
    14.  Responsive
═══════════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════════
   1. TOKENS / VARIABLES
══════════════════════════════════════════════════════════════════ */
:root {
  /* Colores principales */
  --navy:        #14275a;
  --navy-dark:   #0d1c42;
  --navy-mid:    #1e3880;
  --accent:      #4f8ef7;
  --accent-soft: rgba(79,142,247,0.12);

  /* Semánticos */
  --danger:      #f87171;
  --success:     #34d399;
  --warning:     #fbbf24;

  /* Fondos y superficies */
  --bg:          #eef2f7;
  --surface:     #ffffff;

  /* Texto */
  --text:        #1a2540;
  --muted:       #7a8ab0;

  /* Bordes y sombras */
  --border:      rgba(20,39,90,0.08);
  --shadow-lg:   0 12px 40px rgba(20,39,90,0.08);
  --shadow-sm:   0 4px 16px rgba(20,39,90,0.04);

  /* Sidebar */
  --sidebar-w:   260px;

  /* Radios */
  --radius-lg:   22px;
  --radius-md:   14px;
  --radius-sm:   8px;

  /* Transición global */
  --transition:  0.22s ease;


    /*colores extras para las card y   filtro de todos los templates*/
  --accent:     #2563eb;
  --accent-bg:  #eff6ff;
  --warning:    #d97706;
  --warning-bg: #fffbeb;
  --green-bg:   #f0fdf4;
  --danger-bg:  #fef2f2;
  --ink:        #0e0e0d;
  --ink-soft:   #5c5c58;
  --line:       #e0deda;
  --off:        #f4f3f0;
  --white:      #fafaf8;
  --f-body:     'Plus Jakarta Sans', sans-serif;
  --rc:         16px;
}


/* ══════════════════════════════════════════════════════════════════
   2. RESET & SCROLLBAR
══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar         { width: 6px; height: 6px; }
::-webkit-scrollbar-track   { background: transparent; }
::-webkit-scrollbar-thumb   { background: rgba(20,39,90,0.15); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(20,39,90,0.25); }


/* ══════════════════════════════════════════════════════════════════
   3. BODY & BASE
══════════════════════════════════════════════════════════════════ */
body {
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

input,
select {
  border-radius: 12px !important;
  padding: 10px !important;
}

input:focus,
select:focus {
  box-shadow: 0 0 0 0.15rem rgba(20,39,90,0.2) !important;
  border-color: #14275a !important;
}


/* ══════════════════════════════════════════════════════════════════
   4. LAYOUT PRINCIPAL
══════════════════════════════════════════════════════════════════ */
.lc-layout {
  display: flex;
  height: 100vh;
  padding: 10px;
  gap: 16px;
}

.lc-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.lc-main article {
  flex: 1;
  padding: 24px 32px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.lc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,28,66,0.4);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}


/* ══════════════════════════════════════════════════════════════════
   5. SIDEBAR / ASIDE
══════════════════════════════════════════════════════════════════ */
.lc-aside {
  width: var(--sidebar-w, 260px);
  flex-shrink: 0;
  background: linear-gradient(180deg, #0f1c47, #0c1636);
  border-radius: 22px;
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 48px rgba(13,28,66,0.35);
  position: relative;
  transition: width 0.3s;
  z-index: 1000;
}

.lc-aside::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(79,142,247,0.16) 0%, transparent 68%);
  top: -70px;
  right: -70px;
  pointer-events: none;
}

/* Header del aside */
.lc-aside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
  padding: 0 6px;
}

.lc-brand { display: flex; align-items: center; gap: 12px; overflow: hidden; }

.lc-brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.lc-brand-name { font-size: 15px; font-weight: 700; color: white; line-height: 1.2; }
.lc-brand-sub  { font-size: 9px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: .1em; }

.lc-collapse-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 16px;
}

/* Navegación */
.lc-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }

.lc-nav-label {
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  font-weight: 600;
  padding: 0 10px;
  margin: 18px 0 6px;
  display: block;
  white-space: nowrap;
}

.lc-nav-item { position: relative; }

.lc-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(199,210,254,0.72);
  font-size: 13.5px;
  text-decoration: none;
  transition: 0.3s;
  white-space: nowrap;
  overflow: hidden;
}

.lc-nav-link .nav-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.lc-nav-link:hover,
.lc-nav-link[aria-expanded="true"] {
  background: rgba(255,255,255,0.08);
  color: white;
}

.lc-chevron { margin-left: auto; font-size: 11px; transition: 0.3s; }
.lc-nav-link[aria-expanded="true"] .lc-chevron { transform: rotate(180deg); }

/* Submenú */
.lc-submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 26px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.lc-submenu a {
  padding: 8px 12px;
  font-size: 12.5px;
  color: rgba(199,210,254,0.55);
  text-decoration: none;
  transition: 0.3s;
}

.lc-submenu a:hover { color: white; }

/* Footer del aside */
.lc-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 14px 0; }

.lc-aside-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}

.lc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #4f8ef7;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.lc-user-info { display: flex; flex-direction: column; }
.lc-user-name { font-size: 13px; font-weight: 600; color: white; white-space: nowrap; }
.lc-user-role { font-size: 10px; color: rgba(199,210,254,0.48); }

.lc-logout-btn {
  background: none;
  border: none;
  margin-left: auto;
  color: rgba(248,113,113,0.65);
  cursor: pointer;
  padding: 4px;
}

.lc-logout-btn:hover {
  color: #f87171;
  background: rgba(239,68,68,0.1);
  border-radius: 6px;
}

/* Estado colapsado */
.lc-aside.collapsed { width: 88px; }

.lc-aside.collapsed .lc-brand,
.lc-aside.collapsed .lc-brand-text,
.lc-aside.collapsed .lc-nav-label,
.lc-aside.collapsed .lc-nav-link span:not(.nav-ico),
.lc-aside.collapsed .lc-chevron,
.lc-aside.collapsed .lc-user-info {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.lc-aside.collapsed .lc-nav-link { justify-content: center; }
.lc-aside.collapsed .collapse     { display: none !important; }

/* Submenú flotante (sidebar colapsado) */
.floating-submenu {
  display: none;
  position: absolute;
  left: 70px;
  top: 0;
  background: #0f1c47;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  min-width: 200px;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
}

.floating-submenu::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -6px;
  width: 12px;
  height: 12px;
  background: #0f1c47;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: rotate(45deg);
}

.floating-submenu-title {
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4px;
  opacity: 0.6;
  text-transform: uppercase;
}

.floating-submenu a {
  color: rgba(199,210,254,0.72);
  padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  border-radius: 8px;
}

.floating-submenu a:hover { background: rgba(255,255,255,0.08); color: white; }


/* ══════════════════════════════════════════════════════════════════
   6. HEADER
══════════════════════════════════════════════════════════════════ */
.lc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: linear-gradient(180deg, #0f1c47, #0c1636);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 -1px 0 rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
  flex-wrap: wrap;
  animation: headerFade 0.5s ease;
}

.lc-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, #4f8ef7, #6ea8ff, #4f8ef7, transparent);
  opacity: .5;
}

@keyframes headerFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lc-header-left { display: flex; align-items: center; gap: 18px; }

.lc-mobile-toggle {
  display: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 12px;
  cursor: pointer;
  transition: .25s;
}

.lc-mobile-toggle:hover { background: #4f8ef7; transform: scale(1.05); }

.lc-title-group { display: flex; flex-direction: column; }
.lc-page-title  { font-size: 20px; font-weight: 700; letter-spacing: .3px; }
.lc-breadcrumb  { display: flex; gap: 6px; font-size: 12px; color: #cfd8ff; }

.lc-top-nav { display: flex; gap: 30px; margin: 0 auto; }

.lc-top-nav a {
  position: relative;
  text-decoration: none;
  color: #cfd8ff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  transition: .25s;
}

.lc-top-nav a:hover { color: #fff; transform: translateY(-1px); }

.lc-top-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0%; height: 2px;
  background: #4f8ef7;
  transition: .25s;
}

.lc-top-nav a:hover::after { width: 100%; }

.lc-header-right { display: flex; align-items: center; gap: 10px; }

.lc-icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  color: #cfd8ff;
  font-size: 15px;
  transition: .25s;
  position: relative;
}

.lc-icon-btn:hover {
  background: #4f8ef7;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(79,142,247,.4);
}

.lc-dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4d6d;
  border: 2px solid #0f1c47;
  animation: ping 1.8s infinite;
}

@keyframes ping {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.lc-header-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f8ef7, #6ea8ff);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(79,142,247,.4);
  transition: .25s;
}

.lc-header-avatar:hover { transform: translateY(-2px) scale(1.03); }

.lc-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f8ef7, #6ea8ff);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(79,142,247,.4);
  flex-shrink: 0;
}

.lc-login-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #4f8ef7;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(79,142,247,.4);
  transition: var(--transition);
}

.lc-login-btn:hover { background: #378add; transform: translateY(-1px); }


/* ══════════════════════════════════════════════════════════════════
   7. FOOTER
══════════════════════════════════════════════════════════════════ */
.lc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  gap: 12px;
  flex-wrap: wrap;
}

.lc-footer-copy { font-size: 12px; color: var(--muted); font-weight: 500; }
.lc-footer-copy strong { color: var(--navy); font-weight: 700; }

.lc-footer-links { display: flex; align-items: center; gap: 18px; }

.lc-footer-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.lc-footer-links a:hover { color: var(--accent); }

.lc-footer-status { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-weight: 500; }

.lc-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 2px rgba(52,211,153,0.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(52,211,153,0.25); }
  50%       { box-shadow: 0 0 0 5px rgba(52,211,153,0.08); }
}

.lc-mobile-bottom-nav {
  display: none;
  background: #0c1636;
  border-top: 1px solid rgba(255,255,255,.07);
}

.lc-mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 0;
  color: rgba(199,210,254,.65);
  font-size: 10px;
  text-decoration: none;
  transition: .2s;
}

.lc-mobile-bottom-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.lc-mobile-bottom-nav a i     { font-size: 16px; }


/* ══════════════════════════════════════════════════════════════════
   8. MODALES BOOTSTRAP (custom-modal)
   Usados en sports_home, teams, etc.
══════════════════════════════════════════════════════════════════ */
.custom-modal { border-radius: 20px; }

.custom-modal-header {
  background: linear-gradient(135deg, #0f1c47, #0c1636);
  color: #ffffff;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.custom-modal-header .btn-close       { filter: invert(1); opacity: 0.8; }
.custom-modal-header .btn-close:hover { opacity: 1; }

.custom-input { border-radius: 12px; padding: 10px; }

.custom-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(20,39,90,0.2);
  border-color: #14275a;
}

.logo-upload-container { position: relative; }

.logo-upload {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: #f1f3f9;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  cursor: pointer;
  transition: 0.3s;
  border: 3px dashed #14275a;
}

.logo-upload i      { font-size: 28px; color: #14275a; }
.logo-upload:hover  { background: #e4e8f5; transform: scale(1.05); }

.btn-save-team {
  background: #14275a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  transition: 0.3s;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
}

.btn-save-team:hover { background: #0f1c47; }

.btn-register-players {
  background: #f1f3f9;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  color: #14275a;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  cursor: pointer;
}

.btn-register-players:hover { background: #e4e8f5; }

.btn-primary       { background: #14275a; border: none; border-radius: 12px; }
.btn-primary:hover { background: #0f1c47; }
.btn-outline-secondary { border-radius: 12px; }


/* ══════════════════════════════════════════════════════════════════
   9. MODALES PROPIOS (pmodal — sin Bootstrap)
   Usados en team_details, my_team, etc.
══════════════════════════════════════════════════════════════════ */

/* ── Backdrop y caja ── */
.pmodal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,14,13,0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 400;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}

.pmodal-backdrop.open { display: flex; }

.pmodal-box {
  background: #fafaf8;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  animation: pmodalUp 0.22s cubic-bezier(0.34, 1.3, 0.64, 1);
  box-shadow: 0 20px 60px rgba(14,14,13,0.18), 0 4px 16px rgba(14,14,13,0.08);
}

@keyframes pmodalUp {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Header ── */
.pmodal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 1.5px solid #e0deda;
}

.pmodal-avatar {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #0f1c47;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

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

.pmodal-name { font-size: 16px; font-weight: 700; color: #0e0e0d; line-height: 1.2; margin-bottom: 3px; }
.pmodal-pos  { font-size: 12px; color: #5c5c58; font-weight: 500; }

.pmodal-close {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1.5px solid #e0deda;
  background: transparent;
  color: #5c5c58;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pmodal-close:hover { background: #f4f3f0; color: #0e0e0d; border-color: #5c5c58; }

/* ── Body ── */
.pmodal-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pmodal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid #f4f3f0;
}

.pmodal-row:last-child { border-bottom: none; }
.pmodal-lbl { color: #5c5c58; font-weight: 500; }
.pmodal-val { color: #0e0e0d; font-weight: 600; }

/* ── Footer ── */
.pmodal-footer {
  padding: 14px 20px;
  border-top: 1.5px solid #e0deda;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

/* ── Opciones de elección ── */
.choice-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: #fafaf8;
  border: 1.5px solid #e0deda;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.choice-option:hover {
  border-color: rgba(37,99,235,0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,28,71,0.07);
}

.choice-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.choice-icon-warning { background: #fffbeb; color: #d97706; }
.choice-icon-success { background: #f0fdf4; color: #16a34a; }
.choice-icon-accent  { background: #eff6ff; color: #2563eb; }
.choice-icon-navy    { background: rgba(15,28,71,.08); color: #0f1c47; }

.choice-text  { flex: 1; min-width: 0; }
.choice-title { font-size: 14px; font-weight: 700; color: #0e0e0d; margin-bottom: 2px; }
.choice-sub   { font-size: 12px; color: #5c5c58; }

/* ── Secciones de formulario ── */
.form-section {
  background: #fafaf8;
  border: 1.5px solid #e0deda;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.form-section:last-child { margin-bottom: 0; }

.form-section-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f4f3f0;
}

.form-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.user-section    { color: #2563eb; }
.team-section    { color: #0f1c47; }
.finance-section { color: #d97706; }
.danger-section  { color: #dc2626; }

/* ── Indicador de edad calculada ── */
.edad-indicator {
  display: none;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #0e0e0d;
  align-items: center;
  gap: 6px;
}

.edad-indicator.visible { display: flex; }
.edad-alerta { color: #dc2626; font-size: 12px; }

/* ── Dropzone foto ── */
.foto-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px dashed #e0deda;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: #5c5c58;
  background: #f4f3f0;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.foto-dropzone:hover       { border-color: #2563eb; background: #eff6ff; }
.foto-dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }


/* ══════════════════════════════════════════════════════════════════
   10. FORMULARIOS GLOBALES
══════════════════════════════════════════════════════════════════ */
.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5c5c58;
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.form-control,
.form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e0deda;
  border-radius: 10px;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0e0e0d;
  background: #fafaf8;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c5c58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-control:focus,
.form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-control::placeholder { color: #5c5c58; opacity: 0.5; }


/* ══════════════════════════════════════════════════════════════════
   11. BOTONES GLOBALES
══════════════════════════════════════════════════════════════════ */

/* Base compartida */
.btn-modal-cancel,
.btn-modal-primary,
.btn-modal-success,
.btn-modal-warning,
.btn-modal-danger,
.btn-ver-detalles {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s, transform 0.15s, border-color 0.15s, color 0.15s;
}

/* Cancelar */
.btn-modal-cancel {
  border: 1.5px solid #e0deda;
  background: #fafaf8;
  color: #5c5c58;
}

.btn-modal-cancel:hover { border-color: #5c5c58; color: #0e0e0d; background: #f4f3f0; }

/* Primary / Success / Ver detalles — mismo estilo navy → accent */
.btn-modal-primary,
.btn-modal-success,
.btn-ver-detalles {
  border: none;
  background: #0f1c47;
  color: #fff;
}

.btn-modal-primary:hover,
.btn-modal-success:hover,
.btn-ver-detalles:hover {
  background: #2563eb;
  transform: translateY(-1px);
  color: #fff;
}

/* Warning */
.btn-modal-warning { border: none; background: #d97706; color: #fff; }
.btn-modal-warning:hover { opacity: 0.88; transform: translateY(-1px); }

/* Danger */
.btn-modal-danger  { border: none; background: #dc2626; color: #fff; }
.btn-modal-danger:hover  { opacity: 0.88; transform: translateY(-1px); }


/* ══════════════════════════════════════════════════════════════════
   12. ALERTS
══════════════════════════════════════════════════════════════════ */
.alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  animation: slideIn 0.3s ease-out;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.alert.success, .alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.alert.error,   .alert-error   { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.alert.warning, .alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.alert.info,    .alert-info    { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════════════════════════════
   13. UTILIDADES
══════════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  border: 1.5px dashed #e0deda;
  border-radius: 16px;
  background: #fafaf8;
}

.empty-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #f4f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #e0deda;
  font-size: 22px;
}

.empty-text { font-size: 14px; color: #5c5c58; margin: 0; }

.lc-card    { border-radius: 20px; background: #ffffff; }

.role-section { transition: all 0.3s ease; }


/* ══════════════════════════════════════════════════════════════════
   14. RESPONSIVE
══════════════════════════════════════════════════════════════════ */

/* Layout */
@media (max-width: 900px) {
  .lc-layout { padding: 0; }
  .lc-main   { border-radius: 0; }

  .lc-aside {
    position: fixed !important;
    top: 10px; bottom: 10px; left: -300px;
    height: calc(100vh - 20px);
    z-index: 999;
    transition: left var(--transition);
  }

  .lc-aside.show-mobile   { left: 10px; }
  .lc-overlay.show-mobile { opacity: 1; visibility: visible; }

  .lc-main article { padding: 20px 16px; border-radius: 0; }
}

/* Header */
@media (max-width: 1024px) { .lc-top-nav { display: none; } }

@media (max-width: 768px) {
  .lc-header        { padding: 16px; }
  .lc-mobile-toggle { display: grid; place-items: center; }
  .lc-mobile-bottom-nav { display: flex; }
}

/* Footer */
@media (max-width: 600px) {
  .lc-footer       { padding: 12px 18px; justify-content: center; text-align: center; }
  .lc-footer-links { display: none; }
}

/* Modales propios */
@media (min-width: 480px) {
  .pmodal-backdrop { align-items: center; padding: 20px; }
}

@media (max-width: 479px) {
  .pmodal-box {
    border-radius: 20px 20px 16px 16px;
    max-height: 92vh;
    overflow-y: auto;
  }

  .pmodal-footer {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .pmodal-footer .btn-modal-cancel,
  .pmodal-footer .btn-modal-primary,
  .pmodal-footer .btn-modal-success,
  .pmodal-footer .btn-modal-warning,
  .pmodal-footer .btn-modal-danger,
  .pmodal-footer .btn-ver-detalles {
    width: 100%;
    justify-content: center;
  }

  .form-section  { padding: 14px; }
  .pmodal-body   { padding: 14px 16px; }
  .pmodal-header { padding: 16px 16px 14px; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

/* ── Form grid responsive ── */
@media (max-width: 400px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: 1;
  }

  .date-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .pmodal-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .pmodal-body {
    padding: 12px !important;
  }

  .form-section {
    padding: 12px !important;
  }
}

/* ── Custom Select ── */
.custom-select-wrapper { position: relative; }

.custom-select-trigger {
  width: 100%;
  padding: 10px 32px 10px 12px;
  border: 1.5px solid #e0deda;
  border-radius: 10px;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0e0e0d;
  background: #fafaf8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.15s, box-shadow 0.15s;
  user-select: none;
  gap: 6px;
}

.custom-select-trigger.placeholder { color: #5c5c58; opacity: 0.65; }
.custom-select-trigger:hover        { border-color: #2563eb; }
.custom-select-trigger.open        { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

.custom-select-trigger svg { flex-shrink: 0; transition: transform 0.2s; }
.custom-select-trigger.open svg { transform: rotate(180deg); }

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #e0deda;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(14,14,13,0.12);
  z-index: 600;
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.custom-select-dropdown.open { display: block; animation: dropIn 0.14s ease; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.custom-select-option {
  padding: 9px 14px;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0e0e0d;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.1s;
}

.custom-select-option:hover    { background: #f4f3f0; }
.custom-select-option.selected { background: #eff6ff; color: #2563eb; font-weight: 600; }
.custom-select-option.opt-ph   { color: #5c5c58; opacity: 0.65; }

/* ── Date row ── */
.date-row {
  display: grid;
  grid-template-columns: 2fr 3fr 3fr;
  gap: 6px;
}

.date-row .date-hint {
  font-size: 10px;
  color: #5c5c58;
  opacity: 0.7;
  text-align: center;
  margin-top: 3px;
  font-weight: 500;
}

/* ── Photo preview ── */
.foto-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed #e0deda;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: #5c5c58;
  background: #f4f3f0;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-height: 52px;
}

.foto-dropzone:hover { border-color: #2563eb; background: #eff6ff; }
.foto-dropzone input[type="file"] {
  position: absolute; inset: 0; opacity: 0;
  cursor: pointer; width: 100%; height: 100%;
}

.foto-preview-thumb {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid #e0deda;
  flex-shrink: 0;
  display: none;
}

.foto-preview-name {
  font-size: 12px; color: #0e0e0d; font-weight: 600;
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: none;
}

.foto-placeholder { display: flex; align-items: center; gap: 8px; color: #5c5c58; }

.foto-clear-btn {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1.5px solid #e0deda;
  background: #fff; color: #5c5c58;
  cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
  position: relative; z-index: 2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.foto-clear-btn:hover { background: #fef2f2; color: #dc2626; border-color: #fecaca; }

.header-subtitle { 
    font-size: 1rem; color: #636e72; 
}

.badge-referee-v2 {
background: #ffffff !important;
color: #0061ff !important;
border: 1.5px solid rgba(0,0,0,0.1);
padding: 8px 15px !important;
border-radius: 12px;
font-weight: 600; 
font-size: 0.85rem;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
white-space: nowrap;
display: inline-flex;
align-items: center;
flex-shrink: 0; 
}

   
.card {
border: none !important;
border-radius: 15px !important;
box-shadow: 0 8px 25px rgba(0,0,0,0.05) !important;
margin-bottom: 25px !important;
overflow: hidden;
}

.card-header { 
    padding: 0.8rem 1.25rem !important; 
}
    

.card-header h4 {
color: #ffffff !important;
font-weight: 600 !important;
font-size: 1.05rem !important;
margin: 0 !important;
}


.form-check { 
    padding: 0.8rem 1.25rem !important; border-bottom: 1px solid #f1f2f6 !important; 
}

.form-check-input {
width: 22px !important;
height: 22px !important;
border-radius: 6px !important;
cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--success) !important; 
    border-color: var(--success) !important; 
}

   
.btn-success {
background-color: var(--success) !important;
border: none !important;
border-radius: 14px !important;
padding: 15px 45px !important;
font-weight: 800 !important;
box-shadow: 0 6px 15px rgba(25, 135, 84, 0.25) !important;
}



/* ══════════════════════════════
   STAT CARDS DE KPIS GENERALES PARA TODOS LOS DASHBOARDS (sports_home, teams, etc.)
══════════════════════════════ */
.lc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

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

.lc-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--rc);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s, transform 0.15s;
}

.lc-card:hover {
  border-color: rgba(37,99,235,0.25);
  transform: translateY(-1px);
}

.lc-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.icon-blue    { background: var(--accent-bg); color: var(--accent); }
.icon-emerald { background: var(--green-bg);  color: var(--success); }
.icon-indigo  { background: #ede9fe;          color: #6d28d9; }
.icon-red     { background: var(--danger-bg); color: var(--danger); }

.lc-stat-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 2px;
  font-family: var(--f-body);
}

.lc-stat-info p {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

/* ══════════════════════════════
   FILTER BAR GEBERAL PARA LISTADOS (teams, players, matches, etc.)
══════════════════════════════ */
.filter-bar {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--rc);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.filter-bar .form-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
  display: block;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.search-box i { color: var(--ink-soft); font-size: 12px; flex-shrink: 0; }

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  font-family: var(--f-body);
  color: var(--ink);
  padding: 9px 0;
  width: 100%;
}

.search-box input::placeholder { color: var(--ink-soft); opacity: 0.55; }

.filter-bar .form-select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-family: var(--f-body);
  color: var(--ink);
  padding: 9px 32px 9px 12px;
  background-color: var(--white);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c5c58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.filter-bar .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  outline: none;
}

.filter-bar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--f-body);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  width: 100%;
}

.filter-bar .btn-primary {
  background: var(--navy);
  color: #fff;
  border: none;
}
.filter-bar .btn-primary:hover { background: var(--accent); }

.filter-bar .btn-outline-secondary {
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
}
.filter-bar .btn-outline-secondary:hover { border-color: var(--ink-soft); color: var(--ink); }

/* ══════════════════════════════
   ITEMS LIST + CARDS NESESARIO PARA TEAMS, PLAYERS, MATCHES, ETC.
══════════════════════════════ */
.items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.itemlist-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--rc);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.itemlist-card:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 4px 16px rgba(15,28,71,0.07);
  transform: translateY(-1px);
}

.itemlist-card.inactivo { opacity: 0.7; }

.card-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.team-info { flex: 1; min-width: 0; }

.team-data h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.team-data p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-data p strong { color: var(--ink); font-weight: 600; }

.tbadge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.tbadge-act  { background: var(--green-bg);  color: #166534;         border: 1px solid #bbf7d0; }
.tbadge-baja { background: var(--danger-bg); color: #991b1b;         border: 1px solid #fecaca; }
.tbadge-cat  { background: var(--off);       color: var(--ink-soft); border: 1px solid var(--line); }

.team-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.act-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}

.act-btn-edit:hover {
  background: var(--accent-bg);
  border-color: rgba(37,99,235,0.35);
  color: var(--accent);
}

.act-btn-del:hover {
  background: var(--danger-bg);
  border-color: rgba(220,38,38,0.35);
  color: var(--danger);
}

/* ═══════════════ ═══════════════
   EMPTY STATE NECESARIO PARA LISTADOS VACÍOS (teams, players, matches, etc.)
══════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--rc);
  background: var(--white);
}

.empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--line);
  font-size: 22px;
}

.empty-text { font-size: 14px; color: var(--ink-soft); }



/* =========================================================
   TABLAS MODERNAS
========================================================= */

.table-modern {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-modern thead th {
    border: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7a8ab0;
    font-weight: 700;
    padding: 0 14px 10px;
    background: transparent;
}

.table-modern tbody tr {
    background: #f8faff;
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    transform: translateY(-2px);
    background: #eef4ff;
}

.table-modern tbody td {
    border: none;
    vertical-align: middle;
    padding: 14px;
    font-size: 0.95rem;
}

.table-modern tbody tr td:first-child {
    border-radius: 14px 0 0 14px;
}

.table-modern tbody tr td:last-child {
    border-radius: 0 14px 14px 0;
}

/* =========================================================
   POSICIONES
========================================================= */

.rank-pill {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.rank-pill.rank-1 {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.rank-pill.rank-2 {
    background: linear-gradient(135deg, #94a3b8, #475569);
    box-shadow: 0 4px 10px rgba(148, 163, 184, 0.35);
}

.rank-pill.rank-3 {
    background: linear-gradient(135deg, #cd7c3a, #92400e);
    box-shadow: 0 4px 10px rgba(205, 124, 58, 0.35);
}

/* =========================================================
   EQUIPOS
========================================================= */

.team-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-name {
    font-weight: 700;
    color: #1a2a40;
}

.team-logo-img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 2px;
    flex-shrink: 0;
}

.team-logo-fallback {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    flex-shrink: 0;
}

/* =========================================================
   PUNTOS
========================================================= */

.points-box {
    background: #0f172a;
    color: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    min-width: 55px;
    display: inline-flex;
    justify-content: center;
    font-weight: 700;
    font-size: 0.92rem;
}

/* =========================================================
   DIFERENCIAS
========================================================= */

.diff-positive {
    color: #10b981;
    font-weight: 600;
}

.diff-negative {
    color: #ef4444;
    font-weight: 600;
}

.diff-zero {
    color: #9ca3af;
}

