﻿/* Estilos para el menú inferior de la aplicación móvil */
.mobile-nav-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #eee;
    padding-bottom: env(safe-area-inset-bottom); /* Para dispositivos con notch */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #888; /* Color gris para elementos inactivos */
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

    .nav-item.active {
        color: #000000; /* Color NEGRO para el elemento activo */
    }

    .nav-item:hover, .nav-item:focus {
        color: #000000; /* Negro al hacer hover */
        background-color: rgba(0, 0, 0, 0.05);
    }

    .nav-item i {
        font-size: 1.5rem;
        margin-bottom: 2px;
        color: #888; /* Color gris para iconos inactivos */
    }

.nav-text {
    margin-top: 2px;
    font-weight: 500;
    color: #888; /* Color gris para textos inactivos */
}

/* Asegurarse de que el contenido principal no se oculte detrás del menú */
.main-content {
    padding-bottom: 70px;
}

/* Animación sutil al hacer clic */
.nav-item:active {
    transform: scale(0.95);
}

/* Estilo para el botón activo - NEGRO */
.nav-item.active i,
.nav-item.active .nav-text {
    color: #000000; /* NEGRO para elementos activos */
}

/* Responsive adjustments */
@media (max-width: 320px) {
    .nav-item i {
        font-size: 1.25rem;
    }

    .nav-text {
        font-size: 0.7rem;
    }
}
