:root {
    --color-fondo-principal: #121212;
    --color-fondo-secundario: #1e1e1e;
    --color-fondo-tarjeta: #1e1e1e;
    --color-texto-claro: #e0e0e0;
    --color-texto-gris: #a0a0a0;
    --color-borde: #333;
    --color-borde-foco: #4a4a4a;
    --color-boton-principal: #007bff;
    --color-boton-hover: #0056b3;
    --color-victoria: #28a745;
    --color-derrota: #dc3545;
    --color-empate: #fd7e14;
    --color-info: #6c757d;
    --color-futbol: #1e5631;              /* Verde oscuro (fútbol) */
    --color-baloncesto: #e67e22;          /* Naranja (baloncesto) */
    --color-tenis: #1a237e;               /* Azul marino oscuro (tenis) */
    --color-futbol-americano: #212121;    /* Gris muy oscuro (fútbol americano) */
    --color-hockey: #1565c0;              /* Azul (hockey) */
    --color-baseball: #8B4513;            /* Marrón saddle (baseball) */
    --color-balonmano: #8A2BE2;           /* Azul violeta (balonmano) */
    --color-volleyball: #FF4500;          /* Rojo naranja (volleyball) */
    --color-rugby: #006400;               /* Verde oscuro (rugby) */
    --color-tenis-mesa: #4682B4;          /* Azul acero (tenis de mesa) */
    --color-league-of-legends: #0AC8B9;   /* Verde azulado (LoL) */
    --color-csgo: #FFA500;                /* Naranja (CS:GO) */
    --color-dota2: #E60012;               /* Rojo (DOTA 2) */
    --color-valorant: #FA4454;            /* Rojo coral (Valorant) */
}

/* --- Contenedores Generales --- */
.eventos-disponibles-container {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--color-fondo-principal);
    color: var(--color-texto-claro);
}

.eventos-grid-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- Tarjeta de Evento --- */
.tarjeta-evento {
    background-color: var(--color-fondo-tarjeta);
    border: 1px solid var(--color-borde);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    width: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease-in-out;
}
.tarjeta-evento:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* --- Encabezado del Evento --- */
.encabezado-evento {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}


.deporte-info {
    font-size: 0.75em;
    font-weight: 600;
    margin-bottom: 5px;
    flex-basis: 100%;
}

.liga-info {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-grow: 1;
}

.liga-nombre { font-size: 0.9em; }
.liga-logo, .bandera-liga {
    width: 16px;
    height: 16px;
}

.fecha-evento {
    font-size: 0.8em;
    margin-left: auto;
}

.tiempo-restante {
    font-size: 0.75em;
    border-radius: 5px;
    margin-left: 10px;
}

.tiempo-restante {
  background-color: yellow !important; /* Fuerza el fondo amarillo */
  color: black !important;             /* Texto negro */
  font-weight: bold !important;        /* Negrita */
  padding: 5px 10px;                   /* Un poco de espacio interno */
  border-radius: 4px;                  /* Opcional: esquinas redondeadas */
  display: inline-block;               /* Para que el fondo abrace al texto */
}


/* --- Cuerpo del Evento (Equipos) --- */
.cuerpo-evento {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 12px;
    gap: 10px;
}

.equipo-container {
    display: flex;
    flex-direction: column;
    width: 45%;
}

.equipo {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    min-width: 0; /* Esto permite que el texto se ajuste */
}

.equipo-logo {
    max-height: 30px;
    width: auto;
}

.equipo-nombre {
    font-size: 1em; /* Tamaño base */
    font-weight: 360;
    text-decoration: none;
    color: var(--color-texto-claro);
    margin: 0 2px;
    flex: 1;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 85%; /* Asegura que no desborde */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Máximo 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
}


.equipo-local { justify-content: flex-start; text-align: left; }
.equipo-visitante { justify-content: flex-end; text-align: right; }
.equipo-visitante .equipo-nombre { order: -1; }

