@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";



	
	
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Evita el scroll general de la página */
	background: #f1f1f1;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
}
	
	
	:root {
    --topbar-height: 64px;
    --sidebar-width: 250px;
    --sidebar-bg: #343f4b;
    --sidebar-active: #495867;
    --topbar-bg: #ffffff;
    --page-bg: #f5f7fa;
    --text-color: #263238;
}

/* Evitar scroll duplicado en toda la página */
html, body {
    height: 100%;
    margin: 0;
}

body {
    overflow: hidden;
    background: var(--page-bg);
    color: var(--text-color);
}

/* Barra superior fija */
.app-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--topbar-height);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: var(--topbar-bg);
    border-bottom: 1px solid #e5e9ef;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.brand-area,
.user-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
}

.brand-name {
    font-size: 17px;
    font-weight: 650;
    color: #263238;
    margin: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

/* Menú lateral de escritorio */
.app-sidebar {
    position: fixed;
    top: var(--topbar-height);
    bottom: 0;
    left: 0;
    width: var(--sidebar-width);
    overflow-y: auto;
    background: var(--sidebar-bg);
    padding: 24px 14px;
    z-index: 1030;
}

.sidebar-heading {
    padding: 0 12px;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #aebbc7;
}

.app-sidebar .nav-link,
.mobile-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    margin-bottom: 5px;
    color: #e0e6ed;
    font-size: 14px;
    border-radius: 8px;
    transition: background .18s ease;
}

.app-sidebar .nav-link:hover,
.mobile-sidebar .nav-link:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.app-sidebar .nav-link.active,
.mobile-sidebar .nav-link.active {
    background: var(--sidebar-active);
    color: #fff;
    font-weight: 600;
}

.app-sidebar .nav-link i,
.mobile-sidebar .nav-link i {
    font-size: 18px;
}

/* Área de contenido con scroll independiente */
.app-main {
    position: fixed;
    top: var(--topbar-height);
    left: var(--sidebar-width);
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 28px;
    scrollbar-gutter: stable;
}

.page-title {
    font-size: 24px;
    font-weight: 650;
    margin: 0;
}

.page-subtitle {
    font-size: 13px;
    color: #788491;
    margin-top: 6px;
}

/* Tarjetas de contenido */
.dashboard-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(20,35,50,.025);
    height: 100%;
}

.dashboard-card h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 13px;
    color: #788491;
    margin-bottom: 0;
}

/* Menú móvil */
.mobile-sidebar {
    background: var(--sidebar-bg);
    color: #fff;
}

.mobile-sidebar .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.mobile-sidebar .offcanvas-title {
    font-size: 17px;
    font-weight: 600;
}

.mobile-sidebar .btn-close {
    filter: invert(1);
}

/* Adaptación para pantallas pequeñas */
@media (max-width: 767.98px) {
    .app-topbar {
        padding: 0 14px;
    }

    .brand-name {
        font-size: 15px;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .user-name,
    .user-chevron {
        display: none;
    }

    .app-sidebar {
        display: none;
    }

    .app-main {
        left: 0;
        padding: 20px 14px;
    }

    .page-title {
        font-size: 21px;
    }

    .dashboard-card {
        padding: 17px;
    }
}


/* ===== MENÚS DESPLEGABLES ===== */

.app-sidebar .menu-toggle,
.mobile-sidebar .menu-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    padding: 11px 13px;
    margin-bottom: 5px;
    color: #e0e6ed;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    transition: background .18s ease, color .18s ease;
}

.app-sidebar .menu-toggle:hover,
.mobile-sidebar .menu-toggle:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.app-sidebar .menu-toggle > i:first-child,
.mobile-sidebar .menu-toggle > i:first-child {
    font-size: 18px;
}

.menu-toggle .menu-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform .2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-arrow {
    transform: rotate(180deg);
}

/* Contenedor del submenú */
.app-sidebar .submenu,
.mobile-sidebar .submenu {
    list-style: none;
    padding: 4px 0 6px 0;
    margin: 0 0 5px 0;
}

/* Opciones secundarias */
.app-sidebar .submenu .nav-link,
.mobile-sidebar .submenu .nav-link {
    position: relative;
    padding: 9px 10px 9px 43px;
    margin-bottom: 3px;
    font-size: 13px;
    color: #c1ccd7;
    border-radius: 7px;
}

/* Indicador visual de submenú */
.app-sidebar .submenu .nav-link::before,
.mobile-sidebar .submenu .nav-link::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8193a5;
    transform: translateY(-50%);
}

.app-sidebar .submenu .nav-link:hover,
.mobile-sidebar .submenu .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.07);
}

.app-sidebar .submenu .nav-link.active,
.mobile-sidebar .submenu .nav-link.active {
    color: #fff;
    background: var(--sidebar-active);
    font-weight: 600;
}

