@charset "UTF-8";
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  border: none;
  border-radius: 8px !important;
  background-clip: border-box;
  word-wrap: break-word;
}

.card-body {
  width: 100%;
  border-radius: 8px !important;
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-widget .card-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: auto;
  max-height: 100%;
  max-width: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer / Edge Legacy */
  -webkit-overflow-scrolling: touch; /* scroll suave en iOS */
}

.card-widget .card-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome, Safari, Opera */
}

.widget-header {
  padding: 10px;
  border: 0;
  background-color: white;
  min-height: 48px;
}

.title_widget {
  font-weight: 600;
  font-size: 1rem;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card_shadow {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.card-body-tabs {
  padding: 0 !important;
}

.card-header {
  padding: 0.75rem 0.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 0px solid rgba(0, 0, 0, 0.125);
  padding-right: 0px;
  box-shadow: 5px;
  border-radius: 8px;
}

.card-header:first-child {
  border-radius: 8px 8px 0px 0px;
}

.column-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 5px;
}

.row-table-fix {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 1px !important;
  padding-right: 0 !important;
}

.padding_card_icon_battery {
  width: 50px;
  height: 50px;
  gap: 8px;
  align-items: center;
  display: flex;
  padding-right: 20px;
}

.padding_card_icon {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row_nesgate_info {
  padding-left: 14px;
  padding-bottom: 20px;
}

.card_nesgate_info,
.map_nesgate_info {
  background: #ffffff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 8px !important;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 400px;
  padding: 1rem;
  box-sizing: border-box;
  margin-top: 5px;
}

.card-counter {
  position: relative;
  box-shadow: 2px 2px 10px #dadada;
  margin: 5px;
  padding: 20px 10px;
  background-color: #ffffff;
  height: 150px;
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

.card-counter:hover {
  box-shadow: 5px 5px 20px rgba(131, 128, 128, 0.6);
}

.card-counter.primary {
  background-color: #007bff;
  color: #ffffff;
}

.card-counter.danger {
  background-color: #ea5658;
  color: #ffffff;
}

.card-counter.success {
  background-color: #74ca80;
  color: #ffffff;
}

.card-counter.info {
  background-color: #00B9E4;
  color: #ffffff;
}

.card-counter i {
  font-size: 5em;
  opacity: 0.2;
}

.card-counter .count-numbers,
.card-counter .count-networks,
.card-counter .count-nameModel,
.card-counter .count-name,
.card-counter .count-device {
  position: absolute;
  right: 35px;
  display: block;
}

.card-counter .count-numbers {
  top: 20px;
  font-size: 28px;
}

.card-counter .count-networks {
  top: 20px;
  font-size: 14px;
}

.card-counter .count-nameModel {
  top: 65px;
  font-size: 18px;
  font-style: italic;
  text-transform: capitalize;
  opacity: 0.8;
}

.card-counter .count-name {
  top: 95px;
  font-size: 18px;
  font-style: italic;
  text-transform: capitalize;
  opacity: 0.5;
}

.card-counter .count-device {
  top: 125px;
  font-size: 14px;
  font-style: italic;
  text-transform: capitalize;
  opacity: 0.75;
}

.card-counter[selected] {
  border: 4px solid #000000;
  transition: border 0.3s ease;
}

.zones,
.parents {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background-color: #ffffff;
  border: 4px solid #000000;
  width: 90%;
  max-width: 700px;
  min-height: 75px;
  max-height: 350px;
  overflow-y: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.zones[diselect],
.parents[diselect] {
  opacity: 0;
  visibility: hidden;
}

/* Labels e inputs */
#deviceAssigned h1 {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 20px;
}

#deviceAssigned input[type=radio],
#deviceAssigned input[type=checkbox] {
  display: none;
}

#deviceAssigned label {
  display: inline-block;
  padding: 10px;
  width: 90px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
}

#deviceAssigned label:hover,
#deviceAssigned input[type=radio]:checked + label,
#deviceAssigned input[type=checkbox]:checked + label {
  background: #d2d5e2;
  border-radius: 20%;
}

.card-footer {
  background-color: #ffffff !important;
  padding: 0.75rem 1.25rem;
}

/* Espaciado */
.no_right_padding {
  padding-right: 10px !important;
}

.no_left_padding {
  padding-left: 6px !important;
}

.align-card-left {
  padding-left: 1rem;
}

.dropdown_datepicker_sensors,
.smallest_blue_text_nesmote_info {
  font-size: 14px;
  font-weight: 600;
  color: #0D1D69;
  padding-left: 0;
}

.card-group {
  padding-right: 10px;
}

.card-body-tab-nesgates {
  margin-top: 8px;
  padding-left: 10px;
}

#create_actuation_rule_button {
  margin-bottom: 16px;
  display: block;
}

.table-wrapper {
  overflow-x: auto;
  width: 100%;
}

