/* Fondo negro total */
body {
    background-color: black !important;
    color: white;
}

/* Navbar con efecto neón */
.navbar-custom {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid cyan;
    border-radius: 10px;
    box-shadow: 0 0 10px cyan, 0 0 20px cyan inset;
    align-self: center;
}

/* Botones del navbar */
.navbar-custom .nav-link {
    color: white;
    border: 2px solid cyan;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}

.navbar-custom .nav-link:hover {
    background-color: cyan;
    color: black;
    box-shadow: 0px 0px 15px cyan;
    transform: scale(1.1);
}

/* Menú hamburguesa */
.navbar-toggler {
    border-color: cyan;
    box-shadow: 0px 0px 5px cyan;
}

/* Imágenes en los botones */
.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.nav-link img.hover {
    display: none;
}

.nav-link:hover img.normal {
    display: none;
}

.nav-link:hover img.hover {
    display: inline;
}

/* Indicadores */
.indicator-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Habilita el desplazamiento suave en iOS */
    padding: 10px 0;
    margin-bottom: 15px;
    justify-content: center;
}

.indicator {
    display: inline-block;
    text-align: center;
    margin-right: 40px;
}

/* Círculos con borde neón */
.circle-indicator {
    width: 100px;
    height: 100px;
    border: 4px solid cyan;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px cyan;
    box-shadow: 0 0 15px cyan;
    margin-bottom: 10px;
    position: relative;
}

/* Texto debajo del indicador */
.circle-label {
    font-size: 1rem;
    color: white;
}

.circle-indicator::before {
    content: "";
    width: 120%;
    position: absolute;
    height: 120%;
    border-radius: 50%;
    box-shadow: 0px 0px 20px cyan;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0px 0px 10px cyan;
    }
    to {
        box-shadow: 0px 0px 20px cyan;
    }
}
/* Contenedor del gráfico y la tarjeta del mapa */
.chart-container, .stat-card {
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Bordes neón */
.chart-container, .stat-card, #map {
    border: 3px solid cyan;
    border-radius: 10px;
    box-shadow: 0 0 10px cyan, 0 0 20px cyan inset;
}

/* Mapa */
#map {
    width: 100%;
    height: 500px;
}

/* Mapa en móviles con proporción 4:3 */
@media (max-width: 768px) {
    #map {
        height: calc(100vw * 0.75);
    }

    .chart-container,
    .stat-card {
        width: 100%;
        height: auto; /* El alto será el que ocupe en la vista móvil */
    }
}

/* En pantallas grandes, gráfico y mapa ocupan el 50% cada uno */
@media (min-width: 769px) {
    .row.mt-4 {
        display: flex;
        justify-content: center; /* Centrado de los contenedores */
        gap: 10px; /* Separación entre los contenedores */
    }

    .chart-container,
    .stat-card {
        width: auto;
        height: 550px; /* Altura total para ambos contenedores */
    }

    /* Ajuste de la altura del mapa */
    #map {
        height: 470px; /* El mapa ocupa 500px de altura */
    }
}

/* Estilos para las tablas */
.table-dark {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid cyan;
    box-shadow: 0 0 10px cyan;
}

.table-neon th {
    background-color: black;
    color: cyan;
    text-shadow: 0 0 5px cyan;
    border-bottom: 2px solid cyan;
}

/* Bordes de celdas */
.table-dark td, .table-dark th {
    border: 1px solid cyan;
}

/* Efecto hover en las filas */
.table-hover tbody tr:hover {
    background-color: rgba(0, 255, 255, 0.2);
}

/* Responsividad: Asegura que la tabla se vea bien en móviles */
.table-responsive {
    overflow-x: auto;
}

/* Enlaces con efecto neón */
.link-neon {
    color: cyan;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 5px cyan;
}

.link-neon:hover {
    color: white;
    text-shadow: 0 0 10px cyan;
}

/* Letras como botones neón */
.letter-buttons-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 0;
    display: flex;
    justify-content: center;
}

.letter-buttons {
    display: flex;
    gap: 8px;
}

.neon-letter {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: black;
    background: cyan;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.btn-neon-google {
    color: white;
    border: 2px solid cyan;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    padding: 10px 20px;
}

.btn-neon-google:hover {
    background-color: cyan;
    color: black;
    box-shadow: 0px 0px 15px cyan;
    transform: scale(1.1);
}

.login-card {
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid cyan;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 0 15px cyan, 0 0 30px cyan inset;
    max-width: 500px;
    width: 100%;
}


/* SECCION PARA ELEMENTO TIMELINE */

.timeline-wrapper {
    height: 80px;
    position: relative;
    overflow-x: auto;
    padding: 40px 20px;
    border: 2px solid #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 15px #00f0ff;
    white-space: nowrap;
}

.timeline-line {
    position: absolute;
    top: 45px;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #00f0ff;
    z-index: 1;
}

.timeline-item {
    display: inline-block;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f0ff;
    margin-bottom: 8px;
}

.timeline-label {
    font-size: 12px;
    color: #ffffffcc;
    margin-top: 8px;
    white-space: nowrap;
}