.app-sidebar .submenu .nav-link.active::before,
.mobile-sidebar .submenu .nav-link.active::before {
    background: #fff;
}




.inifin_mapa{
	font-size: 1.3em;
    background:#8ba4bd;
    color: #fff;
    border-radius: 50%;
    padding: 0px 7px;

	
}

.imagen{
	
	width: 35px;
    height: 35px;
    border-radius: 50%;
}


.marco-icon{
	
	background: #e2e2e2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 16px;
	
}

.map-label{
    background: rgba(0,0,0,.60) !important;
    border: none !important;
    color: #fff !important;
    padding: 4px 4px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    box-shadow: none !important;
}

.map-label_verde{
    background: rgba(11,187,10,.60) !important;
    border: none !important;
    color: #fff !important;
    padding: 4px 4px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    box-shadow: none !important;
}

.map-label_rojo{
    background: rgba(217,64,64,.60) !important;
    border: none !important;
    color: #fff !important;
    padding: 4px 4px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    box-shadow: none !important;
}



.leaflet-tooltip{

    opacity:1 !important;

}

.bloque_btn-light{
font-size: 1em;
    background: linear-gradient(180deg, #e1e1e1, #b1b1b1);
    width: 150px;
    height: 125px;
    padding: 27px 0 0 0;
    border-radius: 6px;
    color: #3b3b3b;
    cursor: pointer;
    text-align: center;
}

.bloque_btn-light:hover{
	
    background: linear-gradient(180deg, #e1e1e1, #999);
    
}


.circulo_velocidad{
    font-weight: bold;
	color:#666;
   
}
.pin{
    background: #f7f7f7;
    color: #999;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    padding: 3px;
    font-size: 14px;
    float: right;
    margin: 1px;
    text-align: center;
}

.chatbot_in{
 
  background: linear-gradient(133deg,#9d58df,#6456d7);
    border: 1px solid #fff;
    max-width: 50%;
    height: auto;
    padding: 9px;
    border-radius: 14px;
    margin: 2px;
    font-size: 0.95em;
    color: #fff;
    width: fit-content;
    
}
.chatbot_name{
   font-size: 1em;
    color: #a0c5fd;
}

.foo{
	background: #f00;
}

.margenazul{
	border: 2px solid #0c5eaf !important;
    background: #187ee3 !important;
    color: #fff !important;
}

.seleccionunidadesmapa{
 z-index: 1001;
    position: absolute;
    background: #fff;
    color: #000;
    padding: 7px;
    margin-left: 48px;
    margin-top: 11px;
    width: 33px;
    border-radius: 5px;
    height: 33px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    border: 2px solid #000;
}


.box_confirm{
    display: none;
    position: fixed;
    width: 350px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:#fff;
    color: #000000;
    border-radius: 6px;
    padding: 15px;
    -webkit-box-shadow: 0px 0px 429px 270px rgba(0, 0, 0, 0.53);
    -moz-box-shadow: 0px 0px 429px 270px rgba(0, 0, 0, 0.53);
    box-shadow: 0px 0px 429px 270px rgba(0, 0, 0, 0.53);
    z-index: 10000000000;
	
}




.td_cabecera{
	background: #3c4246;
    color: #fff;
    text-align: center;
    border: 1px solid #707070;
    padding: 5px;
    font-size: 12px;
}
.td_cuerpo{
	background: #fff;
    color: #000;
    text-align: center;
    border: 1px solid #dfdfdf;
    padding: 4px;
    font-size: 12px;
}

.evento-bloqueactive-warning{
	border-bottom: 10px solid #f9b65d !important
}
.evento-bloqueactive-danger{
	border-bottom: 10px solid #c9595d !important
}
.evento-bloqueactive-error{
border-bottom: 10px solid #c9595d !important
   
}
.evento-bloqueactive-info{
border-bottom: 10px solid #9ab9c9 !important	
}
.evento-bloqueactive-success{
border-bottom: 10px solid #56c188 !important
}



.nav_center{
	position: fixed;
    bottom: 5px;
    width: 373px;
    height: 77px;
    background: #212529;
    margin: auto;
    left: 0;
    right: 0;
    border-radius: 10px;
}

.mapalayer{
	width:100%;
	height:93vh;
}



    #talkbubble {
     width: 170px;
    height: 60px;
    background: #dfe3e5;
    position: relative;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    padding: 9px;
		text-align: center;
    }
    #talkbubble:before {
      content: "";
      position: absolute;
      right: 100%;
      top: 17px;
      width: 0;
      height: 0;
      border-top: 13px solid transparent;
      border-right: 26px solid #dfe3e5;
      border-bottom: 13px solid transparent;
    }

.elbarserv{
	    position: absolute;
    width: 15px;
    height: 28px;
    background: #f00;
}

.dothorarios{
	
position: absolute;
    background: #525252;
    padding: 2px;
    color: #fff;
    border-radius: 9px;
    font-size: 0.8em;
    margin-top: 4px;
    width: 100px;
    text-align: center;
    margin-left: -15px;

	
}
.pillnotif{
	background: #ff6464;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    padding: 5px 0;
    color: #fff;
    /* position: absolute; */
    margin-top: -108px;
    margin-left: -6px;
    border: 3px solid #fff;
}

.animacion2{
	transition: all 1s linear;
	animation-duration: 1s;
  	animation-name: slidein2;
  	animation-iteration-count: infinite;
}

@keyframes slidein2 {
   50%{opacity: 0.4 }
}


.animacion:hover{
	background: #000;
}


.bloque5{
   background: #565656;
    border-radius: 4px;
    color: rgb(255,255,255,0.7);
    padding: 10px;
    height: 96px;
    min-width: 100px;
    font-size: 0.8em;
    max-width: 180px;
    
    -webkit-box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.20);
    box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 20%)
    
    
    
}