/* Responsive media queries */
@media (max-width: 768px) {
  .card,
  .card_nesgate_info,
  .nesmotes_nesgate_info_card,
  .map_nesgate_info {
    padding: 1rem;
    margin: 1rem 0;
    height: auto;
  }
  .card-counter .count-numbers,
  .card-counter .count-name,
  .card-counter .count-device {
    right: 10px;
    font-size: 16px;
  }
  .card-counter i {
    font-size: 3rem;
  }
  .zones,
  .parents {
    width: 95%;
  }
}
.popup-table {
  font-family: "Inter", sans-serif;
  table-layout: auto !important;
  width: auto;
  border-collapse: collapse;
  font-size: 13px;
}

.leaflet-popup-content {
  max-height: 200px;
  /* ajusta según lo que consideres cómodo */
  overflow-y: auto;
}

/* Opcional: mejora el aspecto del scrollbar */
.leaflet-popup-content::-webkit-scrollbar {
  width: 6px;
}

.popup-table th,
.popup-table td {
  padding: 2px 8px;
  /* reduce el espacio vertical */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  text-overflow: unset;
}

.popup-table th:nth-child(1),
.popup-table td:nth-child(1) {
  width: 30%;
  max-width: 200px;
}

.popup-table td:nth-child(1) a,
.popup-table td:nth-child(1) span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.popup-table th:nth-child(2),
.popup-table td:nth-child(2) {
  width: 60%;
  max-width: 310px;
}

.popup-table td:nth-child(2) a,
.popup-table td:nth-child(2) span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-table th:nth-child(3),
.popup-table td:nth-child(3) {
  width: 10%;
  padding: 1px;
  text-align: left;
}

.dropdown_sensor_configuration_options_text:hover {
  color: rgb(75, 90, 161) !important;
}

.grid-stack > .grid-stack-item > .grid-stack-item-content {
  border-radius: 8px;
  margin: 0;
  position: absolute;
  width: auto;
}

.card-group .card:not(:first-child) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.card-group .card:not(:last-child) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.highcharts-a11y-proxy-button {
  padding-top: 10px;
}

.other_values_graph {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding-left: 13px;
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  display: block;
  text-align: center;
}

.nesmote_name_information {
  cursor: pointer;
  width: 100%;
  border: 0px;
  border-color: #0D1D69 !important;
  border-radius: 8px;
}

.note_network_info {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #0d1d69;
  display: block;
}

.tab-licenses {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.other_values_graph {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row_previous_to_anomalies_row_current {
  width: 100%;
  margin: 0;
  padding: 0;
}
.row_previous_to_anomalies_row_current .title_device_info {
  font-size: 14px;
}

.nesmote-icon {
  height: 40px !important;
  margin-left: -8px;
  justify-content: center;
}

.battery-icon {
  height: 38px !important;
  justify-content: center;
}

.grid-stack,
.grid-stack-item,
.grid-stack-item-content,
.card {
  overflow: visible !important;
}

.card-col-md-12 .card_smaller_margin_bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-clip: border-box;
  border: none !important;
  border-radius: 0.25rem;
}

table.dataTable {
  width: auto;
  table-layout: auto;
  margin: 0 auto;
  border-spacing: 0;
  padding-left: 3px;
  padding-right: 3px;
  white-space: nowrap;
}

/* Asegura ancho al 100% */
#maintenance_provisioning_table {
  width: 100% !important;
}

#acc_ftd_table_wrapper,
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}

#networks_table {
  width: 100% !important;
  min-width: 600px;
}

/*table_body_actuation */
#table_actuation {
  table-layout: auto;
  width: 100%;
  word-break: break-word;
}

#table_actuation td {
  white-space: normal;
  word-break: break-word;
}

#table_actuation th {
  white-space: nowrap;
}

#table_actuation td.table-body-cell:last-child {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

#networks_table {
  width: 100% !important;
  min-width: 600px;
}

.card-maintenances {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px !important;
}

.col-sm-12 {
  width: 100% !important;
  table-layout: auto !important;
  padding-right: 0px;
}

.barra-titulo {
  width: 100%;
  background-color: #ffffff;
  border-radius: 8px 8px 0px 0px;
  justify-content: flex-end;
  gap: 75px;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
  box-sizing: border-box;
}
.barra-titulo .titulo {
  padding: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #030615;
  margin: 10px;
}
.barra-titulo .barra-titulo__derecha {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  margin-left: auto;
  width: auto;
  justify-content: flex-end;
}
.barra-titulo .barra-titulo__derecha .buscador {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  padding: 2px 0;
  gap: 8px;
}
.barra-titulo .barra-titulo__derecha .buscador i {
  color: #0D1D69;
  margin-right: 6px;
}
.barra-titulo .barra-titulo__derecha .buscador input {
  border: none;
  background: rgba(255, 255, 255, 0);
  outline: none;
  font-size: 14px;
  color: #030615;
  font-weight: 400;
  line-height: 1;
  padding: 0px;
}
.barra-titulo .barra-titulo__derecha .buscador input::-moz-placeholder {
  color: #696D80;
}
.barra-titulo .barra-titulo__derecha .buscador input::placeholder {
  color: #696D80;
}
.barra-titulo .barra-titulo__derecha .buscador i {
  color: #0D1D69;
  margin-right: 6px;
}
.barra-titulo .icono {
  font-size: 18px;
  color: #0D1D69;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  stroke-width: 1;
  fill: none;
}
.barra-titulo .icono:hover {
  opacity: 0.7;
}

