/* 
 * calendario.css - Torneig FRANQUIBASKET
 * Estilos para el calendario de partidos con tamaños uniformes y nuevos colores
 * ACTUALIZADO: Navbar con navegación consistente + Breadcrumb + Scroll horizontal optimizado para móvil
 * MODIFICADO: Altura ajustada en casillas de partidos para mejor legibilidad
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    min-height: 100vh;
    color: #333;
}

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.header-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #000; /* Agregar esto */
}

.header-content h3 {
    font-size: 1.3em;
    opacity: 0.9;
    font-weight: 300;
}

.club-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.club-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.8);
}

.club-logo:hover {
    animation: none;
    transform: scale(1.1);
}

/* Ajustar el título del club */
.club-info h1 {
    margin: 0;
    font-size: 2.5em;
    color: #000;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* NAVEGACIÓN - ACTUALIZADA PARA COINCIDIR CON RESULTATS.CSS */
.navbar {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: rgba(255,255,255,0.9);
    color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.nav-link i {
    font-size: 1.1em;
    min-width: 16px;
    text-align: center;
}

.nav-link span {
    font-weight: 600;
}

/* CONTENIDO PRINCIPAL */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* BREADCRUMB - ESTILO COMO CM1.CSS */
.breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.breadcrumb a:hover {
    background: white;
    color: #2E7D32;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.breadcrumb a i {
    font-size: 1.1em;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.page-title h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-title p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* ESTADÍSTICAS DEL CALENDARIO */
.calendar-stats {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
}

.stat-number {
    font-size: 2.2em;
    font-weight: bold;
    color: #4CAF50;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CONTENEDOR DEL CALENDARIO CON SCROLL HORIZONTAL MEJORADO */
.calendar-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow-x: auto; /* Permitir scroll horizontal */
    overflow-y: hidden;
    position: relative;
    /* Scroll más suave y atractivo */
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #f1f1f1;
}

/* Personalizar scrollbar para Webkit */
.calendar-container::-webkit-scrollbar {
    height: 12px;
}

.calendar-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.calendar-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

.calendar-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #45a049, #1B5E20);
}

/* CONTENEDOR DE SCROLL HORIZONTAL - LEGACY (mantenido por compatibilidad) */
.calendar-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #f1f1f1;
}

.calendar-scroll-container::-webkit-scrollbar {
    height: 12px;
}

.calendar-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.calendar-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

.calendar-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #45a049, #1B5E20);
}

.calendar-grid {
    display: flex;
    flex-direction: column;
    min-width: max-content; /* Forzar ancho mínimo para scroll */
}

/* HEADER DEL CALENDARIO - DINÁMICO PARA MÚLTIPLES PISTAS */
.calendar-header-row {
    display: grid;
    grid-template-columns: 100px repeat(var(--ubicaciones-count, 4), minmax(200px, 1fr));
    gap: 2px;
    margin-bottom: 2px;
}

.time-header {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
    font-size: 1.1em;
    /* STICKY - FIJAR COLUMNA DE TIEMPO */
    position: sticky;
    left: 0;
    z-index: 15;
    box-shadow: 2px 0 8px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.2);
}