/* Efecto Neón para el VS - Versión Intensa */
.vs {
    font-size: 1.4rem;
    font-weight: 900;
    color: #00ff00; /* Verde puro para el neón */
    text-shadow: 
        0 0 5px #00ff00, 
        0 0 10px #00ff00, 
        0 0 20px #00ff00, 
        0 0 40px #0fa, 
        0 0 80px #0fa;
    animation: neon-glow 1.5s ease-in-out infinite alternate;
    margin: 0 15px;
    letter-spacing: 2px;
    filter: brightness(1.2);
}


/* --- Factor de Forma - Corregido y Alineado --- */
.factor-forma-equipo {
    display: flex;
    gap: 3px;
    margin-top: 5px;
}
.equipo-container:first-of-type .factor-forma-equipo { justify-content: flex-start; }
.equipo-container:last-of-type .factor-forma-equipo { justify-content: flex-end; }

.factor-forma-item {
    width: 20px;
    height: 20px;
    font-size: 0.8em;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}
.factor-forma-item.G { background-color: var(--color-victoria); }
.factor-forma-item.P { background-color: var(--color-derrota); }
.factor-forma-item.E { background-color: var(--color-empate); }

/* --- Botón de Pronóstico y Formulario --- */
.boton-crear-pronostico {
    width: 100%;
    padding: 10px;
    font-size: 0.9em;
    border-radius: 0 0 4px 4px;
    background-color: var(--color-boton-principal);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.boton-crear-pronostico:hover { background-color: var(--color-boton-hover); }

.formulario-pronostico {
    background-color: #2a2a2a;
    padding: 15px;
    border-top: 1px solid var(--color-borde);
    border-radius: 0 0 4px 4px;
}

/* --- Pestañas del Formulario --- */
.prediction-tabs { background-color: #2a2a2a; }
.tab-header {
    display: flex;
    border-bottom: 2px solid var(--color-borde);
    margin-bottom: 15px;
}
.tab-button {
    background-color: transparent;
    border: none;
    color: var(--color-texto-gris);
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}
.tab-button:hover { color: var(--color-texto-claro); }
.tab-button.active {
    color: var(--color-texto-claro);
    border-bottom: 2px solid var(--color-boton-principal);
}

.tab-pane { display: none; padding-top: 10px; }
.tab-pane.active { display: block; }

/* --- Elementos del Formulario --- */
.form-group { margin-bottom: 10px; }
.form-group label {
    margin-bottom: 4px;
    font-size: 0.9em;
    font-weight: 600;
    display: block;
}
.form-group select,
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    background-color: #333;
    color: var(--color-texto-claro);
    border: 1px solid var(--color-borde);
    border-radius: 4px;
    padding: 8px;
    font-size: 0.9em;
}
.contador-caracteres { font-size: 0.75em; margin-top: 3px; }
.mensaje-error-cuota { font-size: 0.75em; }

.boton-enviar-pronostico {
    width: 100%;
    padding: 10px;
    font-size: 0.95em;
    border-radius: 4px;
    background-color: var(--color-victoria);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.boton-enviar-pronostico:hover { background-color: #1e8739; }

/* --- Paginación Mejorada y Limpia --- */
.paginacion-eventos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    gap: 8px;
    padding: 10px 0;
    background-color: var(--color-fondo-principal);
    border-radius: 4px;
}
.boton-paginacion {
    background-color: transparent;
    border: 1px solid var(--color-borde);
    color: var(--color-texto-gris);
    padding: 8px 16px;
    border-radius: 4px; /* Bordes menos redondeados para un look más moderno */
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    min-width: 35px;
    text-align: center;
}
.boton-paginacion:hover:not(.activa) {
    background-color: var(--color-borde);
    color: var(--color-texto-claro);
}
.boton-paginacion.activa {
    background-color: var(--color-boton-principal);
    border-color: var(--color-boton-principal);
    color: white;
    cursor: default;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

/* --- Modal Centrado y Elegante --- */
#prediction-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
}
#prediction-modal .modal-content {
    background-color: #2a2a2a;
    position: fixed; /* Se usa 'fixed' para mantenerlo en el viewport */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado perfecto con esta técnica */
    padding: 30px;
    border: 1px solid var(--color-borde);
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
    color: var(--color-texto-claro);
    text-align: center;
}
#prediction-modal .close-modal {
    color: var(--color-texto-gris);
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.2s;
}
#prediction-modal .close-modal:hover { color: var(--color-derrota); }