.title_text_inventory {
  font-family: "Inter", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #0D1D69;
  margin: 10px;
}

.text_inventory {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0D1D69;
  margin: 10px;
}

.table-wrapper-rounded {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

div.dataTables_scrollBody {
  border-radius: 0 0 10px 10px !important;
  overflow: hidden !important;
}

.table-header-overview {
  background: rgba(210, 213, 226, 0.1);
}

table.dataTable thead th,
th.table-header-text-centered,
th.dt-center,
th.dt-head-center {
  text-align: left !important;
}

.tr-table-overview,
.table-header-overview {
  border-radius: 0;
  border: none !important;
  outline: none;
  box-shadow: none;
  padding: 0px !important;
}

.tr-table-overview {
  line-height: 40px;
  color: #030615;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.1px;
  word-wrap: break-word;
  border: 0px;
  border-style: solid;
  border-color: #D2D5E2;
  margin: 0 !important;
  padding: 0px !important;
}

.dt-container .dt-empty-footer {
  width: 100% !important;
  table-layout: auto;
  /* o fixed si necesitas alinear tamaños */
}

.row {
  padding-right: 10px;
  display: flex;
  flex-wrap: nowrap;
  flex-wrap: wrap;
  margin-right: -16px !important;
  margin-left: -16px !important;
  border-radius: 0px 0px 8px 8px;
}

.tbody_notification {
  border-radius: 0px 0px 8px 8px;
}

.table-header-overview .table {
  background: rgba(210, 213, 226, 0.15) !important;
  padding: 12px 24px;
  border-radius: 0;
  border: none !important;
  outline: none;
  box-shadow: none;
}

.table-header-overview .dt-column-title {
  color: #030615;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.1px;
  word-wrap: break-word;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: none !important;
  color: #030615;
}

th,
td {
  border: none;
}

.dt-scroll {
  padding: 1px;
  overflow-x: auto;
  width: 100%;
}

.dt-scroll-body {
  border-radius: 0px 0px 8px 8px;
  overflow-x: auto;
  max-width: 100%;
}

.table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-column {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}
.icon-column button,
.icon-column i {
  min-width: auto;
  width: auto;
  padding: 4px;
  margin: 0 2px;
}

.licensing_small_title {
  padding-left: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.dt-info {
  color: #696D80 !important;
  font-size: 12px !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.4px;
  word-wrap: break-word;
  padding-left: 24px !important;
  margin-bottom: 20px;
}

.col-sm-4 .dt-info {
  color: #696D80 !important;
  font-size: 12px !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.4px;
  word-wrap: break-word;
  padding-left: 24px !important;
}

table.dataTable th.dt-empty,
table.dataTable td.dt-empty {
  text-align: center;
  vertical-align: top;
  color: #696D80 !important;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  white-space: nowrap;
}

.mt-3,
.my-3 {
  margin-top: 0rem !important;
  justify-content: center;
}

/* Contenedor de la paginación */
.dataTables_wrapper .dataTables_paginate {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-family: "Inter", sans-serif;
}

.dt-paging {
  color: #0D1D69 !important;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.4px;
  word-wrap: break-word;
  float: right;
  margin-top: 1%;
  margin-bottom: 1rem;
}

/* Asegura que los encabezados puedan posicionar las flechas */
table.dataTable thead th {
  position: relative;
  overflow: hidden;
}

/* ESTILO BASE */
table.dataTable thead th.dt-orderable-asc::after,
table.dataTable thead th.dt-orderable-desc::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../icons/arrowboth.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 8px;
  top: 50%;
  margin-left: 10px;
  transform: translateY(-50%);
  opacity: 0.3;
  transition: opacity 0.2s ease;
}

table.dataTable thead th.dt-orderable-asc:hover::after,
table.dataTable thead th.dt-orderable-desc:hover::after {
  opacity: 1;
  filter: #0D1D69;
}

/* ORDEN ACTIVO ASCENDENTE */
table.dataTable thead th.dt-ordering-asc::after {
  background-image: url("../icons/flechaup.svg");
  opacity: 1;
  filter: none;
}

/* ORDEN ACTIVO DESCENDENTE */
table.dataTable thead th.dt-ordering-desc::after {
  background-image: url("../icons/flechadown.svg");
  opacity: 1;
  filter: none;
}

.max_width_nesmotes_info {
  max-width: none;
  width: 100%;
}

.seen_check:hover {
  background-image: url("../icons/stepdonehover.svg");
  background-size: cover;
}

.table_info {
  border: none !important;
  border-style: solid;
  border-color: #E4E4E4;
  border-radius: 8px 8px 8px 8px !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.tabs-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0px;
  margin-bottom: 0rem;
}

.tabs-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 36px;
}

