/* Zoom general del sistema al 90% */
html {
  zoom: 90%;
}

.napport {
  display: block;
  width: 23px;
  text-align: center;
  float: left;
  margin-right: 4px;
  border-radius: 4px;
  background: #02b997;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  height: 22px;
  line-height: 22px;
  margin-bottom: 3px;
}

.napport.red {
  background: #f44336;
  color: #fff !important;
}

.wsp_contacts {
  height: 700px;
  overflow: auto;
}

.wsp_content {
  max-width: 100% !important;
  height: 40px;
  border: 0px;
}

.wsp_content:focus {
  border: none;
  outline: none;
}

.wsp_control {
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  justify-content: space-between;
  padding: 0 !important;
}

.wsp_control_file {
  border-top: 1px solid #cfd8dc;
  margin-bottom: 0px;
  background-color: #eceff1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.wsp_control_send {
  border: 0px;
  background: #00695c;
  color: #fff;
  width: 60px;
  height: 100%;
}

#text-result2 {
  color: green;
  font-weight: bold;
}
#text-result3 {
  color: violet;
  font-weight: bold;
}
#text-deuda {
  color: red;
  font-weight: bold;
}
#text-result4 {
  color: orange;
  font-weight: bold;
}
  .resultados-container {
    display: flex;
    gap: 100px; 
  }
  @media (max-width: 767px) {
    .resultados-container {
      gap: 10px; 
    }
  }

.imagen-wsp {
  width: 50px;
}

/* Fix: Ocultar sidebar-bg cuando el sidebar no está activo en modo responsive/zoom */
@media (max-width: 991px) {
  .sidebar-bg {
    display: none !important;
  }
  #sidebar.show ~ .sidebar-bg {
    display: block !important;
  }
}

/* Fix: Modal backdrop para cubrir toda la pantalla con zoom */
.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  transform: scale(1.12); /* Compensar el zoom del 90% (1/0.9 ≈ 1.11) */
  transform-origin: top left;
}

.modal-backdrop.show {
  opacity: 0.5;
}
/* Fix: Bootstrap Datetimepicker icons without Glyphicons dependency */
.bootstrap-datetimepicker-widget .glyphicon {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0 !important;
  line-height: 1 !important;
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  color: inherit;
}
.bootstrap-datetimepicker-widget .glyphicon::before {
  content: "" !important;
  display: inline-block;
  box-sizing: border-box;
}
.bootstrap-datetimepicker-widget .glyphicon-chevron-left::before {
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
  margin: 3px 0 0 4px;
}
.bootstrap-datetimepicker-widget .glyphicon-chevron-right::before {
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  margin: 3px 0 0 1px;
}
.bootstrap-datetimepicker-widget .glyphicon-chevron-up::before {
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 2px 0 0 2px;
  transform: rotate(45deg);
  margin: 5px 0 0 3px;
}
.bootstrap-datetimepicker-widget .glyphicon-chevron-down::before {
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin: 1px 0 0 3px;
}
.bootstrap-datetimepicker-widget .glyphicon-calendar::before {
  width: 14px;
  height: 13px;
  border: 2px solid currentColor;
  border-top-width: 4px;
  border-radius: 2px;
  margin-top: 1px;
}
.bootstrap-datetimepicker-widget .glyphicon-time::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.bootstrap-datetimepicker-widget table th.prev,
.bootstrap-datetimepicker-widget table th.next {
  color: #334155;
}
.bootstrap-datetimepicker-widget table th.prev:hover,
.bootstrap-datetimepicker-widget table th.next:hover {
  color: #0f766e;
}
/* End fix datetimepicker icons */
