@media (min-width: 1100px) {
  .muiltr-1h0hyz5-sidebar,
  .muiltr-1h0hyz5-sidebar > .muiltr-15y2w92-footer,
  .muiltr-1h0hyz5-sidebar > .muiltr-15y2w92-footer > .MuiPaper-root {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    box-sizing: border-box !important;
  }

  #nuvy-menu {
    width: 250px !important;
  }
}


/* NUVYTRAX - Posición estable de Flota GPS */
@media (min-width: 1100px) {
  #nuvy-panel-derecho {
    position: fixed !important;
    right: 12px !important;
    left: auto !important;
    width: 265px !important;
    max-width: 265px !important;
    box-sizing: border-box !important;
  }
}

/* NUVYTRAX - Paneles laterales simétricos */
@media (min-width: 1100px) {
  #nuvy-panel-derecho {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    right: 12px !important;
    left: auto !important;
  }
}

/* NUVYTRAX - Área central simétrica */
@media (min-width: 1100px) {
  :root {
    --nuvy-main-left: 304px !important;
    --nuvy-main-right: 304px !important;
  }

  .maplibregl-map {
    left: 304px !important;
    right: 304px !important;
    width: auto !important;
  }

  body > #nuvytrax-panel-gps,
  #nuvy-detalle-vehiculo {
    left: 304px !important;
    right: 304px !important;
    width: auto !important;
  }
}

/* NUVYTRAX - Información del vehículo alineada con el mapa */
@media (min-width: 1100px) {
  #nuvy-detalle-vehiculo {
    left: 304px !important;
    right: 304px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
}

/* NUVYTRAX - Ancho del reloj igual a las tarjetas */
@media (min-width: 1100px) {
  .nuvy-reloj-hora {
    width: 209px !important;
    box-sizing: border-box !important;
  }
}

/* NUVYTRAX - Reloj del mismo tamaño que las tarjetas */
@media (min-width: 1100px) {
  .nuvy-reloj-hora {
    width: 209px !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
}

/* NUVYTRAX - Dimensiones correctas del reloj */
@media (min-width: 1100px) {
  #nuvy-reloj {
    width: 209px !important;
    height: 90px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #nuvy-reloj .nuvy-reloj-hora {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    text-align: center !important;
  }
}

/* NUVYTRAX - Reloj alineado con Flota GPS */
@media (min-width: 1100px) {
  #nuvy-reloj {
    position: fixed !important;
    top: 16px !important;
    right: 12px !important;
    left: auto !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    height: 90px !important;
    box-sizing: border-box !important;
  }

  #nuvy-reloj .nuvy-reloj-hora {
    width: 100% !important;
    height: auto !important;
  }
}

/* NUVYTRAX - Reloj alineado con las tarjetas superiores */
@media (min-width: 1100px) {
  #nuvy-reloj {
    top: 16px !important;
  }
}

/* NUVYTRAX - Alineación superior del reloj */
@media (min-width: 1100px) {
  #nuvy-reloj {
    top: 16px !important;
    bottom: auto !important;
    transform: none !important;
  }
}

/* NUVYTRAX - Reloj sin icono, hora grande */
@media (min-width: 1100px) {
  #nuvy-reloj {
    padding: 5px 10px !important;
    gap: 0 !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  #nuvy-reloj .nuvy-reloj-hora {
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    margin: 0 !important;
  }

  #nuvy-reloj > div:not(.nuvy-reloj-hora) {
    margin-top: 0 !important;
  }

  #nuvy-reloj svg {
    display: none !important;
  }
}

/* NUVYTRAX - Subir ligeramente la fecha */
@media (min-width: 1100px) {
  #nuvy-reloj .nuvy-reloj-fecha {
    position: relative !important;
    top: -5px !important;
  }
}

/* NUVYTRAX - Tamaño definitivo de la fecha */
@media (min-width: 1100px) {
  #nuvy-reloj .nuvy-reloj-fecha {
    font-size: 13px !important;
  }
}

/* NUVYTRAX - Flota GPS alineada con el mapa */
@media (min-width: 1100px) {
  #nuvy-panel-derecho {
    top: 118px !important;
  }
}

/* NUVYTRAX - Panel izquierdo con acabado luminoso */
@media (min-width: 1100px) {
  .muiltr-1h0hyz5-sidebar {
    background: rgb(7, 20, 38) !important;
    border: 1px solid rgb(0, 217, 255) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2) !important;
    box-sizing: border-box !important;
  }
}

/* NUVYTRAX - Esquinas redondeadas del panel izquierdo */
@media (min-width: 1100px) {
  .muiltr-1h0hyz5-sidebar {
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .muiltr-1h0hyz5-sidebar > .muiltr-15y2w92-footer,
  .muiltr-1h0hyz5-sidebar > .muiltr-15y2w92-footer > .MuiPaper-root {
    border-radius: 12px !important;
  }
}

/* NUVYTRAX - Fondo general azul marino */
@media (min-width: 1100px) {
  html,
  body,
  #root {
    background-color: #071426 !important;
  }

  .muiltr-1h0hyz5-sidebar {
    background-color: #071426 !important;
  }
}

/* NUVYTRAX - Escala del mapa abajo a la izquierda */
@media (min-width: 1100px) {
  .maplibregl-ctrl-bottom-left {
    bottom: 0 !important;
    left: 0 !important;
  }

  .maplibregl-ctrl-bottom-left .maplibregl-ctrl-scale {
    margin: 0 0 8px 10px !important;
  }
}




/* NUVYTRAX - Centrado exclusivo del mapa de Geo-Zonas */
@media (min-width: 1100px) {
  body:has(.muiltr-1t1r4al-mapContainer) .muiltr-1t1r4al-mapContainer .maplibregl-map {
    left: 370px !important;
    right: 302px !important;
    width: auto !important;
  }
}