.tabs-scroll-container::-webkit-scrollbar {
  display: none;
}

.ul_device_tabs {
  display: flex;
  flex-wrap: nowrap !important;
  margin-bottom: 24px;
}

.li_device_tab {
  flex: 0 0 auto;
}

.scroll-button {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  z-index: 10;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-button span {
  width: 26px;
  height: 26px;
  background-color: #FEFEFE;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 70%;
}
.scroll-button.left {
  left: 6px;
}
.scroll-button.left span {
  background-image: url(../../assets/icons/previous.svg);
}
.scroll-button.right {
  right: 3px;
}
.scroll-button.right span {
  background-image: url(../../assets/icons/next.svg);
}
.scroll-button:hover span {
  background-color: #ffffff;
}
.scroll-button:focus, .scroll-button:active {
  outline: none;
  box-shadow: none;
}

.table-body-cell a {
  color: #0D1D69;
  text-decoration: underline !important;
}
.table-body-cell a:hover {
  color: rgb(75, 90, 161) !important;
}

#nesgate_signal_quality_info_table {
  margin-top: 16px !important;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
#nesgate_signal_quality_info_table thead th:first-child {
  border-top-left-radius: 8px;
}
#nesgate_signal_quality_info_table thead th:last-child {
  border-top-right-radius: 8px;
}
#nesgate_signal_quality_info_table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}
#nesgate_signal_quality_info_table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

.notifications_description:focus,
.connection_disconnection_notification_description:focus {
  outline: none !important;
  border-color: #0D1D69 !important;
}

.connection_disconnection_notification_description {
  border: 0px;
  padding: 0px;
  border-radius: 8px;
}

.table-body-cell-no-wrap {
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table {
  background-color: #ffffff;
  width: 100%;
  margin: 0px !important;
}

td {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.padding-for-card {
  padding-right: 5px;
}

.table-inventory {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

.table-inventory th,
.table-inventory td {
  padding-left: 8px;
  padding-right: 8px;
}

.card .table-inventory {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.table-lorawan {
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff;
  border-radius: 8px !important;
}

#opcua_servers_table {
  width: 100%;
  height: 100%;
  border-right: none;
  border-bottom: none;
  margin: 0px -4px -20px 10px;
  padding: 0px !important;
}
#opcua_servers_table tbody tr td,
#opcua_servers_table thead tr th {
  border-right: none !important;
  border-bottom: none !important;
}
#opcua_servers_table tr:last-child td {
  border-bottom: none !important;
}

.calendar-column {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1.5rem;
}

.calendar-label {
  margin-bottom: 1;
  font-weight: 600;
  font-size: 18px;
}

.dt-search {
  padding: 10px;
  justify-content: flex-end;
}

/* Columnas de íconos en DataTables */
td.icon-col,
th.icon-col,
td.only-icon,
td.icon-fav {
  width: 56px;
  padding: 4px 6px !important;
  vertical-align: middle;
  white-space: nowrap;
}
td.icon-col a,
td.icon-col button,
td.icon-col span,
th.icon-col a,
th.icon-col button,
th.icon-col span,
td.only-icon a,
td.only-icon button,
td.only-icon span,
td.icon-fav a,
td.icon-fav button,
td.icon-fav span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
td.icon-col img,
td.icon-col svg,
th.icon-col img,
th.icon-col svg,
td.only-icon img,
td.only-icon svg,
td.icon-fav img,
td.icon-fav svg {
  width: 20px;
  height: 20px;
  display: inline-block;
}

td.only-icon {
  min-width: 32px;
  max-width: 40px;
  padding: 4px !important;
}

td.icon-fav {
  max-width: 56px;
  padding: 0 !important;
}
td.icon-fav img {
  display: block;
}

/* Fila de íconos (horizontal) */
.icon-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.icon-col {
  width: 1%;
  min-width: 30px !important;
  max-width: 40px !important;
  text-align: center;
  padding: 0 !important;
  white-space: nowrap;
}

.icon-col img,
.icon-col svg {
  width: 16px;
  height: 16px;
  display: inline-block;
}

table.dataTable {
  width: 100%;
  margin: 0px auto;
  border-spacing: 0;
  padding-left: 3px;
  padding-right: 3px;
}

table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #ffffff !important;
}

table.dataTable th,
table.dataTable td {
  white-space: nowrap;
}