/* Estilos de los mensajes dentro del modal */
#prediction-modal .modal-message {
    font-size: 1.1em;
    font-weight: 600;
    margin: 20px 0;
}
#prediction-modal .modal-message.success { color: var(--color-victoria); }
#prediction-modal .modal-message.error { color: var(--color-derrota); }

#prediction-modal .modal-custom-error p {
    margin-bottom: 20px;
    font-size: 1em;
}
#prediction-modal .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.modal-btn {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}
.modal-btn:hover { transform: translateY(-2px); }
.modal-btn-register { background-color: var(--color-boton-principal); }
.modal-btn-register:hover { background-color: var(--color-boton-hover); }
.modal-btn-login {
    background-color: var(--color-fondo-principal);
    border: 1px solid var(--color-borde-foco);
}
.modal-btn-login:hover { background-color: var(--color-borde); }

/* Elimina el azul y subrayado predeterminado */
.equipo-nombre {
    color: var(--color-texto-claro) !important; /* Gris (#e0e0e0) */
    text-decoration: none !important; /* Sin subrayado */
}

/* Opcional: Color al pasar el mouse */
.equipo-nombre:hover {
    color: var(--color-boton-principal) !important; /* Azul (#007bff) */
}


.encabezado-evento.futbol { background-color: var(--color-futbol)
    ;
 }
.encabezado-evento.baloncesto 
{ background-color: var(--color-baloncesto); }
.encabezado-evento.tenis { background-color: var(--color-tenis); }
.encabezado-evento.futbol-americano { background-color: var(--color-futbol-americano); }
.encabezado-evento.hockey { background-color: var(--color-hockey); }


@media (max-width: 768px) {
    .equipo-nombre {
        font-size: 0.70em; /* Reducimos el tamaño en móviles */
        -webkit-line-clamp: 2; /* Mantenemos 2 líneas */
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .equipo-nombre {
        font-size: 0.65em; /* Tamaño aún más pequeño */
        -webkit-line-clamp: 2; /* Mantenemos 2 líneas */
    }
}


/* Animación parpadeante */
@keyframes neon-glow {
    from {
        text-shadow: 
            0 0 5px #00ff00, 
            0 0 10px #00ff00, 
            0 0 20px #00ff00;
    }
    to {
        text-shadow: 
            0 0 10px #00ff00, 
            0 0 20px #00ff00, 
            0 0 30px #00ff00, 
            0 0 40px #0fa, 
            0 0 70px #0fa;
    }
}

/* Efecto adicional en hover */
.vs:hover {
    animation: neon-glow 0.5s ease-in-out infinite alternate;
    filter: brightness(1.5);
}



/* En tu archivo CSS existente */
.dynamic-inputs-container {
    margin-top: 15px;
}

.full-width-input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid var(--color-borde);
    border-radius: 4px;
    background-color: var(--color-fondo-secundario);
    color: var(--color-texto-claro);
}

/* Asegura que los labels sean visibles */
.dynamic-inputs-container label {
    display: block;
    margin-bottom: 5px;
    color: var(--color-texto-claro);
    font-size: 0.9em;
}


/* Asegurar consistencia con los inputs existentes */
.combined-prediction-inputs-triple label {
    display: block;
    margin-top: 10px;
    color: var(--color-texto-claro);
    font-size: 0.9em;
}

.combined-prediction-inputs-triple input {
    margin-bottom: 5px;
}