.pista-header {
    background: linear-gradient(135deg, #333, #555);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px; /* Ancho mínimo para legibilidad */
}

.pista-header i {
    color: #4CAF50;
}

/* FILAS DEL CALENDARIO - DINÁMICO PARA MÚLTIPLES PISTAS */
.calendar-row {
    display: grid;
    grid-template-columns: 100px repeat(var(--ubicaciones-count, 4), minmax(200px, 1fr));
    gap: 2px;
    margin-bottom: 2px;
}

.time-cell {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    padding: 20px 10px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    color: #495057;
    /* STICKY - FIJAR COLUMNA DE TIEMPO */
    position: sticky;
    left: 0;
    z-index: 10;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

/* FORZAR TAMAÑO EXACTO EN CELDAS DE PARTIDOS - ALTURAS AJUSTADAS */
.match-cell {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 4px; /* Padding mínimo */
    /* TAMAÑO FORZADO - AJUSTADO */
    width: 100%;
    height: 125px; /* INCREMENTADO de 110px a 125px */
    min-height: 125px;
    max-height: 125px;
    min-width: 200px; /* Ancho mínimo para legibilidad */
    display: block; /* Cambio a block para control total */
    overflow: hidden; /* Evita desbordamiento */
}

/* TARJETAS DE PARTIDOS - TAMAÑO ABSOLUTAMENTE FORZADO */
.match-card {
    /* DIMENSIONES ABSOLUTAS - AJUSTADAS */
    width: 100%;
    height: 117px; /* INCREMENTADO de 102px a 117px */
    min-height: 117px;
    max-height: 117px;
    
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    /* LAYOUT INTERNO */
    display: block; /* Control total del layout */
}

.match-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

/* SECCIONES CON ALTURA FIJA */
.match-id {
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.75em;
    font-weight: bold;
    margin-bottom: 4px;
    /* ALTURA FIJA - REDUCIDA */
    height: 16px; /* REDUCIDO de 18px a 16px */
    line-height: 12px;
    overflow: hidden;
}

.match-teams {
    /* ALTURA FIJA PARA LA SECCIÓN DE EQUIPOS - AJUSTADA */
    height: 58px; /* INCREMENTADO de 50px a 58px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82em;
    /* ALTURA FIJA POR EQUIPO - REDUCIDA */
    height: 18px; /* REDUCIDO de 20px a 18px */
    line-height: 1;
}

.team strong {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 6px;
    font-weight: 600;
}

.points {
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    min-width: 25px;
    width: 25px; /* ANCHO FIJO */
    text-align: center;
    font-size: 0.9em;
    flex-shrink: 0;
}

.vs {
    text-align: center;
    font-size: 0.7em;
    font-weight: bold;
    opacity: 0.7;
    /* ALTURA FIJA */
    height: 14px;
    line-height: 14px;
}

.match-info {
    text-align: center;
    /* ALTURA FIJA PARA LA INFORMACIÓN - AJUSTADA */
    height: 22px; /* INCREMENTADO de 18px a 22px */
    overflow: hidden;
}

.status {
    font-size: 0.7em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0,0,0,0.1);
    display: inline-block;
    margin-bottom: 2px;
    /* ALTURA FIJA - AJUSTADA */
    height: 18px; /* INCREMENTADO de 16px a 18px */
    line-height: 14px; /* INCREMENTADO de 12px a 14px */
}

.status.programado {
    background: rgba(255, 193, 7, 0.8);
    color: #000;
}

.status.jugado {
    background: rgba(40, 167, 69, 0.8);
    color: #fff;
}

.status.empate {
    background: rgba(108, 117, 125, 0.8);
    color: #fff;
}

.categoria {
    font-size: 0.65em; /* Tamaño legible */
    opacity: 0.9;
    text-align: center;
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 6px;
    /* ALTURA FIJA - REDUCIDA */
    height: 14px; /* REDUCIDO de 16px a 14px */
    line-height: 10px;
    overflow: hidden;
    font-weight: 500;
}

/* SLOTS VACÍOS CON MISMO TAMAÑO */
.empty-slot {
    width: 100%;
    height: 117px; /* INCREMENTADO de 102px a 117px */
    min-width: 200px; /* Mismo ancho mínimo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9em;
    opacity: 0.6;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.empty-slot i {
    font-size: 1.5em;
    margin-bottom: 5px;
}

/* ESTADO VACÍO */
.no-matches {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.no-matches i {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-matches h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* FOOTER - NORMAL (NO FIJO) */
footer {
    background: rgba(0,0,0,0.3);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

/* ANIMACIONES */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* INDICADOR DE SCROLL HORIZONTAL */
.scroll-indicator {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse 2s infinite;
    z-index: 100;
}

/* Mostrar indicador solo en móvil cuando hay scroll */
@media (max-width: 768px) {
    .scroll-indicator {
        display: flex;
    }
}

@media (min-width: 769px) {
    .scroll-indicator {
        display: none;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* MEJORAR LEGIBILIDAD CON NUEVOS COLORES DE CATEGORÍAS */

/* Fondos claros - Pre-Mini (amarillo) */
.match-card[style*="background-color: #FFFF00"] .match-id,
.match-card[style*="background-color: #ffff00"] .match-id,
.match-card[style*="background-color: #FFFF00"] .categoria,
.match-card[style*="background-color: #ffff00"] .categoria {
    background: rgba(0,0,0,0.3);
    color: #000;
}

.match-card[style*="background-color: #FFFF00"] .points,
.match-card[style*="background-color: #ffff00"] .points {
    background: rgba(0,0,0,0.3);
    color: #000;
}

.match-card[style*="background-color: #FFFF00"] .status,
.match-card[style*="background-color: #ffff00"] .status {
    background: rgba(0,0,0,0.3);
    color: #000;
}

/* Fondos claros - Mini Masculí (beige/crema) */
.match-card[style*="background-color: #FCD5B4"] .match-id,
.match-card[style*="background-color: #fcd5b4"] .match-id,
.match-card[style*="background-color: #FCD5B4"] .categoria,
.match-card[style*="background-color: #fcd5b4"] .categoria {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #FCD5B4"] .points,
.match-card[style*="background-color: #fcd5b4"] .points {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #FCD5B4"] .status,
.match-card[style*="background-color: #fcd5b4"] .status {
    background: rgba(0,0,0,0.25);
    color: #000;
}

/* Fondos claros - Infantil Masculí (azul claro) */
.match-card[style*="background-color: #C5D9F1"] .match-id,
.match-card[style*="background-color: #c5d9f1"] .match-id,
.match-card[style*="background-color: #C5D9F1"] .categoria,
.match-card[style*="background-color: #c5d9f1"] .categoria {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #C5D9F1"] .points,
.match-card[style*="background-color: #c5d9f1"] .points {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #C5D9F1"] .status,
.match-card[style*="background-color: #c5d9f1"] .status {
    background: rgba(0,0,0,0.25);
    color: #000;
}

/* Fondos claros - Infantil Femení (verde claro) */
.match-card[style*="background-color: #92D050"] .match-id,
.match-card[style*="background-color: #92d050"] .match-id,
.match-card[style*="background-color: #92D050"] .categoria,
.match-card[style*="background-color: #92d050"] .categoria {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #92D050"] .points,
.match-card[style*="background-color: #92d050"] .points {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #92D050"] .status,
.match-card[style*="background-color: #92d050"] .status {
    background: rgba(0,0,0,0.25);
    color: #000;
}

/* Fondos claros - Veterans Masculí (verde intermedio RGB 0,176,80) */
.match-card[style*="background-color: #00B050"] .match-id,
.match-card[style*="background-color: #00b050"] .match-id,
.match-card[style*="background-color: rgb(0, 176, 80)"] .match-id,
.match-card[style*="background-color: rgb(0,176,80)"] .match-id,
.match-card[style*="background-color: #00B050"] .categoria,
.match-card[style*="background-color: #00b050"] .categoria,
.match-card[style*="background-color: rgb(0, 176, 80)"] .categoria,
.match-card[style*="background-color: rgb(0,176,80)"] .categoria {
    background: rgba(255,255,255,0.8);
    color: #000;
}

.match-card[style*="background-color: #00B050"] .points,
.match-card[style*="background-color: #00b050"] .points,
.match-card[style*="background-color: rgb(0, 176, 80)"] .points,
.match-card[style*="background-color: rgb(0,176,80)"] .points {
    background: rgba(255,255,255,0.8);
    color: #000;
}

.match-card[style*="background-color: #00B050"] .status,
.match-card[style*="background-color: #00b050"] .status,
.match-card[style*="background-color: rgb(0, 176, 80)"] .status,
.match-card[style*="background-color: rgb(0,176,80)"] .status {
    background: rgba(255,255,255,0.8);
    color: #000;
}

/* Fondos oscuros - mejorar contraste */
.match-card[style*="background-color: #4F6228"] .match-id,
.match-card[style*="background-color: #4f6228"] .match-id,
.match-card[style*="background-color: #948B54"] .match-id,
.match-card[style*="background-color: #948b54"] .match-id,
.match-card[style*="background-color: #4F6228"] .categoria,
.match-card[style*="background-color: #4f6228"] .categoria,
.match-card[style*="background-color: #948B54"] .categoria,
.match-card[style*="background-color: #948b54"] .categoria {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.match-card[style*="background-color: #4F6228"] .points,
.match-card[style*="background-color: #4f6228"] .points,
.match-card[style*="background-color: #948B54"] .points,
.match-card[style*="background-color: #948b54"] .points {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.match-card[style*="background-color: #4F6228"] .status,
.match-card[style*="background-color: #4f6228"] .status,
.match-card[style*="background-color: #948B54"] .status,
.match-card[style*="background-color: #948b54"] .status {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ===== NUEVAS REGLAS PARA CATEGORÍAS U-13, U-14 Y U-15 ===== */

/* U15 - CADET FEMENÍ (azul claro #00B0F0) */
.match-card[style*="background-color: #00B0F0"] .match-id,
.match-card[style*="background-color: #00b0f0"] .match-id,
.match-card[style*="background-color: rgb(0, 176, 240)"] .match-id,
.match-card[style*="background-color: rgb(0,176,240)"] .match-id,
.match-card[style*="background-color: #00B0F0"] .categoria,
.match-card[style*="background-color: #00b0f0"] .categoria,
.match-card[style*="background-color: rgb(0, 176, 240)"] .categoria,
.match-card[style*="background-color: rgb(0,176,240)"] .categoria {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #00B0F0"] .points,
.match-card[style*="background-color: #00b0f0"] .points,
.match-card[style*="background-color: rgb(0, 176, 240)"] .points,
.match-card[style*="background-color: rgb(0,176,240)"] .points {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #00B0F0"] .status,
.match-card[style*="background-color: #00b0f0"] .status,
.match-card[style*="background-color: rgb(0, 176, 240)"] .status,
.match-card[style*="background-color: rgb(0,176,240)"] .status {
    background: rgba(0,0,0,0.25);
    color: #000;
}

/* U14 - INFANTIL MASCULÍ (verde #00D25F) */
.match-card[style*="background-color: #00D25F"] .match-id,
.match-card[style*="background-color: #00d25f"] .match-id,
.match-card[style*="background-color: rgb(0, 210, 95)"] .match-id,
.match-card[style*="background-color: rgb(0,210,95)"] .match-id,
.match-card[style*="background-color: #00D25F"] .categoria,
.match-card[style*="background-color: #00d25f"] .categoria,
.match-card[style*="background-color: rgb(0, 210, 95)"] .categoria,
.match-card[style*="background-color: rgb(0,210,95)"] .categoria {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #00D25F"] .points,
.match-card[style*="background-color: #00d25f"] .points,
.match-card[style*="background-color: rgb(0, 210, 95)"] .points,
.match-card[style*="background-color: rgb(0,210,95)"] .points {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #00D25F"] .status,
.match-card[style*="background-color: #00d25f"] .status,
.match-card[style*="background-color: rgb(0, 210, 95)"] .status,
.match-card[style*="background-color: rgb(0,210,95)"] .status {
    background: rgba(0,0,0,0.25);
    color: #000;
}

/* U14 - INFANTIL FEMENÍ (rojo #FF0000) - Ya existe pero agregamos variantes RGB */
.match-card[style*="background-color: #FF0000"] .match-id,
.match-card[style*="background-color: #ff0000"] .match-id,
.match-card[style*="background-color: rgb(255, 0, 0)"] .match-id,
.match-card[style*="background-color: rgb(255,0,0)"] .match-id,
.match-card[style*="background-color: #FF0000"] .categoria,
.match-card[style*="background-color: #ff0000"] .categoria,
.match-card[style*="background-color: rgb(255, 0, 0)"] .categoria,
.match-card[style*="background-color: rgb(255,0,0)"] .categoria {
    background: rgba(255,255,255,0.8);
    color: #000;
}

.match-card[style*="background-color: #FF0000"] .points,
.match-card[style*="background-color: #ff0000"] .points,
.match-card[style*="background-color: rgb(255, 0, 0)"] .points,
.match-card[style*="background-color: rgb(255,0,0)"] .points {
    background: rgba(255,255,255,0.8);
    color: #000;
}

.match-card[style*="background-color: #FF0000"] .status,
.match-card[style*="background-color: #ff0000"] .status,
.match-card[style*="background-color: rgb(255, 0, 0)"] .status,
.match-card[style*="background-color: rgb(255,0,0)"] .status {
    background: rgba(255,255,255,0.8);
    color: #000;
}

/* U13 - INFANTIL MASCULÍ 1ER ANY (naranja #FFAB2F) */
.match-card[style*="background-color: #FFAB2F"] .match-id,
.match-card[style*="background-color: #ffab2f"] .match-id,
.match-card[style*="background-color: rgb(255, 171, 47)"] .match-id,
.match-card[style*="background-color: rgb(255,171,47)"] .match-id,
.match-card[style*="background-color: #FFAB2F"] .categoria,
.match-card[style*="background-color: #ffab2f"] .categoria,
.match-card[style*="background-color: rgb(255, 171, 47)"] .categoria,
.match-card[style*="background-color: rgb(255,171,47)"] .categoria {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #FFAB2F"] .points,
.match-card[style*="background-color: #ffab2f"] .points,
.match-card[style*="background-color: rgb(255, 171, 47)"] .points,
.match-card[style*="background-color: rgb(255,171,47)"] .points {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #FFAB2F"] .status,
.match-card[style*="background-color: #ffab2f"] .status,
.match-card[style*="background-color: rgb(255, 171, 47)"] .status,
.match-card[style*="background-color: rgb(255,171,47)"] .status {
    background: rgba(0,0,0,0.25);
    color: #000;
}

/* U13 - INFANTIL FEMENÍ 1ER ANY (verde oliva/beige #A89F68) */
.match-card[style*="background-color: #A89F68"] .match-id,
.match-card[style*="background-color: #a89f68"] .match-id,
.match-card[style*="background-color: rgb(168, 159, 104)"] .match-id,
.match-card[style*="background-color: rgb(168,159,104)"] .match-id,
.match-card[style*="background-color: #A89F68"] .categoria,
.match-card[style*="background-color: #a89f68"] .categoria,
.match-card[style*="background-color: rgb(168, 159, 104)"] .categoria,
.match-card[style*="background-color: rgb(168,159,104)"] .categoria {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #A89F68"] .points,
.match-card[style*="background-color: #a89f68"] .points,
.match-card[style*="background-color: rgb(168, 159, 104)"] .points,
.match-card[style*="background-color: rgb(168,159,104)"] .points {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #A89F68"] .status,
.match-card[style*="background-color: #a89f68"] .status,
.match-card[style*="background-color: rgb(168, 159, 104)"] .status,
.match-card[style*="background-color: rgb(168,159,104)"] .status {
    background: rgba(0,0,0,0.25);
    color: #000;
}

/* PROMOCIÓ - Estilos para categorías de promoción (19-24) */
/* Marrón, Púrpura, Azul real, Carmesí, Naranja rojo, Verde mar oscuro */
.match-card[style*="background-color: #8B4513"] .match-id,
.match-card[style*="background-color: #8b4513"] .match-id,
.match-card[style*="background-color: #800080"] .match-id,
.match-card[style*="background-color: #4169E1"] .match-id,
.match-card[style*="background-color: #4169e1"] .match-id,
.match-card[style*="background-color: #DC143C"] .match-id,
.match-card[style*="background-color: #dc143c"] .match-id,
.match-card[style*="background-color: #FF4500"] .match-id,
.match-card[style*="background-color: #ff4500"] .match-id,
.match-card[style*="background-color: #8B4513"] .categoria,
.match-card[style*="background-color: #8b4513"] .categoria,
.match-card[style*="background-color: #800080"] .categoria,
.match-card[style*="background-color: #4169E1"] .categoria,
.match-card[style*="background-color: #4169e1"] .categoria,
.match-card[style*="background-color: #DC143C"] .categoria,
.match-card[style*="background-color: #dc143c"] .categoria,
.match-card[style*="background-color: #FF4500"] .categoria,
.match-card[style*="background-color: #ff4500"] .categoria {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.match-card[style*="background-color: #8B4513"] .points,
.match-card[style*="background-color: #8b4513"] .points,
.match-card[style*="background-color: #800080"] .points,
.match-card[style*="background-color: #4169E1"] .points,
.match-card[style*="background-color: #4169e1"] .points,
.match-card[style*="background-color: #DC143C"] .points,
.match-card[style*="background-color: #dc143c"] .points,
.match-card[style*="background-color: #FF4500"] .points,
.match-card[style*="background-color: #ff4500"] .points {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.match-card[style*="background-color: #8B4513"] .status,
.match-card[style*="background-color: #8b4513"] .status,
.match-card[style*="background-color: #800080"] .status,
.match-card[style*="background-color: #4169E1"] .status,
.match-card[style*="background-color: #4169e1"] .status,
.match-card[style*="background-color: #DC143C"] .status,
.match-card[style*="background-color: #dc143c"] .status,
.match-card[style*="background-color: #FF4500"] .status,
.match-card[style*="background-color: #ff4500"] .status {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Verde mar oscuro (claro) para PROMOCIÓ femení */
.match-card[style*="background-color: #8FBC8F"] .match-id,
.match-card[style*="background-color: #8fbc8f"] .match-id,
.match-card[style*="background-color: #8FBC8F"] .categoria,
.match-card[style*="background-color: #8fbc8f"] .categoria {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #8FBC8F"] .points,
.match-card[style*="background-color: #8fbc8f"] .points {
    background: rgba(0,0,0,0.25);
    color: #000;
}

.match-card[style*="background-color: #8FBC8F"] .status,
.match-card[style*="background-color: #8fbc8f"] .status {
    background: rgba(0,0,0,0.25);
    color: #000;
}

/* ===== REGLAS ADICIONALES PARA TEXTO DE EQUIPOS ===== */

/* Mejorar contraste del texto de equipos en fondos claros */
.match-card[style*="background-color: #00B0F0"] .team strong,
.match-card[style*="background-color: #00b0f0"] .team strong,
.match-card[style*="background-color: #00D25F"] .team strong,
.match-card[style*="background-color: #00d25f"] .team strong,
.match-card[style*="background-color: #FFAB2F"] .team strong,
.match-card[style*="background-color: #ffab2f"] .team strong,
.match-card[style*="background-color: #A89F68"] .team strong,
.match-card[style*="background-color: #a89f68"] .team strong,
.match-card[style*="background-color: #FFFF00"] .team strong,
.match-card[style*="background-color: #ffff00"] .team strong,
.match-card[style*="background-color: #8FBC8F"] .team strong,
.match-card[style*="background-color: #8fbc8f"] .team strong {
    color: #000;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

/* Mejorar contraste del texto "vs" */
.match-card[style*="background-color: #00B0F0"] .vs,
.match-card[style*="background-color: #00b0f0"] .vs,
.match-card[style*="background-color: #00D25F"] .vs,
.match-card[style*="background-color: #00d25f"] .vs,
.match-card[style*="background-color: #FFAB2F"] .vs,
.match-card[style*="background-color: #ffab2f"] .vs,
.match-card[style*="background-color: #A89F68"] .vs,
.match-card[style*="background-color: #a89f68"] .vs,
.match-card[style*="background-color: #FFFF00"] .vs,
.match-card[style*="background-color: #ffff00"] .vs,
.match-card[style*="background-color: #8FBC8F"] .vs,
.match-card[style*="background-color: #8fbc8f"] .vs {
    color: #000;
    opacity: 0.8;
}

/* Para fondos rojos y oscuros, mantener texto blanco */
.match-card[style*="background-color: #FF0000"] .team strong,
.match-card[style*="background-color: #ff0000"] .team strong,
.match-card[style*="background-color: rgb(255, 0, 0)"] .team strong,
.match-card[style*="background-color: rgb(255,0,0)"] .team strong,
.match-card[style*="background-color: #8B4513"] .team strong,
.match-card[style*="background-color: #8b4513"] .team strong,
.match-card[style*="background-color: #800080"] .team strong,
.match-card[style*="background-color: #4169E1"] .team strong,
.match-card[style*="background-color: #4169e1"] .team strong,
.match-card[style*="background-color: #DC143C"] .team strong,
.match-card[style*="background-color: #dc143c"] .team strong,
.match-card[style*="background-color: #FF4500"] .team strong,
.match-card[style*="background-color: #ff4500"] .team strong {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.match-card[style*="background-color: #FF0000"] .vs,
.match-card[style*="background-color: #ff0000"] .vs,
.match-card[style*="background-color: rgb(255, 0, 0)"] .vs,
.match-card[style*="background-color: rgb(255,0,0)"] .vs,
.match-card[style*="background-color: #8B4513"] .vs,
.match-card[style*="background-color: #8b4513"] .vs,
.match-card[style*="background-color: #800080"] .vs,
.match-card[style*="background-color: #4169E1"] .vs,
.match-card[style*="background-color: #4169e1"] .vs,
.match-card[style*="background-color: #DC143C"] .vs,
.match-card[style*="background-color: #dc143c"] .vs,
.match-card[style*="background-color: #FF4500"] .vs,
.match-card[style*="background-color: #ff4500"] .vs {
    color: #fff;
    opacity: 0.9;
}

/* RESPONSIVE DESIGN CON TAMAÑOS FORZADOS - ALTURAS AJUSTADAS */

/* Tablets grandes (1024px - 1200px) */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 13px;
    }

    .calendar-scroll-container {
        /* Añadir padding para evitar que el scrollbar toque el contenido */
        padding-bottom: 10px;
    }
    
    .container {
        padding: 30px 15px;
    }
    
    /* AJUSTAR TAMAÑOS PARA TABLET - AJUSTADOS */
    .match-cell {
        height: 108px; /* INCREMENTADO de 95px a 108px */
        min-width: 180px; /* Reducir ancho mínimo en tablet */
    }
    
    .match-card,
    .empty-slot {
        height: 100px; /* INCREMENTADO de 87px a 100px */
    }
    
    .match-teams {
        height: 52px; /* INCREMENTADO de 45px a 52px */
    }
    
    .pista-header {
        min-width: 180px; /* Reducir ancho mínimo */
        font-size: 0.9em;
    }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 8px;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .breadcrumb a {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Móviles y tablets pequeños (768px y menos) */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2em;
    }
    
    .header-content h3 {
        font-size: 1.1em;
    }
    
    .basketball-icon {
        font-size: 1.5em;
        margin: 0 10px;
    }

    /* Logo responsive para móviles */
    .club-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .club-logo {
        width: 60px;
        height: 60px;
    }
    
    .club-info h1 {
        font-size: 1.8em;
    }

    /* NAVBAR RESPONSIVE - GRID PARA ELEMENTOS DE 2 EN 2 */
    .nav-menu {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 10px !important;
        justify-content: center;
        align-items: center;
    }
    
    .nav-link {
        padding: 12px 8px !important;
        font-size: 13px !important;
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        min-height: 65px !important;
        align-items: center !important;
    }
    
    .nav-link i {
        font-size: 1.2em !important;
        min-width: auto !important;
    }
    
    .nav-link span {
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .page-title h2 {
        font-size: 1.8em;
    }
    
    .page-title p {
        font-size: 1em;
    }
    
    .calendar-container {
        padding: 15px;
        border-radius: 15px;
        /* Mejorar scroll en móvil */
        padding-bottom: 25px; /* Espacio para scrollbar */
    }
    
    /* FORZAR SCROLL HORIZONTAL EN MÓVIL */
    .calendar-grid {
        min-width: 800px; /* Ancho mínimo que fuerza scroll en móvil */
    }
    
    .calendar-header-row,
    .calendar-row {
        min-width: 800px; /* Asegurar que las filas tengan ancho mínimo */
    }
    
    .time-header,
    .pista-header {
        padding: 10px 5px;
        font-size: 0.9em;
    }
    
    .pista-header {
        min-width: 150px; /* Reducir más en móvil */
        flex-direction: column;
        gap: 2px;
    }
    
    /* TAMAÑOS MÓVIL - AJUSTADOS */
    .match-cell {
        height: 92px; /* INCREMENTADO de 80px a 92px */
        min-width: 150px; /* Reducir ancho mínimo móvil */
    }
    
    .match-card,
    .empty-slot {
        height: 84px; /* INCREMENTADO de 72px a 84px */
    }
    
    .match-teams {
        height: 46px; /* INCREMENTADO de 40px a 46px */
    }
    
    .team {
        font-size: 0.75em;
        height: 16px; /* REDUCIDO de 18px a 16px */
    }
    
    .points {
        font-size: 0.8em;
        min-width: 20px;
        width: 20px;
    }
    
    .breadcrumb a {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    /* Scrollbar más visible en móvil */
    .calendar-container::-webkit-scrollbar {
        height: 14px;
    }
    
    .calendar-container::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #4CAF50, #2E7D32);
        border-radius: 7px;
        border: 1px solid #f1f1f1;
    }
    
    /* Añadir indicador de scroll más prominente en móvil */
    .scroll-indicator {
        font-size: 0.75em;
        padding: 6px 10px;
        animation: pulse 1.5s infinite;
        z-index: 100;
    }
}

/* Móviles pequeños (480px y menos) */
@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.6em;
    }
    
    .header-content h3 {
        font-size: 1em;
    }
    
    .basketball-icon {
        font-size: 1.2em;
        margin: 0 5px;
    }
    
    .club-info h1 {
        font-size: 1.5em;
    }
    
    .club-logo {
        width: 50px;
        height: 50px;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    .nav-menu {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 5px !important;
    }
    
    .nav-link {
        padding: 10px 6px !important;
        font-size: 12px !important;
        min-height: 60px !important;
    }
    
    .nav-link span {
        font-size: 11px !important;
    }
    
    .nav-link i {
        font-size: 1.1em !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-number {
        font-size: 1.8em;
    }
    
    .stat-label {
        font-size: 0.8em;
    }
    
    .page-title h2 {
        font-size: 1.5em;
    }
    
    .calendar-container {
        padding: 12px;
        padding-bottom: 30px; /* Más espacio para scrollbar */
    }
    
    /* FORZAR SCROLL HORIZONTAL EN MÓVIL PEQUEÑO */
    .calendar-grid {
        min-width: 700px; /* Ancho mínimo para móvil pequeño */
    }
    
    .calendar-header-row,
    .calendar-row {
        min-width: 700px;
    }
    
    .time-header,
    .pista-header {
        padding: 8px 3px;
        font-size: 0.8em;
    }
    
    .pista-header {
        min-width: 120px; /* Reducir aún más */
    }
    
    .pista-header i {
        display: none;
    }
    
    /* TAMAÑOS MÓVIL PEQUEÑO - AJUSTADOS */
    .match-cell {
        height: 82px; /* INCREMENTADO de 70px a 82px */
        min-width: 120px; /* Reducir ancho mínimo móvil pequeño */
    }
    
    .match-card,
    .empty-slot {
        height: 74px; /* INCREMENTADO de 62px a 74px */
    }
    
    .match-teams {
        height: 42px; /* INCREMENTADO de 35px a 42px */
    }
    
    .match-id {
        font-size: 0.65em;
        height: 12px; /* REDUCIDO de 14px a 12px */
        line-height: 8px; /* REDUCIDO de 10px a 8px */
    }
    
    .team {
        font-size: 0.7em;
        height: 14px; /* REDUCIDO de 15px a 14px */
    }
    
    .points {
        font-size: 0.7em;
        min-width: 18px;
        width: 18px;
    }
    
    .vs {
        font-size: 0.6em;
        height: 10px; /* REDUCIDO */
        line-height: 10px;
    }
    
    .status {
        font-size: 0.6em;
        height: 14px; /* INCREMENTADO de 10px a 14px */
        line-height: 10px; /* INCREMENTADO de 6px a 10px */
    }
    
    .categoria {
        font-size: 0.55em; /* Ajustada para móvil pequeño */
        height: 12px; /* REDUCIDO de 14px a 12px */
        line-height: 8px; /* REDUCIDO de 10px a 8px */
        padding: 1px 4px;
    }
    
    .match-info {
        height: 18px; /* INCREMENTADO de 14px a 18px */
    }
    
    .breadcrumb a {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* Scrollbar más grueso en móvil pequeño */
    .calendar-container::-webkit-scrollbar {
        height: 16px;
    }
    
    .calendar-container::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #4CAF50, #2E7D32);
        border-radius: 8px;
        border: 1px solid #f1f1f1;
    }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
    .nav-menu {
        gap: 6px !important;
        padding: 0 3px !important;
    }
    
    .nav-link {
        padding: 8px 4px !important;
        font-size: 11px !important;
        min-height: 55px !important;
    }
    
    .nav-link span {
        font-size: 10px !important;
    }
    
    .nav-link i {
        font-size: 1em !important;
    }
    
    .calendar-container {
        padding: 10px;
        padding-bottom: 35px; /* Máximo espacio para scrollbar */
    }
    
    /* FORZAR SCROLL HORIZONTAL EN MÓVIL MUY PEQUEÑO */
    .calendar-grid {
        min-width: 600px; /* Ancho mínimo para móvil muy pequeño */
    }
    
    .calendar-header-row,
    .calendar-row {
        min-width: 600px;
    }
    
    .pista-header {
        min-width: 100px; /* Mínimo absoluto */
        font-size: 0.7em;
    }
    
    .match-cell {
        min-width: 100px; /* Mínimo absoluto */
    }
    
    /* Scrollbar máximo grosor en móvil muy pequeño */
    .calendar-container::-webkit-scrollbar {
        height: 18px;
    }
    
    .calendar-container::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #4CAF50, #2E7D32);
        border-radius: 9px;
        border: 1px solid #f1f1f1;
    }
    
    .calendar-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 9px;
    }
}

/* ===== ESTILOS ESPECÍFICOS PARA DIUMENGE.PHP ===== */

/* Estilos específicos para el layout dinámico de pistas */
.calendar-header-row.temprana {
    display: grid;
    grid-template-columns: 100px repeat(4, 1fr); /* Cambiado: ahora todas las pistas usan 1fr */
    gap: 2px;
}

.calendar-header-row.tardia {
    display: grid;
    grid-template-columns: 100px 3fr 1fr; /* Can Prat sigue siendo más pequeño en horas tardías */
    gap: 2px;
}

.calendar-row.temprana {
    display: grid;
    grid-template-columns: 100px repeat(4, 1fr); /* Cambiado: ahora todas las pistas usan 1fr */
    gap: 2px;
    margin-bottom: 1px; /* REDUCIDO de 2px a 1px */
}

.calendar-row.tardia {
    display: grid;
    grid-template-columns: 100px 3fr 1fr; /* Can Prat sigue siendo más pequeño en horas tardías */
    gap: 2px;
    margin-bottom: 1px; /* REDUCIDO de 2px a 1px */
}

/* Asegurar que headers y celdas tengan exactamente el mismo tamaño */
.calendar-header-row.temprana .pista-header,
.calendar-row.temprana .match-cell {
    min-width: 200px; /* Aumentado para mejor visualización */
    box-sizing: border-box; /* Asegurar que padding y border estén incluidos */
}

.calendar-header-row.temprana .pista-header {
    padding: 15px 8px; /* Reducir padding horizontal para que coincida con las celdas */
    border: 2px solid transparent; /* Mismo border que las match-cell */
    border-radius: 10px;
}

.calendar-row.temprana .match-cell {
    padding: 4px; /* Mantener padding original */
    border: 2px solid #dee2e6;
    border-radius: 10px;
}

.pista-header.franqueses-general {
    min-width: 400px;
}

.franqueses-grid.partidos-multiple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 4px;
    height: 100%;
}

/* Estilos para la franja de dinar - ESTILO MINIMALISTA CONSISTENTE */
.calendar-row.dinar-row {
    display: grid;
    gap: 2px;
    margin-bottom: 1px; /* REDUCIDO de 2px a 1px */
    background: #e9ecef !important;
}

.calendar-row.dinar-row.temprana {
    grid-template-columns: 100px repeat(4, 1fr); /* Cambiado: consistente con el resto */
}

.calendar-row.dinar-row.tardia {
    grid-template-columns: 100px 3fr 1fr;
}

.time-cell.dinar-time-cell {
    background: #e9ecef !important;
    color: #333 !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    /* STICKY - FIJAR COLUMNA DE TIEMPO DINAR */
    position: sticky;
    left: 0;
    z-index: 10;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.dinar-cell {
    background: #e9ecef !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    font-size: 0.85em; /* REDUCIDO ligeramente el texto */
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    height: 125px; /* INCREMENTADO de 110px a 125px */
    min-height: 125px;
    max-height: 125px;
}

/* Ocultar íconos en las celdas DINAR para mantener limpieza */
.dinar-time-cell i,
.dinar-cell i {
    display: none;
}

/* RESPONSIVE PARA DINAR */
@media (max-width: 1200px) {
    .dinar-cell {
        height: 108px !important; /* Mantener consistencia */
        min-height: 108px !important;
        max-height: 108px !important;
    }
}

@media (max-width: 768px) {
    .dinar-cell {
        height: 92px !important;
        min-height: 92px !important;
        max-height: 92px !important;
    }
}

@media (max-width: 480px) {
    .dinar-cell {
        height: 82px !important;
        min-height: 82px !important;
        max-height: 82px !important;
    }
}

/* MEJORAS ADICIONALES PARA UNIFORMIDAD */
.calendar-row:last-child {
    margin-bottom: 0;
}

/* Asegurar que todas las celdas tengan la misma altura en una fila */
.calendar-row {
    align-items: stretch;
}

/* Efectos de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .basketball-icon,
    .club-logo {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
    
    .scroll-indicator {
        animation: none !important;
    }
}