table.dataTable td:nth-child(5),
table.dataTable td:nth-child(7) {
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status {
  width: 56px;
}

th.table-header-text-centered,
td.table-header-text-centered {
  width: 100px;
  max-width: 100px;
  min-width: 100px;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
}

th.col-seen,
td.col-seen {
  width: 100px;
  max-width: 100px;
  min-width: 100px;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
}

.status-mod {
  width: 100px;
}

.nesgate_info_table_wrapper {
  overflow-x: hidden;
  padding-right: 0 !important;
}

.col-md-6 {
  position: relative;
  width: 100%;
  padding-right: 6px;
  padding-left: 15px;
}

/* Oculta el texto solo dentro de la tabla, no del filtro */
#networks_table td .disconnected-text,
#networks_table td .connected-text,
#nesgates_table td .disconnected-text,
#nesgates_table td .connected-text,
#nesmotes_table td .disconnected-text,
#nesmotes_table td .connected-text {
  position: absolute;
  left: -9999px;
}

#notifications_table td:nth-child(1),
#notifications_table th:nth-child(1) {
  width: 10px !important;
  text-align: center;
}

#inventoryTable th:nth-child(1),
#inventoryTable td:nth-child(1) {
  width: 36px !important;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.daterangepicker .ranges li.active {
  background-color: #0D1D69;
  color: #ffffff;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  min-width: 32px;
  width: 32px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #0D1D69;
  border-color: transparent;
  color: #ffffff;
}

.daterangepicker .ranges li {
  font-size: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.daterangepicker .drp-buttons .btn {
  margin-left: 8px;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle .applyBtn {
  color: #ffffff;
  background-color: #0D1D69;
  border-color: #0D1D69 !important;
  font-family: "Inter", sans-serif;
}

.cancelBtn {
  color: #0D1D69;
  border-color: #0D1D69;
  border-radius: 8px;
}

.cancelBtn:hover {
  background-color: rgb(238, 239, 246) !important;
  border-color: rgb(75, 90, 161) !important;
}

.btn-primary.focus,
.btn-primary:focus {
  border-color: #0D1D69 !important;
}

.applyBtn {
  color: #ffffff;
  background-color: #0D1D69 !important;
  border-radius: 8px;
  box-shadow: none !important;
  border-color: #0D1D69 !important;
}

.applyBtn:hover {
  background-color: #0D1D69;
  border-color: #0D1D69 !important;
}

.daterangepicker select {
  width: 45px;
  margin: 0 auto;
  height: 30px;
  background: #ffffff !important;
  border: 1px solid #eee;
  padding: 2px;
  outline: 0;
  font-size: 12px;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background-color: #F3F3F3;
}

img {
  vertical-align: middle;
  border-style: none;
}

.ul_device_tabs {
  margin-bottom: 2%;
  border-color: rgba(210, 213, 226, 0.85) !important;
}

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  -webkit-overflow-scrolling: touch;
}

.breadcrumb::-webkit-scrollbar {
  height: 6px;
}

.breadcrumb::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: #6c757d;
}

.h2 {
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #030615;
  margin: 10px;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.actuation_title .title_text_inventory {
  color: #030615 !important;
  font-size: 19px !important;
}

.subtitle-1 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15px;
}

.subtitle-2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.body-1 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.body-2 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.25px;
}

