/* ============================================
   NAVEGACIÓN Y MENÚ - BOTTOM NAVIGATION
   ============================================ */

/* Navegación principal - Fija abajo tipo Mercado Pago */
.main-nav {
    background: white;
    color: #666;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-top: 1px solid #e0e0e0;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Ocultar elementos que no se usan en bottom nav */
.nav-header,
.nav-toggle,
.nav-user-info {
    display: none;
}

/* Menú de navegación - Bottom Navigation Style */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}

.nav-item {
    flex: 1;
    max-width: 120px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px 6px;
    text-decoration: none;
    color: #999;
    transition: all 0.2s ease;
    gap: 4px;
    border-bottom: 3px solid transparent;
    height: 100%;
    min-height: 56px;
}

.nav-link:hover {
    color: #2ba1d7;
    background-color: rgba(43, 161, 215, 0.05);
}

.nav-item.active .nav-link {
    color: #2ba1d7;
    border-bottom-color: #2ba1d7;
}

.nav-icon {
    font-size: 22px;
    display: block;
    line-height: 1;
}

.nav-text {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.nav-logout .nav-link {
    color: #999;
}

.nav-logout .nav-link:hover {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

/* Ajuste del contenido principal - Espacio para bottom nav */
main.with-nav {
    padding-bottom: 70px; /* Espacio para el menú fijo inferior */
}

body {
    padding-bottom: 0;
}

/* Breadcrumb */
#breadcrumbContainer {
    background-color: #f8f9fa;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: #2ba1d7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover {
    color: #2391c3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #999;
    font-size: 14px;
    user-select: none;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .nav-item {
        max-width: none;
    }

    .nav-text {
        font-size: 10px;
    }

    .nav-icon {
        font-size: 20px;
    }

    .nav-link {
        padding: 6px 2px 4px;
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    #breadcrumbContainer {
        padding: 10px 15px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .nav-text {
        font-size: 9px;
    }

    .nav-icon {
        font-size: 18px;
    }
}
