/* --- CONTENEDORES --- */

.content-wrapper, .right-side {
  background-color: white !important;
  margin-top: -10px !important;
  padding: 0 0;
  max-width: 100% !important;
}

@media (max-width: 992px) {
  .header-title-right {
    display: none;
  }
   
  .logo-container {
    max-height: 50px !important;
  }
  
  .custom-toggle {
    display: flex !important;
	z-index: 1051 !important;
  }
  
  .content-wrapper, .right-side {
    padding: 0 5px !important;
    margin-left: 0 !important;
  }

  .btn-bar {
    justify-content: center;
  }

  .btn-wrapper {
    flex: 1 1 100%;
  }

  .btn-custom {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-title-right {
    display: none;
  }
  
  .logo-container {
    display: none;
  }
  
  .custom-toggle {
    display: flex !important;
	z-index: 1051 !important;
  }
  
  .content-wrapper, .right-side {
    padding: 0 5px !important;
    margin-left: 0 !important;
  }

  .btn-bar {
    justify-content: center;
  }

  .btn-wrapper {
    flex: 1 1 100%;
  }

  .btn-custom {
    width: 100%;
  }
}

/* --- HEADER --- */

.main-header {
  height: 90px !important;
  max-height: 90px !important;
  background-color: #024A61 !important;
  border-bottom: 1px solid #024A61 !important;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: visible;
}

/* Logo centrado y pegado a la izquierda */
.main-header .logo {
  height: 70px !important;
  display: flex;
  align-items: center;
  background-color: #024A61 !important;
  padding: 0 0 0 10px;
  margin: 0;
}

.logo-container {
  max-height: 70px;
  width: auto;
}

.logo-container img {
  max-height: 70px;
  width: auto;
}

.main-sidebar .sidebar {
  padding-top: 30px !important;
}

/* Botón hamburguesa pegado al logo (como parte del bloque) */
.sidebar-toggle {
  height: 90px !important;
  width: 40px;
  background-color: #024A61 !important;
  color: white !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  margin: 0 !important;
  border-left: 1px solid #024A61;
}

/* Estilo para el contenedor del logo + botón */
.header-wrapper {
  display: flex;
  align-items: center;
  padding-left: 0px;  /* Ajusta este valor para mover todo a la derecha */
  height: 90px;
  z-index: 1050 !important;
}

.custom-toggle {
  height: 90px;
  width: 40px;
  background-color: #024A61;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-left: 1px solid #024A61;
  cursor: pointer;
  z-index: 1051 !important;
}

.custom-toggle i {
  font-size: 20px;
  color: white;
}

.header-title-right {
  position: absolute;
  left: 58%;
  transform: translateX(-50%);
  color: white;
  font-size: 26px;
  font-weight: bold;
}


/* Eliminar empuje del botón hacia la derecha */
.navbar {
  min-height: 0px !important;
  background-color: white !important;
  margin-left: 0 !important;
}

/* --- SIDEBAR --- */

.skin-blue .main-sidebar {
  background-color: #024A61 !important;
}

.skin-blue .wrapper {
  background-color: white !important;
}

/* --- BOTONES --- */

.sin-borde {
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.btn-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 0 10px 10px 10px;
  margin-top: 0px; /* Espacio eliminado */
}

.btn-custom {
  width: 100%;
  background-color: #f5f5f5 !important;
  color: #024A61 !important;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn-wrapper {
  flex: 1 1 0;
}

.btn-custom:hover {
  background-color: #003742 !important;
  color: white !important;
}

.btn-selected {
  background-color: #024A61 !important;
  color: white !important;
}

/* --- FOOTER --- */

footer {
  text-align: center;
  font-size: 12px;
  color: gray;
  padding: 10px;
}

/* --- BOXES --- */

.box-tipo .box-header {
  background-color: #024A61 !important;
  color: white !important;
  border-bottom: none !important;
}

.box-tipo .box {
  border: 1px solid #024A61 !important;
}

.custom-absolute-panel {
  z-index: 1050 !important;
  position: absolute !important;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: space-between;
}

.custom-absolute-panel:hover {
  opacity: 1;
}

.leaflet-container {
  overflow: hidden;
}

.custom-select .selectize-input {
  font-size: 12px !important;
  font-weight: bold;
}

.custom-select label {
  font-size: 12px !important;
  font-weight: bold;
  color: #00495f;
}

.filter-container {
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  font-size: 12px !important;
}

.plot-container {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
  width: 100%;
  gap: 10px;
}

.plot-container .plotly {
  max-width: 100% !important;
  width: 100% !important;
  text-align: left;
}

.irs-grid-text {
  transform: rotate(-90deg);
  transform-origin: center;
  font-size: 10px;
  white-space: nowrap;
}

