.adpn_modal_content,
.adpn_modal_content1 {
  background-color: #fff;
  max-width: 1000px;
  max-height: 80%;
  height: auto;
  left: 50%;
  top: 50%;
  position: absolute;
  box-shadow: 0px 0px 5px 0 #ddd;
  width: 100%;
  transform: translate(-50%, -50%);
}

.adpn_modal_botton {
  padding: 0 15px 0 15px;
}

.dataTable .material-symbols-outlined {
  cursor: pointer;
}
.file-field {
  box-sizing: initial;
}

/* DASHBOARD */

.card-stats-title-dash {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  font-size: 22px;
  margin: 0;
}

.card-stats-title-dash-grafica-harina{
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.card-stats-title-dash-grafica-harina > span{
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.card-stats-title-dash-grafica-harina{
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.card-stats-title-dash-grafica-harina > span{
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.datos_silo table tr{
  border-bottom: none;
}

.datos_silo table td {
  padding: 0;
}

.datos_silo .barra_uso {
  width: 100%;
  height: 10px;
  background-color: #c5c5c5;
  border-radius: 0px;
  margin-top: 10px;
}

.datos_silo .nombre_silo {
  font-size: 18px;
}

.datos_silo .barra_uso_actual {
  height: 100%;
  background-color: #4ccc50;
  border-radius: 0px;
}

.datos_silo .barra_uso_porcentaje {
  display: flex;
  align-items: center;
  gap: 12px;
}

.datos_silo .porcentaje {
  min-width: 80px;
  text-align: right;
}

/* Submenu Hierarchy */
ul.sub-menu {
  /* background-color: rgba(0, 0, 0, 0.03); Removed to avoid gray box */
  display: none; /* Hidden by default for collapsible behavior */
}

ul.sub-menu.open {
  display: block;
}

ul.sub-menu li {
  padding-left: 45px !important;
  font-size: 0.95em;
  border-left: 4px solid transparent;
  justify-content: flex-start; /* Ensure items align to start */
}

ul.sub-menu li a:hover,
ul.sub-menu li.current-menu-item > a {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Arrow indicator for collapsible menu */
li.menu-item-has-children > a {
  position: relative;
  display: flex;
  align-items: center;
  /* justify-content: space-between; Removed to keep icon and text together */
}

li.menu-item-has-children > a::after {
  content: 'expand_more';
  font-family: 'Material Symbols Outlined';
  font-size: 20px;
  transition: transform 0.3s;
  margin-left: auto; /* Push arrow to the right */
  margin-right: 10px;
}

li.menu-item-has-children.active > a::after {
  transform: rotate(180deg);
}

.sidenav li a > i {
  width: unset;
}