/* -------------------------------------------- */
/* ESTILOS BASE PARA EL CUERPO DE LA TARJETA */
/* -------------------------------------------- */
.cuerpo-evento {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

/* -------------------------------------------- */
/* CAPA DE IMAGEN DE FONDO CON EFECTO ZOOM */
/* -------------------------------------------- */
.cuerpo-evento::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.25, 0.45, 0.45, 0.95), 
                opacity 0.4s ease;
    transform: scale(1);
    opacity: 0.7;
    will-change: transform; /* Optimización para navegadores */
}

/* -------------------------------------------- */
/* OVERLAY OSCURO PARA MEJOR LEGIBILIDAD */
/* -------------------------------------------- */
.cuerpo-evento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* -------------------------------------------- */
/* IMÁGENES ESPECÍFICAS POR DEPORTE */
/* -------------------------------------------- */
.cuerpo-futbol::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/football-stadium.png');
}
.cuerpo-baloncesto::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/baloncesto.png');
}
.cuerpo-tenis::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/tenis.png');
}
.cuerpo-futbol-americano::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/futbol-americano.png');
}
.cuerpo-hockey::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/hockey.png');
}

/* -------------------------------------------- */
/* EFECTOS HOVER */
/* -------------------------------------------- */
.cuerpo-evento:hover::after {
    transform: scale(1.05); /* Zoom suave del 5% */
    opacity: 0.8;
}

.cuerpo-evento:hover::before {
    opacity: 0.6; /* Oscurece ligeramente al hacer hover */
}

/* -------------------------------------------- */
/* ESTILOS PARA EL CONTENIDO (MANTENER LEGIBLE) */
/* -------------------------------------------- */
.equipo-container, 
.vs, 
.factor-forma-equipo {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.equipo-logo {
    transition: transform 0.3s ease;
    max-width: 50px; /* Ajusta según necesidad */
    max-height: 50px;
    width: auto; /* Mantiene proporción */
    height: auto;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

}

.equipo-logo:hover {
    transform: scale(1.05); /* Efecto hover adicional para logos */
}

/* -------------------------------------------- */
/* RESPONSIVE (OPCIONAL) */
/* -------------------------------------------- */
@media (max-width: 768px) {
    .cuerpo-evento::after {
        opacity: 0.8; /* Más opaco en móviles */
    }
    .cuerpo-evento:hover::after {
        transform: scale(1.03); /* Zoom más sutil en móviles */
    }
}




/* -------------------------------------------- */
/*      COLORES Y IMAGENES OTROS DEPORTES       */
/* -------------------------------------------- */



/* Baseball */
.encabezado-evento.baseball {
    background-color: var(--color-baseball);
}
.cuerpo-baseball::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/baseball.png');
}

/* Balonmano */
.encabezado-evento.balonmano {
    background-color: var(--color-balonmano);
}
.cuerpo-balonmano::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/balonmano.png');
}

/* Volleyball */
.encabezado-evento.volleyball {
    background-color: var(--color-volleyball);
}
.cuerpo-volleyball::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/volleyball.png');
}

/* Rugby */
.encabezado-evento.rugby {
    background-color: var(--color-rugby);
}
.cuerpo-rugby::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/rugby.png');
}

/* Tenis de Mesa */
.encabezado-evento.tenis-mesa {
    background-color: var(--color-tenis-mesa);
}
.cuerpo-tenis-mesa::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/tenis-mesa.png');
}

/* League of Legends */
.encabezado-evento.league-of-legends {
    background-color: var(--color-league-of-legends);
}
.cuerpo-league-of-legends::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/league-of-legends.png');
}

/* CS:GO */
.encabezado-evento.csgo {
    background-color: var(--color-csgo);
}
.cuerpo-csgo::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/csgo.png');
}

/* DOTA 2 */
.encabezado-evento.dota2 {
    background-color: var(--color-dota2);
}
.cuerpo-dota2::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/dota2.png');
}