.button-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.caption {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.overline {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.user_settings_icon {
  padding-right: 20px;
  color: #00B9E4;
}

.user_settings_card_title {
  font-size: 18px;
  font-weight: 600;
  color: #0D1D69;
}

.user_settings_small_text {
  font-size: 16px;
  font-weight: 600;
  color: #0D1D69;
}

.user_settings_large_text {
  font-size: 16px;
  font-weight: 600;
  color: #0D1D69;
}

/* Títulos */
.tab-opcua-servers {
  font-size: 18px;
  font-weight: 600;
  color: #030615;
  padding-left: 10px;
  margin: 0;
}

.actuation_title {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 10px;
  color: #0D1D69;
  margin: 0;
}

.title_device_info {
  font-size: 24px;
  font-weight: 600;
  color: #0D1D69;
  padding-left: 0;
}

.data_range_text {
  font-size: 18px;
  font-weight: 600;
  color: #0D1D69;
  padding-left: 0;
}

.label_actuation {
  color: #0D1D69;
  display: block;
  font-weight: 600;
  padding-left: 0;
}

.widget-type {
  margin: 20px;
  padding-top: 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  overflow-x: hidden;
  position: relative;
  width: 100%;
  height: auto;
  max-height: 100%;
}

.table_widget_panel {
  table-layout: auto !important;
  border-collapse: collapse !important;
  font-family: "Inter", sans-serif;
  border-top: none !important;
  border-bottom: none;
  margin: 0 !important;
}
.table_widget_panel thead tr {
  background-color: #f9fafb;
}

.table_widget_panel th,
.table_widget_panel td {
  white-space: nowrap;
  padding: 8px 12px;
  overflow-x: auto;
  text-overflow: ellipsis;
  max-width: 220px;
}

.table_widget_panel thead th:focus,
.table_widget_panel thead th:active,
.table_widget_panel thead th {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Encabezados */
.table_widget_panel thead,
.table_widget_panel thead tr,
.table_widget_panel thead th,
.table_widget_panel .dt-column-header {
  border-top: none !important;
  border-bottom: none;
  box-shadow: none !important;
}

/* DataTables scroll */
.dataTables_scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}

.dataTables_wrapper {
  width: 100%;
  height: auto !important;
  transition: none !important;
}

.dataTables_scrollBody {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
}

.dataTables_scrollBody table,
.dataTables_scrollHeadInner table {
  table-layout: auto !important;
}

/* Forzar ancho total en scroll */
.dt-scroll-headInner,
.dataTables_scrollBody table {
  min-width: 100% !important;
}

/* Contenedor principal del header */
.dt-column-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0px;
  width: 100%;
}

.dtcc-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  color: #a4a9c5;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

.dtcc-button-icon:hover {
  border-color: #0D1D69;
  background-color: rgb(238, 239, 246) !important;
  color: #0D1D69;
  border: 2px solid #0D1D69;
  outline: none !important;
  box-shadow: none !important;
}

table.dataTable span.dtcc button.dtcc-button,
table.dataTable span.dtcc button.dtcc-button:focus,
table.dataTable span.dtcc button.dtcc-button:active,
table.dataTable span.dtcc button.dtcc-button:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

button.dtcc-button-icon:focus-visible,
button.dtcc-button-icon::-moz-focus-inner,
.dtcc-button-icon:active {
  color: #0D1D69;
  outline: none !important;
  box-shadow: none !important;
}

.dtcc-button {
  font-size: 12px;
  font-family: "Inter";
}

/* botón search*/
.dtcc-dropdown,
.dtcc-search_active {
  position: relative !important;
  z-index: 1000;
  background: white;
  border-radius: 10px;
  padding: 12px;
  min-width: 220px;
  transition: none !important;
}

.dtcc-search_active input,
.dtcc-search_active select {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 14px;
  width: 100%;
  max-width: 100%;
}

.dtcc-force-visible {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Dropdown de filtro */
.dtcc-dropdown {
  position: absolute !important;
  z-index: 9999;
  max-width: 300px;
  width: -moz-max-content;
  width: max-content;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 12px;
  transition: none !important;
}

/* Contenedor del th */
.table_widget_panel th {
  padding: 0 8px;
  white-space: nowrap;
}

/* botón de ffiltro a la derecha */
.column-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Oculta íconos de order en la tabla */
.dtcc-button_order {
  display: none !important;
}

/* Tabla paneles*/
.buscador-panel {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
}
.buscador-panel svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  fill: #696D80;
  pointer-events: none;
}
.buscador-panel input {
  background-color: transparent;
  outline: 1px #8991B4;
  padding-left: 36px;
  width: 221px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #dcdfe6;
  font-family: "Inter", sans-serif;
  color: #2e2e3a;
}
.buscador-panel input::-moz-placeholder {
  color: #696D80;
  font-weight: 400;
  letter-spacing: 0.25px;
}
.buscador-panel input::placeholder {
  color: #696D80;
  font-weight: 400;
  letter-spacing: 0.25px;
}

.form-control:focus {
  background-color: transparent;
  outline: 1px #0D1D69;
}

#card_view_paneles .card-dashboard {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
#card_view_paneles .card-dashboard .hover-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  background: rgba(238, 238, 239, 0.95);
  outline: 1px solid #fff;
  outline-offset: -1px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 2;
}
#card_view_paneles .card-dashboard:hover .hover-icons, #card_view_paneles .card-dashboard:focus-within .hover-icons {
  opacity: 1;
  pointer-events: auto;
}
#card_view_paneles .card-dashboard .icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
#card_view_paneles .card-dashboard .icon-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
  pointer-events: none;
}
#card_view_paneles .card-dashboard .icon-btn:hover::before, #card_view_paneles .card-dashboard .icon-btn:focus-visible::before {
  background: rgba(255, 255, 255, 0.65);
}
#card_view_paneles .card-dashboard .icon-btn img {
  width: 20px;
  height: 20px;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  max-width: none !important;
  transform: none !important;
}
@media (hover: none) and (pointer: coarse) {
  #card_view_paneles .card-dashboard .hover-icons {
    opacity: 1;
    pointer-events: auto;
  }
}

#ordenar_privilegios_trigger[hidden] {
  display: none !important;
}

/* Flecha animada según dirección actual */
#ordenar_privilegios_trigger svg {
  transition: transform 0.15s ease;
}

#ordenar_privilegios_trigger[data-dir=desc] svg {
  transform: rotate(0deg);
}

#ordenar_privilegios_trigger[data-dir=asc] svg {
  transform: rotate(180deg);
}

.buscador-con-vista {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}

.buscador-panel {
  flex: 1;
}

