/* _content/BackEnd/Pages/MapaCamiones.razor.rz.scp.css */
.mapa-container[b-w5lskppkpx] {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.mapa-full[b-w5lskppkpx] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-overlay[b-w5lskppkpx] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.toolbar[b-w5lskppkpx] {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    gap: 15px;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.info-ruta[b-w5lskppkpx] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.instrucciones-panel[b-w5lskppkpx] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    max-height: 80px;
}

.instrucciones-panel.show[b-w5lskppkpx] {
    max-height: 50vh;
}

.toggle-instrucciones[b-w5lskppkpx] {
    width: 100%;
    padding: 15px;
    border: none;
    background: transparent;
    font-weight: 500;
    text-align: left;
}

.lista-instrucciones[b-w5lskppkpx] {
    padding: 10px 20px 20px 20px;
    max-height: calc(50vh - 80px);
    overflow-y: auto;
}

.instruccion-item[b-w5lskppkpx] {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.instruccion-item:last-child[b-w5lskppkpx] {
    border-bottom: none;
}

.numero-paso[b-w5lskppkpx] {
    background: #0d6efd;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.texto-paso[b-w5lskppkpx] {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .toolbar[b-w5lskppkpx] {
        flex-direction: column;
        align-items: stretch;
    }
    
    .info-ruta[b-w5lskppkpx] {
        justify-content: center;
    }
}
/* _content/BackEnd/Shared/MainLayout.razor.rz.scp.css */
.page[b-nyn8wpdyxv] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-nyn8wpdyxv] {
    flex: 1;
}

.sidebar[b-nyn8wpdyxv] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-nyn8wpdyxv] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-nyn8wpdyxv]  a, .top-row .btn-link[b-nyn8wpdyxv] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-nyn8wpdyxv] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .page[b-nyn8wpdyxv] {
        display: block;
    }

    .sidebar[b-nyn8wpdyxv] {
        width: 100%;
        height: auto;
        position: static;
    }

    main[b-nyn8wpdyxv] {
        width: 100%;
        padding-top: 0;
    }

    article[b-nyn8wpdyxv] {
        padding-top: 0.5rem;
    }
}

@media (min-width: 641px) {
    .page[b-nyn8wpdyxv] {
        flex-direction: row;
    }

    .sidebar[b-nyn8wpdyxv] {
        width: 280px;
        min-width: 220px;
        max-width: 320px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .top-row[b-nyn8wpdyxv] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-nyn8wpdyxv], article[b-nyn8wpdyxv] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/BackEnd/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-gp5j5xbo2e] {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-toggler:hover[b-gp5j5xbo2e] {
    background-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus[b-gp5j5xbo2e] {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

.top-row[b-gp5j5xbo2e] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-gp5j5xbo2e] {
    font-size: 1.1rem;
}

.oi[b-gp5j5xbo2e] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-gp5j5xbo2e] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-gp5j5xbo2e] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-gp5j5xbo2e] {
        padding-bottom: 1rem;
    }

    .nav-item[b-gp5j5xbo2e]  a {
        color: #d7d7d7;
        border-radius: 4px;
        min-height: 3rem;
        height: auto;
        display: flex;
        align-items: center;
        line-height: 1.4;
        text-decoration: none;
        padding: 0.5rem 1rem;
        word-wrap: break-word;
        white-space: normal;
    }

    .nav-item[b-gp5j5xbo2e]  a .oi,
    .nav-item[b-gp5j5xbo2e]  a span.oi {
        flex-shrink: 0;
        margin-right: 0.5rem;
    }

.nav-item[b-gp5j5xbo2e]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-gp5j5xbo2e]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Backdrop para cerrar menú */
.menu-backdrop[b-gp5j5xbo2e] {
    display: none;
}

/* Móvil y Tablet */
@media (max-width: 991px) {
    .navbar-toggler[b-gp5j5xbo2e] {
        display: block !important;
        position: relative;
        z-index: 100;
    }

    .top-row[b-gp5j5xbo2e] {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 99;
        background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%) !important;
    }

    .menu-backdrop[b-gp5j5xbo2e] {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 98;
        cursor: pointer;
    }
    
    .nav-scrollable[b-gp5j5xbo2e] {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 320px;
        height: 100%;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 101;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
        padding-top: 3.5rem;
        padding-bottom: 4rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.3) transparent;
    }
    
    .nav-scrollable[b-gp5j5xbo2e]::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-scrollable[b-gp5j5xbo2e]::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-scrollable[b-gp5j5xbo2e]::-webkit-scrollbar-thumb {
        background-color: rgba(255,255,255,0.3);
        border-radius: 3px;
    }
    
    .collapse[b-gp5j5xbo2e] {
        transform: translateX(-100%);
    }
    
    .collapse:not(.show)[b-gp5j5xbo2e] {
        display: block !important;
    }
    
    /* Menú visible */
    .nav-scrollable:not(.collapse)[b-gp5j5xbo2e] {
        transform: translateX(0);
    }
}

/* Solo Desktop */
@media (min-width: 992px) {
    /* Ya no ocultamos el toggler por CSS, lo controla Blazor */
    
    .menu-backdrop[b-gp5j5xbo2e] {
        display: none !important;
    }

    .collapse[b-gp5j5xbo2e] {
        display: block;
    }
    
    .nav-scrollable[b-gp5j5xbo2e] {
        height: 100%;
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 2rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.3) transparent;
    }
    
    .nav-scrollable[b-gp5j5xbo2e]::-webkit-scrollbar {
        width: 8px;
    }
    
    .nav-scrollable[b-gp5j5xbo2e]::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-scrollable[b-gp5j5xbo2e]::-webkit-scrollbar-thumb {
        background-color: rgba(255,255,255,0.3);
        border-radius: 4px;
    }
    
    .nav-scrollable[b-gp5j5xbo2e]::-webkit-scrollbar-thumb:hover {
        background-color: rgba(255,255,255,0.5);
    }
}