/* Valorant */
.encabezado-evento.valorant {
    background-color: var(--color-valorant);
}
.cuerpo-valorant::after {
    background-image: url('https://www.clubdepronosticos.com/wp-content/uploads/2025/08/valorant.png');
}







/***********************************************************************************/

/* Modal de Confirmación - Versión Mejorada */
.modal-confirmacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.modal-confirmacion.active {
    display: flex;
}

.modal-contenido {
    background-color: var(--color-fondo-tarjeta);
    border-radius: 10px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: modalFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--color-borde);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-encabezado {
    padding: 18px;
    color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.modal-deporte {
    font-size: 0.95em;
    font-weight: 700;
    margin-bottom: 6px;
    flex-basis: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.modal-liga {
    font-size: 1.15em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-fecha {
    font-size: 0.95em;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.modal-cuerpo {
    padding: 25px;
}

.modal-equipos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    gap: 5px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--color-borde);
}

.modal-equipo-local, .modal-equipo-visitante {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.modal-equipo-visitante {
    justify-content: flex-end;
    text-align: right;
}

.modal-equipo-logo {
    height: 45px;
    width: auto;
    max-width: 45px;
    object-fit: contain;
    margin: 0 12px;
}

.modal-equipo-nombre {
    font-size: 0.8em;
    font-weight: 400;
    color: var(--color-texto-claro);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-vs {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-texto-gris);
    padding: 0 8px;
}

.modal-detalles {
    margin: 10px 0;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px;
    border: 1px solid var(--color-borde);
}

.detalle-item {
    display: flex;
    margin-bottom: 5px;
    line-height: 1.1;
}

.detalle-item:last-child {
    margin-bottom: 0;
}

.detalle-justificacion {
    display: block;
}

.detalle-label {
    font-weight: 400;
    color: var(--color-texto-gris);
    min-width: 120px;
    font-size: 0.8em;
}

.detalle-valor {
    color: var(--color-texto-claro);
    flex: 1;
    font-size: 0.8em;
    word-break: break-word;
}

#modal-justificacion {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-radius: 6px;
    margin-top: 8px;
    border-left: 3px solid var(--color-boton-principal);
    font-size: 0.9em;
    line-height: 1.5;
}

.modal-mensaje {
    text-align: center;
    margin: 10px 0;
    font-size: 1.1em;
    color: var(--color-texto-claro);
    line-height: 1.4;
    font-weight: 400;
}

.modal-botones {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 2px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1em;
    min-width: 120px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-aceptar {
    background-color: var(--color-victoria);
    color: white;
    box-shadow: 0 3px 15px rgba(40, 167, 69, 0.4);
}

.modal-aceptar:hover {
    background-color: #1e8739;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.5);
}

.modal-cancelar {
    background-color: var(--color-derrota);
    color: white;
    box-shadow: 0 3px 15px rgba(220, 53, 69, 0.4);
}

.modal-cancelar:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.5);
}

/* Responsive */
@media (max-width: 480px) {
    .modal-contenido {
        max-width: 95%;
    }
    
    .modal-botones {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-btn {
        width: 100%;
    }
    
    .detalle-item {
        flex-direction: column;
    }
    
    .detalle-label {
        margin-bottom: 5px;
    }
}

/* Nuevo estilo para el valor de riesgo (rojo) */
.detalle-valor.riesgo {
    color: #dc3545; /* Rojo de Bootstrap */
    font-weight: bold;
}

/* Nuevo estilo para el valor de beneficio (verde) */
.detalle-valor.beneficio {
    color: #28a745; /* Verde de Bootstrap */
    font-weight: bold;
}



/* Nuevo estilo para el valor de riesgo (rojo) */
.detalle-valor.riesgo {
    color: #dc3545; /* Rojo de Bootstrap */
    font-weight: bold;
}

/* Nuevo estilo para el valor de beneficio (verde) */
.detalle-valor.beneficio {
    color: #28a745; /* Verde de Bootstrap */
    font-weight: bold;
}