.btn-view {
  padding: 4px;
  transition: background 0.15s ease, transform 0.12s ease;
}

.btn-view:hover {
  background: #D2D5E2;
  transform: scale(1.02);
}

.btn-view:active {
  transform: scale(0.99);
}

.separador-paneles {
  height: 1px;
  background: #f1f3f5;
}

.table-responsive {
  overflow-x: auto;
}

@media (max-width: 767.98px) {
  #control_panels_table td,
  #control_panels_table th {
    padding: 0.5rem 0.625rem;
  }
}
.card-dashboard {
  border: 1px solid #edf2f7;
  border-radius: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-dashboard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 6, 21, 0.06);
}

.card-dashboard .hover-icons {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.card-dashboard .table_link {
  font-weight: 600;
}

/* Estilo general (desktop) */
#ordenar_por_privilegios {
  display: flex;
  justify-content: flex-end;
  align-self: flex-end;
}

#ordenar_dir_toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  transition: transform 0.2s ease;
}

@media (max-width: 767.98px) {
  #ordenar_por_privilegios {
    align-self: stretch;
  }
}
@media (max-width: 767.98px) {
  .table_link {
    display: inline-block;
    margin-top: 12px;
    font-size: 16px;
  }
}
.dropdown-orden {
  position: absolute;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(3, 6, 21, 0.08);
  padding: 4px;
  z-index: 999;
  min-width: 200px;
}

.dropdown-orden button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.dropdown-orden button:hover {
  background: #F2F4F8;
}

.dropdown-orden button.active {
  background: #EEF2FF;
  font-weight: 600;
}

.show > .btn-light.dropdown-toggle {
  background-color: transparent;
}

.select-card {
  border: none !important;
}

.select-card,
.selectpicker .selectpicker,
.bootstrap-select .dropdown-toggle {
  background-color: transparent !important;
}

.select-card,
.bootstrap-select .dropdown-toggle:hover {
  background-color: transparent !important;
}

.dropdown-toggle:active {
  background-color: transparent !important;
}

#ordenar_por_privilegios .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
  width: auto !important;
}

#ordenar_por_privilegios .bootstrap-select > .dropdown-toggle {
  width: auto !important;
}

#ordenar_both .icon-asc,
#ordenar_both .icon-desc,
#ordenar_both .icon-both {
  display: none;
}

#ordenar_both[data-dir=asc] .icon-asc {
  display: inline;
}

#ordenar_both[data-dir=desc] .icon-desc {
  display: inline;
}

#ordenar_both[data-dir=both] .icon-both {
  display: inline;
}

@media (max-width: 767.98px) {
  #search_input_table_panel_settings {
    width: 100% !important;
    max-width: 100%;
  }
}
#ordenar_por_privilegios .bootstrap-select > .dropdown-toggle,
#ordenar_por_privilegios .bootstrap-select > .dropdown-toggle:focus,
#ordenar_por_privilegios .bootstrap-select > .dropdown-toggle:active,
#ordenar_por_privilegios .bootstrap-select.show > .dropdown-toggle {
  box-shadow: none !important;
  outline: 0 !important;
  border-color: transparent !important;
  -webkit-tap-highlight-color: transparent;
  padding-left: 5px;
}

.dropdown-menu {
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
}

#ordenar_privilegios_trigger {
  display: flex;
  align-items: center;
}

#ordenar_privilegios_trigger .ordenar-label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1;
  margin-bottom: 0;
}

.text_select {
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  margin-top: 5px;
}

/* Elimina el borde superior de la cabecera DataTables */
.dt-scroll-head thead th {
  border-top: none !important;
}

.tab-panels {
  padding: 0px;
  padding-right: 5px;
}

.cards_panels {
  padding-right: 0px;
}

