/* =============================================
   ESTILOS GENERALES Y CONFIGURACIONES BASE
   ============================================= */

   body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0 !important;
    color: #000000;
    transition: background-color 0.3s, color 0.3s;
}

body.modo-white {
    background-color: #ffffff;
    color: #000000;
}

body.modo-dark {
    background-color: #000000;
    color: #f4f4f4;
}

section {
    margin-bottom: 30px;
}

h2 {
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}

/* =============================================
   COMPONENTES DE NAVEGACIÓN
   ============================================= */

.navbar-item-horizontal {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-item-horizontal:hover {
    background-color: #e9e9e9;
}

.navbar-item-horizontal.is-active {
    background-color: #104903;
    color: rgb(255, 255, 255);
}

.navbar-item-horizontal.is-active .icon {
    color: white;
}

.navbar-item-horizontal .icon {
    margin-right: 0.5rem;
}

.menu-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

/* =============================================
   SECCIÓN DE RESULTADOS
   ============================================= */

.resultados {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    color: #e4d615;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    transition: background-color 0.3s, color 0.3s;
}

.cuadro-partido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ca0c0c;
    border-radius: 10px;
    background-color: #efeff0;
    transition: background-color 0.3s, border-color 0.3s;
    max-width: 600px;
    margin: 0 auto;
}

.cuadro-equipo {
    flex: 1;
    min-width: 0;
    border: 2px solid #002244;
    border-radius: 10px;
    padding: 10px;
    background-color: #002244;
    transition: background-color 0.3s, border-color 0.3s;
}

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

.cuadro-equipo:first-child .equipo {
    justify-content: flex-start;
}

.cuadro-equipo:last-child .equipo {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.nombre-equipo {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    font-weight: bold;
    font-size: 18px;
}

.cuadro-goles {
    flex: 0 0 auto;
    padding: 0 1rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: #000000;
    border: 2px solid #002244;
    border-radius: 10px;
    padding: 10px;
    background-color: #ffffff;
    transition: background-color 0.3s, border-color 0.3s;
}

.goles {
    font-size: 20px;
    font-weight: bold;
    color: #d40f0f;
}

.logo-equipo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* =============================================
   SECCIÓN DE PRÓXIMOS PARTIDOS (ESTILOS ACTUALIZADOS)
   ============================================= */

.proximos-partidos-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(177, 7, 7);
}
.cuadro-equipo-proximo .equipo {
    display: flex;
  
    align-items: center; /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente */
    height: 100%; /* Ocupa toda la altura del cuadro azul */
    text-align: center; /* Asegura centrado del texto */

}

.cuadro-equipo-proximo .nombre-equipo {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    width: 100%; /* Ocupa todo el ancho disponible */
    text-align: center; /* Centrado adicional del texto */
    padding: 0 5px; /* Pequeño padding para evitar bordes pegados */
}

.cuadro-equipo .equipo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
}

.cuadro-equipo .nombre-equipo {
    text-align: center;
    width: 100%;
}

.cuadro-partido-proximo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 10px;
    background-color: #ffffff;
    border-radius: 8px;
}

.cuadro-equipo-proximo {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    padding: 20px;
    background-color: #031150;
}

.vs-fecha {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0 10px;
    padding: 5px;
    background-color: #ffffff;
    border-radius: 5px;
}

.vs {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

.fecha {
    font-size: 14px;
    color: #000000;
}

/* =============================================
   LOGO PRINCIPAL
   ============================================= */

.navbar-logo-original {
    max-height: 3.5rem !important;
    height: auto;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-brand:hover .navbar-logo-original {
    transform: scale(1.05);
}

/* =============================================
   BOTÓN CAMBIAR MODO
   ============================================= */

#cambiar-modo {
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    padding: 10px 10px;
}

#cambiar-modo:hover {
    background-color: #dadada;
}

/* =============================================
   ESTRUCTURA PRINCIPAL Y FOOTER
   ============================================= */

footer.footer {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw !important;
    height: 70px;
    background-color: #000000 !important;
    color: rgb(216, 11, 11) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid #333;
}

.section-with-fixed-nav {
    margin-bottom: 70px !important;
}

footer .content {
    width: 100%;
    max-width: none;
    padding: 0 20px;
}

/* =============================================
   MEDIA QUERIES PARA DISPOSITIVOS MÓVILES
   ============================================= */

@media screen and (max-width: 768px) {
    .navbar-logo-original {
        max-height: 2.8rem !important;
        max-width: 140px;
    }

    .nombre-equipo {
        max-width: 100px;
        font-size: 16px;
    }

    .cuadro-goles {
        padding: 0 0.5rem;
        font-size: 1rem;
    }

    .logo-equipo {
        width: 40px;
        height: 40px;
    }

    footer.footer {
        height: 45px;
    }

    .section-with-fixed-nav {
        margin-bottom: 60px !important;
    }

    .proximos-partidos-box {
        padding: 15px;
    }
    
    .cuadro-partido-proximo {
        flex-direction: column;
        padding: 0.5rem;
    }
    
    .vs-fecha {
        margin: 5px 0;
    }
}

/* Estilos adicionales para torneos (sin afectar otros estilos) */
.torneo-form-card {
    border-radius: 8px;
    overflow: hidden;
}
.torneo-form-card .card-header {
    padding: 1.25rem 1.5rem;
    font-size: 1.2rem;
}
.torneo-form-card .form-control {
    border-radius: 4px;
    padding: 0.75rem 1rem;
}
.torneo-form-card .btn-submit {
    letter-spacing: 0.5px;
    font-weight: 600;
}







/* cerate .blade de sesiones  */

    .box {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem;
        box-shadow: 0 4px 6px rgb(184, 6, 6);
        border-radius: 15px;
    }
    
    .label {
        font-weight: 600;
    }
    
    .notification {
        border-left: 5px solid #ff3860;
    }
    
    .file-cta {
        transition: all 0.3s ease;
    }
    
    .file-cta:hover {
        background-color: #c7c404 !important;
    }
