:root {
    --global-color-0:##ffc042;
    --global-color-1:#ff4e00e8;
    --global-color-2:#2B161B;
    --global-color-3:#554B4E;
    --global-color-4:##8ec7e4;
    --global-color-5:#FFFFFF;
    --global-color-6:#000000;
    --global-color-7:#4B4F58;
    --global-color-8:#F6F7F8;
}
/*Estilos del contenedor global*/
.goles-grid {
    display: grid;
    gap: 12px;
}

/* Estilos generales para el contenedor del partido */
.gol-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*background-color: var(--ast-global-color-5); /* Color de fondo */
    padding: 10px;
    margin-bottom: 18px;
    border-radius: 12px;
    min-height: 50px;
    box-shadow: 0px 0px 10px #00000070; /* Sombra */
    overflow: visible;
}

/* Estilos para el encabezado del partido */
.gol-header {
    display: flex;
    flex-direction: row;
    flex: 2;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--global-color-1); /* Color de fondo */
    border-radius: 12px 0px 0px 12px;
    /*margin-bottom: 10px;*/
}

.gol-header p {
    margin: 0;
    color: var(--global-color-5); /* Color del texto */
    
}

/* Estilos para los detalles del partido */
.gol-details {
    display: flex;
    flex-direction: row;
    flex: 6;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    background-color: var(--global-color-5); /* Color de fondo */
    border-radius: 0px 12px 12px 0px;
    color: var(--global-color-6)
}

.gol-details div {
    flex: 1;
    text-align: center;
    justify-content: center;
    color: var(--global-color-6); /* Color del texto */
}
.gol-details p {
    text-align: center;
    justify-content: center;
}

/* Estilos específicos para los equipos y el versus */
.equipo-a, .equipo-b {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.equipo-nombre {
    font-weight: bold;
    color: var(--global-color-2);
    justify-content: center;
    text-align: center;
    align-items: center;

}

.equipo-goles {
    font-size: 1.2em;
    color: var(--global-color-1);
    margin: 2px;
}

.partido-versus {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--global-color-3);
    margin: 0;
}

/* Responsivo: Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
    .gol-wrapper {
        width: 100%;
        padding: 0px;
        margin: 0px !important;
        flex-direction: column; /* Apila los contenedores verticalmente */

    }
    
    .gol-header, .gol-details {
        padding: 1px 4px 1px 4px;
        width: 100%;
        flex-direction: row;
    }

    .gol-header {
        border-radius: 6px 6px 0px 0px;
    }

    .gol-details {
        align-items: center;
        border-radius: 0px 0px 6px 6px;
    }
}

/* Ajustes generales */
body, button, input, select, textarea, .ast-button, .ast-custom-button {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.6em;
}