.circulo_alerta{
	
	font-size: 1.5em;
    background: #e58080;
    border-radius: 50%;
    padding: 1px 8px;
    color: #fff;
  
}

.bloque5-light{
    background: #efefef;
    border-radius: 8px;
    color: rgb(0 0 0 / 70%);
    padding: 10px;
    font-size: 0.8em;
    margin: 4px;
    width: 100%;
    -webkit-box-shadow: 0px 0px 30px 0px rgb(50 50 50 / 20%);
    -moz-box-shadow: 0px 0px 30px 0px rgb(50 50 50 / 20%);
    box-shadow: 0px 0px 30px 0px rgb(50 50 50 / 20%);
    
}

.bloque5-light-options{
    border-radius: 4px;
    color: rgb(0 0 0 / 70%);
    padding: 10px;
    height: 96px;
    min-width: 100px;
    font-size: 0.8em;
    max-width: 180px;
    border: 1px solid #cbcbcb;
    cursor: pointer;
}
.bloque5-light-options:hover{
background: #dee3e8;
}


.bar_padre{

width: 100%;
height: 25px;	
background:linear-gradient( 0 ,#d3d3d3,#c1c1c1);	
border-radius: 3px;	
}
.bar_hijo{

width: 0%;
    height: 25px;
    background: linear-gradient( 0 ,#000000,#6e6e6e);
	border-radius: 3px;
	
}
	

.etiquetain{
	font-size: 0.8em;
    color: #666;
    width: auto;
    border-radius: 6px;
    padding: 1px 4px ;
	float:left;
	margin:1px;
		border:1px solid #818181;
}

.etiqueta{
font-size: 0.8em;
    background: #000;
    color: #fff;
    width: auto;
    border-radius: 6px;
    padding: 2px 5px;
}

.TooltipClass{
	
	background: #fff;
	color: #06c;
	font-size: 1.5em;
	font-weight: bold;
	border: 1px solid #fff;
	border-radius: 4px
		
	
}

.sombra1{
 -webkit-box-shadow: 0px 0px 18px -9px rgb(0 0 0 / 64%);
    -moz-box-shadow: 0px 0px 18px -9px rgba(0,0,0,0.64);
    box-shadow: 0px 0px 18px -9px rgb(0 0 0 / 64%)
}




.bloque2{
	background: #fff;
    border-radius: 10px;
    
 
    
}
.bloque_titulo{
	
	border-bottom: 2px solid #f0f1f1;
    padding:15px;
    font-size: 17px;
    color: #000;

}
.bloque_tipo_auto{
	background: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
}

.bloque_tipo_auto:hover{
	background: #f1f1f1;
}

.bloque_tipo_auto_active{
	border: 4px solid #0d6efd;
  
}

.lbltxt{
	font-size: 12px;
    color: #878787;
}
.lbl2{
font-size: 12px;	
}
.bloque3{
	border-bottom: 1px solid #d9d9d9;
    padding: 0.8em 0em;
}
.bloque4{
	border-top: 1px solid #d9d9d9;
    padding: 0.5em;
}
.bloque3-seleccion{
	cursor: pointer;
}
.bloque3-seleccion:hover{
	background: #e8ebef;
}
.divider:after,
.divider:before {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
}
.h-custom {
  height: calc(100% - 73px);
}
@media (max-width: 450px) {
  .h-custom {
    height: 100%;
  }
}

.titulo{
	font-size:1.5em;font-weight:bold
}

.titulo_xxl{
	font-size:2.5em;font-weight:bold
}





.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: -23px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}