.badge-editor {
  background-color: #E5D7F3;
  /* Lila claro */
  color: var(--Color-text-primary, #030615);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  display: inline-block;
  word-wrap: break-word;
  letter-spacing: 0.4px;
  font-family: Inter;
}

.badge-only-read {
  background-color: #FBDEBD !important;
  color: var(--Color-text-primary, #030615);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  display: inline-block;
  word-wrap: break-word;
  letter-spacing: 0.4px;
  font-family: Inter;
}

.badge-propietary {
  background-color: #CEF9FF !important;
  /* Naranja claro */
  color: var(--Color-text-primary, #030615);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  display: inline-block;
  word-wrap: break-word;
  letter-spacing: 0.4px;
  font-family: Inter;
}

.badge-external {
  background-color: #FCF5C9;
  color: var(--Color-text-primary, #030615);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  display: inline-block;
  word-wrap: break-word;
  letter-spacing: 0.4px;
  font-family: Inter;
}

.badge-row {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.title_cards {
  color: var(--Color-text-primary, #030615);
  font-size: 16px;
  font-family: Inter;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.15px;
  word-wrap: break-word;
}

.text_cards {
  color: var(--Color-text-secondary, #696D80);
  font-size: 12px;
  font-family: Inter;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.4px;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .card,
  .card.card-dashboard {
    padding: 0 !important;
    margin: 0;
    height: auto;
  }
}
a.title_cards,
a.title_cards:visited,
a.title_cards:hover,
a.title_cards:active {
  color: #030615;
  text-decoration: none;
}

.text_cards {
  line-height: 1.5;
}

.text_cards .meta-label {
  color: var(--Color-text-secondary, #696D80);
  font-size: 12px;
  font-family: Inter;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.4px;
  word-wrap: break-word;
}

.text_cards .meta-value,
.text_cards .meta-value a,
.text_cards .meta-value a:visited,
.text_cards .meta-value a:hover {
  color: #030615;
  font-size: 12px;
  font-family: Inter;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.4px;
  word-wrap: break-word;
}

.badge-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

:root {
  --hover-bg: #D2D5E2;
}

#ordenar_both {
  padding: 7px !important;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  background: transparent !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

#ordenar_both:hover,
#ordenar_both:focus-visible,
#ordenar_both:active {
  background: var(--hover-bg) !important;
  padding: 4px;
}

#ordenar_both img {
  display: block;
  pointer-events: none;
}

@media (max-width: 576px) {
  .card-dashboard .card-body {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "title tag" "meta  meta";
    align-items: center;
    -moz-column-gap: 8px;
         column-gap: 8px;
    row-gap: 12px;
    padding-top: 54px;
  }
  .card-dashboard .title_cards {
    grid-area: title;
    margin-bottom: 0 !important;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-dashboard .badge-row {
    grid-area: tag;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }
  .card-dashboard .text_cards {
    grid-area: meta;
    margin-top: 8px;
  }
  .card-dashboard .badge-row .toggle_favorite {
    display: none !important;
  }
}
/* desktop/tablet responsive */
.last_value_control_panel.font_size_widget_value {
  font-size: clamp(44px, 3.2vw, 46px) !important;
}

.font_size_widget_units {
  font-size: clamp(28px, 2.2vw, 36px) !important;
}

/* móvil: tamaño fijo, no se reduce */
@media (max-width: 768px) {
  .last_value_control_panel.font_size_widget_value {
    font-size: 44px !important;
  }
  .font_size_widget_units {
    font-size: 28px !important;
  }
}
.footer_public_page {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #eee;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: #8991B4;
  line-height: 16px;
  letter-spacing: 0.4px;
  word-wrap: break-word;
  z-index: 1000;
}

.footer_public_content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer_public_content .org_logo {
  height: 22px;
  vertical-align: middle;
}

.footer_public_content span,
.footer_public_content span * {
  font-size: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.4px;
  word-wrap: break-word;
}

.a {
  color: var(--Primary-500_interactive-items, #0D1D69);
  text-decoration: underline;
}

.footer_public_content span,
.footer_public_content span:not(:has(a)) {
  color: #8991B4;
}

.span:has(a) {
  color: var(--Primary-500_interactive-items, #0D1D69);
}

.titlepanels {
  justify-content: flex-end;
  color: #0D1D69;
}

.logopanels {
  height: 26px;
  max-width: 120px;
  vertical-align: middle;
}

#org_logo_row, #dashboard_name_row {
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  background-color: #eee;
}

#last_refresh_text,
#last_refresh_time {
  font-size: 12px;
  color: #8991B4;
}

#go_fullscreen {
  cursor: pointer;
}

#fullscreen_div::backdrop {
  background-color: rgb(255, 255, 255) !important;
}

.card.card-widget {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.card.card-widget .card-header {
  flex: 0 0 auto;
  margin: 0;
}

.card.card-widget .card-body {
  flex: 1 1 auto;
  min-height: 0;
}

.title_widget {
  font-weight: 600;
  font-size: 1rem;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-panels .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.public-panels .card-header {
  flex: 0 0 auto;
}

.public-panels .card-body {
  flex: 1 1 auto;
  min-height: 0;
}

.public-panels [id^=title_widget_] .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 0 !important;
}

.public-panels [id^=title_widget_] .row > .col-12 {
  padding: 0 !important;
}

.public-panels [id^=dropdown_time_widget_] {
  display: inline-block !important;
  width: auto !important;
  min-width: 120px;
  max-width: 45%;
  white-space: nowrap;
  background-position: right 8px center !important;
  background-repeat: no-repeat !important;
  padding-right: 24px;
}

.public-panels [id^=title_widget_] .row > .col-12:last-child {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.public-panels [id^=time_range_widget_] {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 8px !important;
  font-size: 12px;
}

.public-panels .card-header .title_widget {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[id^=row_actual_stop_] {
  margin-top: 0 !important;
}

body {
  font-family: "Inter", sans-serif !important;
  background-color: #ffffff;
}

#fullscreen_div::backdrop {
  background-color: rgb(255, 255, 255);
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1;
}