/*
Generic Styling, for Desktops/Laptops 440
*/
:root {
  --red: red;
  --white: white;
  --darkcyan: darkcyan;
  --bluebutton: #0016b0;
  --tipi: #1c41a0;
  --maroon: maroon;
  --CCC1A9: #ccc1a9;
  --yellow: yellow;
  --lightblue: lightblue;
  --tableBackground: #b3b7b9;
  --green: green;
  --greenLegion: #2a4b2e;
  --tablaHover: #ac9696;
  --pagado: #8bbd59;
  --no-pagado: #da5e64;
}

.is-hidden {
  display: none;
}

.spacer-40 {
  margin-top: 40px;
}

.hr-strong {
  width: 100%;
  height: 2px;
  background-color: black;
  border: none;
}

/*@media only screen and (min-width: 750px) {*/

html {
  font-size: 60%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/*
Generic Styling, for Desktops/Laptops 440
*/
.fa {
  color: brown;
  font-size: large;
}

body {
  /*background: #eff3f5;*/
  /* Your first color */
  background: linear-gradient(0.25turn, #b0b2b7, #eff3f5, #b0b2b7);
  /* Fallback for older browsers */
  font-size: 16px;
  font-family: "kruge", sans-serif;
}

.logo-container {
  text-align: center;
}

.logo {
  width: 50%;
  height: auto;
  border-radius: 20%;
}

body.login-page {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(
      110deg,
      rgba(9, 24, 35, 0.9) 0%,
      rgba(12, 46, 56, 0.74) 42%,
      rgba(245, 248, 250, 0.88) 42.1%,
      rgba(245, 248, 250, 0.96) 100%
    ),
    url("../images/index_background.png") center center / cover no-repeat;
  color: #18252d;
  font-family: Arial, Helvetica, sans-serif;
}

.login-shell {
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 440px);
  gap: 56px;
  align-items: center;
}

.login-hero {
  color: #ffffff;
}

.login-hero-content {
  width: min(520px, 100%);
}

.login-brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 12px;
  margin-bottom: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.login-brand.IndexH1 h1,
.login-brand h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 800;
  line-height: 0.95;
  text-align: left;
  text-transform: none;
}

.login-brand.IndexH1 span,
.login-brand span {
  margin-top: 16px;
  padding: 0;
  color: #b9eef0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-hero-copy {
  max-width: 440px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.8rem;
  line-height: 1.6;
}

.login-card {
  width: 100%;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(10, 30, 40, 0.22);
  backdrop-filter: blur(12px);
}

.login-card-header {
  margin-bottom: 28px;
}

.login-eyebrow {
  margin: 0 0 8px;
  color: #087680;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-card h2 {
  margin: 0;
  color: #16252c;
  font-size: 3.2rem;
  line-height: 1.1;
  text-align: left;
}

.login-form {
  display: grid;
  gap: 18px;
}

.login-field {
  display: grid;
  gap: 8px;
}

.login-page .form-label-forms {
  color: #24343c;
  font-size: 1.45rem;
  font-weight: 800;
}

.login-page .form-inputLogin-forms,
.login-page input[type="password"] {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #c8d3d8;
  border-radius: 6px;
  background: #ffffff;
  color: #16252c;
  font-size: 1.65rem;
  line-height: 52px;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.login-page .form-inputLogin-forms::placeholder {
  color: #7a8a92;
}

.login-page .form-inputLogin-forms:focus,
.login-page input[type="password"]:focus {
  border-color: #087680;
  box-shadow: 0 0 0 4px rgba(8, 118, 128, 0.14);
  outline: none;
}

.login-page .one-more-block {
  display: flex;
  width: 100%;
}

.login-page .input-password {
  padding-right: 52px;
}

.login-page .show-password {
  width: 24px;
  height: 24px;
  right: 16px;
  opacity: 0.62;
  transition: opacity 160ms ease;
}

.login-page .show-password:hover {
  opacity: 1;
}

.login-page .alert {
  margin: 0;
  border: 1px solid rgba(205, 49, 49, 0.22);
  border-radius: 6px;
  background: rgba(205, 49, 49, 0.08);
  color: #a61b1b;
  font-size: 1.4rem;
  line-height: 1.45;
  text-align: left;
}

.login-options {
  justify-content: flex-start;
}

.login-page .checkbox-wrapper-2 .form-label-forms {
  color: #3c4d55;
  font-size: 1.4rem;
  font-weight: 700;
}

.login-page .checkbox-wrapper-2 .ikxBAC {
  cursor: pointer;
}

.login-page .button_login[type="submit" i] {
  width: 100%;
  min-height: 52px;
  margin: 8px 0 0;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: #087680;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 800;
  text-align: center;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.login-page .button_login[type="submit" i]:hover {
  background: #065f67;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(8, 118, 128, 0.26);
  transform: translateY(-1px);
}

.login-page .button_login:disabled {
  background: #8aa2a9;
  opacity: 0.7;
}

.login-page footer {
  min-height: 56px;
  color: rgba(24, 37, 45, 0.78);
}

body.login-page #copyright {
  margin: 0;
  color: inherit;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Cambia el color de fondo según tu diseño */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.getCarga {
  font-size: 20px; /* Ajusta el tamaño según tu diseño */
  color: #3498db; /* Cambia el color según tu diseño */
  animation: blink 1.5s infinite; /* Parpadeo */
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top-color: #3498db; /* Color del spinner */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Dibujo o imagen dentro del preloader */
.image-preloader {
  /*background-image: url("../images/microVerde.png");*/
  background-color: transparent;
  background-position: center center;
  background-size: cover; /* Asegura que la imagen se ajuste al tamaño del contenedor */
  width: 100px; /* Establece un ancho */
  height: 100px; /* Establece un alto */
  animation: fade 3s infinite ease-in-out; /* Animación para desvanecerse y aparecer */
}

/* Animación para la transparencia */
@keyframes fade {
  0%,
  100% {
    opacity: 1; /* Totalmente visible */
  }
  70% {
    opacity: 0; /* Completamente transparente */
  }
}

.VRContainer {
  transform: translateY(-50%);
  margin-left: 10px;
  margin-top: 17px;
  position: absolute;
}

#start-btn {
  cursor: pointer;
  background-image: url("../images/microVerde.png");
  background-size: cover; /* Asegura que la imagen cubra todo el área del botón */
  width: 50px; /* Ajusta el tamaño del botón */
  height: 50px; /* Asegura que el botón sea cuadrado */
  border-radius: 50%; /* Hace el botón redondo */
  border: none; /* Elimina el borde, si lo deseas */
  justify-content: center; /* Centra la imagen dentro del botón */
  background-color: transparent;
  display: flex;
  align-items: center;
  position: relative;
  top: 1rem;
  z-index: 2000;
  transition:
    background-color 0.3s ease,
    background-image 0.3s ease; /* Transiciones suaves para cambios de color e imagen */
}

#start-btn.normal {
  background-image: url("../images/microVerde.png");
}

#start-btn.listening {
  background-image: url("../images/microAzul.png");
}

#start-btn.listening::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 87, 51, 0.3);
  border-radius: 50%;
  animation: wave 1.5s infinite;
  z-index: -1;
}

@keyframes wave {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

#start-btn.recording {
  background-image: url("../images/save-data.png");
}

#start-btn.error {
  background-color: var(
    --red
  ); /* Color rojo cuando hay un error de reconocimiento vocal */
}

#helpInfoRVoice {
  width: 25px;
  height: 25px;
  display: block;
  background-image: url(../images/help.png);
  background-color: transparent;
  position: absolute; /* Cambiado a absoluto */
  top: 44%; /* Centrado verticalmente respecto a #start-btn */
  left: 80%; /* Pega el elemento a la izquierda de #start-btn */
  transform: translateY(-50%); /* Ajuste adicional para centrado */
  border-radius: 50%;
  border: none;
  background-size: cover;
  z-index: 9999;
}

.no_hay_archivo {
  color: var(--red);
}

.infoRVoice {
  display: none;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid var(--white);
  border-radius: 5px;
  text-align: center;
  width: 35%; /* Relleno completo del contenedor */
  height: 80%; /* Ajusta automáticamente la altura al contenido */
  position: fixed; /* Fijado en la pantalla */
  top: 50%; /* 50% desde el top de la pantalla */
  left: 50%; /* 50% desde el lado izquierdo de la pantalla */
  transform: translate(-50%, -50%); /* Centrado absoluto */
  background-color: var(--white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra para mejor visibilidad */
  font-size: 19px;
  font-weight: bold;
  color: darkslateblue;
  z-index: 9999; /* Asegura que esté encima de otros elementos */
  white-space: pre-wrap; /* Permite saltos de línea y respeta los espacios en el texto */
  word-wrap: break-word; /* Rompe las palabras largas para evitar desbordamientos */
  overflow-y: auto; /* Agrega desplazamiento vertical si el contenido excede el área */
}

.infoRVoice span {
  color: var(--red);
}

.Container_exchangeCurrency {
  top: 1rem;
  display: flex;
  flex-direction: column;
  float: right;
  margin-right: 2rem;
  text-align: center;
}

.locationInfo-ok {
  font-weight: bold;
  /*color: var(--yellow);*/
}

.locationInfo-ok span {
  color: var(--yellow);
}

.locationInfo-ko {
  font-weight: bold;
  color: var(--red);
  /*font-size: 1.2em;*/
}

.infoBox {
  display: none;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
  width: fit-content;
  height: fit-content;
  position: fixed; /* Fijado en la pantalla */
  top: 50%; /* 50% desde el top de la pantalla */
  left: 50%; /* 50% desde el lado izquierdo de la pantalla */
  transform: translate(-50%, -50%); /* Centrado absoluto */
  background-color: #585a5c;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra para mejor visibilidad */
  font-size: 14px;
  font-weight: bold;
  color: var(--lightblue);
  z-index: 1; /* Asegura que esté encima de otros elementos */
  /*white-space: pre-wrap; /* Permite saltos de línea y respeta los espacios en el texto */
  word-wrap: break-word; /* Rompe las palabras largas para evitar desbordamientos */
  overflow-y: auto; /* Agrega desplazamiento vertical si el contenido excede el área */
}

.infoBox span {
  text-align: center;
  color: var(--red);
}

#helpPopup {
  background: #1e293b;
  color: #f8fafc;
  padding: 18px;
  border-radius: 12px;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 14px;
  line-height: 1.6;
  animation: fadeIn 3s ease;
}

.help-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #38bdf8;
}

.help-subtitle {
  margin-top: 14px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #facc15;
}

.help-text {
  color: #e2e8f0;
  text-align: justify;
}

.help-list {
  margin: 0;
  padding-left: 12rem;
  text-align: left;
}

.help-list li {
  margin-bottom: 6px;
}

#helpPopup.session-popup {
  width: min(560px, calc(100vw - 32px));
  max-width: 560px;
  max-height: min(82vh, 640px);
  text-align: left;
}

.version-change-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.version-change-list li {
  margin: 5px 0;
  line-height: 1.35;
}

.session-intro {
  margin-bottom: 14px;
}

.session-details {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #334155;
  border-radius: 9px;
  background: #334155;
}

.session-row {
  display: grid;
  grid-template-columns: minmax(125px, 42%) 1fr;
  background: #0f172a;
}

.session-row dt,
.session-row dd {
  margin: 0;
  padding: 8px 10px;
  line-height: 1.35;
}

.session-row dt {
  color: #94a3b8;
  font-weight: 600;
}

.session-row dd {
  color: #f8fafc;
  font-weight: 500;
  word-break: break-word;
}

.session-note {
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid #334155;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 400;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.iconLocation-ok {
  width: 30px;
  height: 30px;
  display: inline-block;

  background-image: url("../images/location-ok.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.iconLocation-ko {
  width: 30px;
  height: 30px;
  display: inline-block;

  background-image: url("../images/location-ko.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.iconLocation-ok,
.iconLocation-ko {
  width: 30px;
  height: 30px;
  display: flex;
  background-color: #ffffff;
  position: absolute; /* 💡 Esto es lo más importante */
  right: 3rem; /* distancia desde la derecha */
  border-radius: 50%;
  border: none;
  background-size: contain;
  z-index: 1; /* encima de todo */
  opacity: 1;
}

.iconLocation {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 3rem;
  z-index: 1;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  border-radius: 50%;
  border: none;
  opacity: 1;
}

.imgLocation {
  background-image: url(../images/location-ok.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* mejor que cover para iconos */

  margin: 1rem auto;
  width: 30px;
  height: 30px;
  display: block;
  background-color: transparent;
  transform: translateY(-50%); /* Ajuste adicional para centrado */
  border-radius: 50%;
  border: none;
}

h1 {
  font-size: 3.8rem;

  color: var(--maroon);
  margin-left: 0%;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 1.8rem;
}

h1,
h2,
h3 {
  text-align: center;
}

.login {
  margin-top: 10px;
  margin-left: auto;
}

.button_login {
  transition: transform 0.3s ease-in-out;
  text-decoration: none;
  padding: 3px;
  font-size: 2rem;
  color: var(--white);
  border-radius: 5px;
  border: 2px solid var(--tipi);
  width: fit-content;
  text-align: center;
  display: block;
  cursor: pointer;
  margin-bottom: 1rem;
}

.button_login:hover {
  transform: scale(1.1);
  color: var(--darkcyan) !important;
  /*background-color: var(--white) !important;*/
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.button_login[type="submit" i] {
  transition: transform 0.3s ease-in-out;
  text-decoration: none;
  margin-bottom: 10px;
  padding: 3px;

  font-size: 2rem;
  color: #ffffff;
  background-color: var(--darkcyan);
  border-radius: 5px;
  border: 2px solid var(--tipi);
  width: 50%;
  text-align: center;
  cursor: pointer;
}

.button_login[type="submit" i]:hover {
  transform: scale(1.1);
  color: var(--lightblue);
  background-color: var(--white);
}

.button_login:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.footer {
  /*position: fixed;*/
  bottom: 0px;
  /*z-index: 2000;*/
  /*left: 30%;*/
  /*width: 43%;*/
  opacity: 0.7;
  margin: auto;
}

#copyright {
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
  /* Para centrar el texto */
  padding: 10px 0;
  /* Cambia el color de fondo si es necesario */
  color: #555;
  /* Cambia el color del texto si es necesario */
  font-size: 14px;
  /* Cambia el tamaño de fuente si es necesario */
}

.icono {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}
.contenedor {
  margin: auto;
  margin-top: 4rem;
  width: 30%;
  /*max-width: fit-content;*/
  height: auto;
  /*color: black;*/
  font-size: 2rem;
  background-color: #afaeb5;
  border: 3px solid;
  /*border-image: linear-gradient(to right, #7b6161, #8e9f8e);*/
  border-image-slice: 1;
  padding: 1rem;
  overflow: hidden;
}

/*.contenedor:hover {
  border: 10px solid;
  background-color: #c3c2c6;
  border-image: linear-gradient(to right, #8e9f8e, #7b6161);
  border-image-slice: 1;
}*/

.contanedorAno {
  margin: auto;
  margin-top: 4rem;
  max-width: fit-content;
  height: auto;
  font-size: 2rem;
  padding: 1rem;
  overflow: hidden;
}

.plantilla_form_style {
  /*background-color: #834d4d;
  border-radius: 20px;
  border: 1px solid black;*/
  margin-bottom: 10px;
  width: 80%;
  height: fit-content;
}

#linkTemplate {
  cursor: pointer;
  color: var(--darkcyan);
  float: left;
}

#linkTemplate:hover {
  color: var(--bluebutton);
}

.filtros-horizontal {
  display: inline-flex;
  align-items: normal;
  gap: 110px;
}

.filtro-item {
  display: flex;
  flex-direction: column; /* usa 'row' si prefieres label y select en línea */
  align-items: flex-start;
}

.form-label-forms-suministros {
  font-size: 16px;
  font-weight: bold;
  display: inline-block; /* <- CAMBIO importante */
  margin-bottom: 4px;
}

.form-label-forms-suministros span {
  font-size: 16px;
  font-weight: bold;
  display: inline-block; /* <- CAMBIO importante */
  margin-bottom: 4px;
}

.form-select-forms-suministros {
  font-size: 2rem;
  /*font-weight: bold;*/
  text-align: center;
  border-radius: 5px;
  height: 35px;
  margin: auto;
  color: var(--darkcyan);
  background-color: var(--white);
  /*margin-right: 15px;*/
  padding: 4px;
  /* width: 66%;*/
}

.form-label-forms span {
  color: var(--darkcyan);
  font-size: 14px;
}

.form-input-forms {
  margin: auto;
  font-size: 18px;
  /*font-weight: bold;*/
  text-align: center;
  border-radius: 5px;
  height: 35px;
  width: min-content;
  margin-bottom: 10px;
  color: var(--darkcyan);
}

.form-file-forms {
  margin: -1em 0 4em 0;
}

input[type="file"]::file-selector-button {
  border: 2px solid var(--bluebutton);
  padding: 0.2em 0.4em;
  border-radius: 0.2em;
  background-color: var(--darkcyan);
  transition: 1s;
}

input[type="file"]::file-selector-button:hover {
  background-color: var(--darkcyan);
  border: 2px solid var(--bluebutton);
}

.form-select-forms {
  font-size: 2rem;
  /*font-weight: bold;*/
  text-align: center;
  border-radius: 5px;
  height: 35px;
  color: var(--darkcyan);
  background-color: var(--white);
  margin-right: 15px;
  padding: 4px;
  /* width: 66%;*/
}

.form-select-forms-templates {
  font-size: 2rem;
  /*font-weight: bold;*/
  text-align: center;
  border-radius: 5px;
  height: 35px;
  color: var(--white);
  background-color: var(--darkcyan);
  margin-right: 15px;
  padding: 4px;
  width: 66%;
}

.meses_div,
.ano_div,
.entreFechas_div {
  display: none;
}

.form-select-forms-multiple {
  font-size: 2rem;
  /*font-weight: bold;*/
  text-align: center;
  border-radius: 5px;
  color: var(--darkcyan);
  background-color: var(--white);
  margin-right: 15px;
  padding: 4px;
  /* width: 66%;*/
}

.form-select-seleccion {
  font-size: 2rem;
  /*font-weight: bold;*/
  text-align: center;
  border-radius: 5px;
  height: 35px;
  color: var(--darkcyan);
  background-color: var(--white);
  width: 15%;
}

.form-textarea-forms {
  font-size: 2rem;
  /*font-weight: bold;*/
  text-align: justify;
  border-radius: 5px;
  height: 100px;
  width: fit-content;
  color: var(--darkcyan);
}

.form-inputLogin-forms {
  margin: auto;
  font-size: 2rem;
  text-align: center;
  border-radius: 5px;
  height: 35px;
  margin-bottom: 10px;
  color: var(--darkcyan);
}

.input-password {
  font-size: 2rem;
  text-align: center;
  border-radius: 5px;
  height: 40px;
  width: 300px;
  margin-bottom: 0px;
}

.one-more-block {
  /*display: inline-flex;
   align-items: flex-end;*/
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  width: fit-content;
  height: fit-content;
}

input[type="password"] {
  display: block;
  margin: auto;
  height: 40px;
  line-height: 40px;
  font-size: 2rem;
  padding: 10px;
  border: 1px solid #bbb;
  text-align: center;
  color: var(--darkcyan);
  /*font-weight: bold;*/
  width: 100%;
}

.section-gasolina {
  width: auto;
}

/**********/

.show-password {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-55%);
  cursor: pointer;
}

.radios div {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  justify-content: center;
}

.radios input[type="radio"] {
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.radios input[type="radio"]:checked + span {
  box-shadow: 0 0 0 0.0625em var(--darkcyan);
  background-color: #dee7ff;
  z-index: 1;
  color: var(--bluebutton);
}

.checkbox-wrapper-2 {
  display: flex;
  flex-direction: row-reverse;
  align-content: center;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
}

.checkbox-wrapper-2 .ikxBAC {
  appearance: none;
  background-color: #dfe1e4;
  border-radius: 72px;
  border-style: none;
  flex-shrink: 0;
  height: 20px;
  margin: 0;
  position: relative;
  width: 30px;
}

.checkbox-wrapper-2 .ikxBAC::before {
  content: none;
}

.checkbox-wrapper-2 .ikxBAC,
.checkbox-wrapper-2 .ikxBAC::after {
  transition: all 100ms ease-out;
}

.checkbox-wrapper-2 .ikxBAC::after {
  background-color: #fff;
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 14px;
}

.checkbox-wrapper-2 input[type="checkbox"] {
  cursor: default;
}

.checkbox-wrapper-2 .ikxBAC:hover {
  background-color: #c9cbcd;
  transition-duration: 0s;
}

.checkbox-wrapper-2 .ikxBAC:checked {
  background-color: var(--darkcyan);
}

.checkbox-wrapper-2 .ikxBAC:checked::after {
  background-color: #fff;
  left: 13px;
}

.checkbox-wrapper-2 :focus:not(.focus-visible) {
  outline: 0;
}

.checkbox-wrapper-2 .ikxBAC:checked:hover {
  background-color: #535db3;
}

.checkbox-wrapper-2 .form-label-forms {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-label-forms {
  font-size: 20px;
  font-weight: bold;
  align-items: center;
  justify-content: space-between;
  margin-right: 5px;
}

.label-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-wrapper-2 .ikxBAC {
  display: block;
  width: 30px;
  height: 20px;
  margin: 0;
  position: relative;
}

/*.checkbox-wrapper-2 .info-icon {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  cursor: help;
}*/

.info-icon {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  cursor: help;
}

.nameFile,
.nameFolder {
  color: var(--darkcyan);
  width: min-content;
}

.cursor {
  cursor: default;
  color: #eddbaf;
  /*text-decoration: underline;*/
}

/* Para las alertas */
.alert:empty {
  display: none;
}

.alert {
  font-size: 16px;
  font-weight: bold;
  color: var(--red);
  padding: 7px;
}

.pagado,
.no-pagado,
.pagado-texto,
.no-pagado-texto {
  font-size: 16px;
  font-weight: bold;
  padding: 7px;
}

.no-pagado {
  color: var(--bluebutton);
  background: var(--no-pagado);
}

.pagado {
  color: var(--green);
  background: var(--pagado);
}

tr.pagado td {
  color: black;
}

.pagado-texto {
  color: var(--green);
}

.no-pagado-texto {
  color: var(--red);
}

.confirmar_impago {
  /*font-size: 16px;*/
  /*font-weight: bold;*/
  color: var(--red);
  padding: 7px;
  display: block;
  width: fit-content;
}

.confirmar_cobro {
  /*font-size: 16px;*/
  background-color: transparent;
  border: none;
  /*font-weight: bold;*/
  color: var(--green);
  padding: 7px;
  display: block;
  width: fit-content;
}

.graficoInicio {
  width: 50%;
  height: 400px;
  margin: auto;
}

table {
  margin: 10px auto 10px auto;
  overflow: auto;
  height: fit-content;
  width: fit-content;
  background-color: var(--tableBackground);
  border: 1px solid #999;
  border-collapse: collapse;
  caption-side: top;
  padding: 5px 10px;
  text-align: center;
}

td,
th {
  padding: 0.3em;
}

table thead th,
tbody th {
  background-color: var(--darkcyan);
  color: var(--white);
  font-weight: bolder;
  font-size: 1rem;
  border: 1px solid #ddd;
  height: 20px;
  padding: 5px 10px;
  text-align: center;
}

thead tr:first-child {
  font-size: 0.5rem;
  height: 40px;
}

table tbody td {
  border-bottom: 1px solid #ddd;
  font-size: 1.2rem;
  border: 1px solid #ddd;
  color: black;
}

table tbody td a:not(.boton_eliminar) {
  font-size: 1.5rem;
  color: blue;
}

table tbody tr:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
  transform: translateY(-1px);
}

table tfoot {
  background-color: #3f87a6;
  color: #fff;
  font-size: 2rem;
}

table.rentaTable {
  font-size: 1.5rem;
}

.acciones {
  text-align: center;
  white-space: nowrap;
  display: flex; /* pone los formularios en línea */
  gap: 30px; /* separación entre botones */
}

.btn-action {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 10px;
  cursor: pointer;
}

.btn-action img {
  /*width: 25px;
  height: 25px;
  margin: 0 4px;
  cursor: pointer;*/
  width: 25px;
  height: 25px;
}

.acciones form {
  margin: 0; /* elimina márgenes por defecto de los forms */
}

/*.btn-action.impago {
    background-color: #5c1f22;
    color: white;
    padding: 14px;
  }

 .btn-action.cobrado {
    background-color: #396823;
    color: white;
    padding: 14px;
  }*/

.tooltip {
  position: relative;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  width: 300px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 6px;

  position: absolute;
  z-index: 999;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);

  opacity: 0;
  transition: opacity 0.2s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.rentaTable td,
.rentaTable th {
  font-size: 1.5rem;
}

.rentaTable tr:nth-child(even) {
  background-color: #f2f2f2;
}

.rentaTable tr:hover {
  background-color: var(--tablaHover);
}

.rentaTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04aa6d;
  color: white;
}

.rentaFactura {
  background-color: #b3b7b9;
}

.rentaFactura th {
  background-color: #04aa6d;
  color: white;
}

.rentaFactura td {
  text-align: center;
}

label {
  display: block;
  padding: 0 0 5px 0;
}

form {
  margin-bottom: 1em;
  font-size: 20px;
}

form > div {
  margin-bottom: 1em;
  overflow: auto;
  height: fit-content;
}

input[type="radio"] + span {
  display: block;
  border: 1px solid black;
  border-left: 0;
  padding: 5px 10px;
}

label:first-child input[type="radio"] + span {
  border-left: 1px solid black;
}

input[type="radio"]:checked + span {
  background: silver;
}

.mainTable {
  overflow: auto;
  height: auto;
  width: 100%;
}

.mainTable table {
  border: 1px solid #999;
  border-collapse: collapse;
  caption-side: top;
  width: fit-content;
  padding: 5px 10px;
  text-align: center;
  margin: auto;
}

td,
th {
  padding: 0.3em;
}

.mainTable tbody th:not(.title) {
  background-color: #1883ba;
  color: var(--white);
  font-size: 20px;
  border: 1px solid #ddd;
  height: 20px;
  padding: 5px 10px;
  text-align: center;
}

.mainTable tbody th {
  background-color: #25ba18;
  color: var(--white);
  font-size: 30px;
  border: 1px solid #ddd;
  height: 20px;
  padding: 5px 10px;
  text-align: center;
  width: 60%;
}

.mainTable tbody td {
  border-bottom: 1px solid #ddd;
  font-size: 20px;
  width: auto;
  border: 1px solid #ddd;
  height: 20px;
  color: black;
}

.mainTable tbody td a:not(.boton_eliminar) {
  font-size: 20px;
  color: var(--darkcyan);
}

.mainTable tbody tr:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
  transform: translateY(-1px);
}

.mainTable tfoot {
  background-color: var(--darkcyan);
  color: #fff;
  font-size: 14px;
}

/** Para gestionar los estados **/
.estado-activo {
  color: var(--green);
  font-weight: bold;
}

.estado-inactivo {
  color: #e94724;
  font-weight: bold;
}

/* Professional table refresh. Keeps row colors from classes/bgcolor intact. */
.containerTable,
.table-container,
.container-table,
.mainTable {
  max-width: calc(100vw - 28px);
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table:not(.rentaTable),
.mainTable table {
  width: max-content;
  max-width: 100%;
  margin: 18px auto;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 7px;
  background: transparent;
  color: #1f2933;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

table:not(.rentaTable) thead th,
table:not(.rentaTable) tbody th,
.mainTable tbody th,
.mainTable tbody th:not(.title) {
  height: auto;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: #123d46;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

table:not(.rentaTable) thead th:first-child,
table:not(.rentaTable) tbody th:first-child,
.mainTable tbody th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

table:not(.rentaTable) thead th:last-child,
table:not(.rentaTable) tbody th:last-child,
.mainTable tbody th:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

table:not(.rentaTable) tbody tr,
.mainTable tbody tr {
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease,
    filter 0.18s ease;
}

table:not(.rentaTable) tbody tr:not([bgcolor]):not(.pagado):not(.no-pagado):not([style*="background"]) {
  background-color: #ffffff;
}

table:not(.rentaTable) tbody td,
.mainTable tbody td {
  height: auto;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background-color: inherit;
  color: #111827;
  font-size: 1.22rem;
  line-height: 1.35;
  vertical-align: middle;
}

table:not(.rentaTable) tbody td:first-child,
.mainTable tbody td:first-child {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

table:not(.rentaTable) tbody td:last-child,
.mainTable tbody td:last-child {
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

table:not(.rentaTable) tbody tr:hover,
.mainTable tbody tr:hover {
  filter: saturate(1.05) brightness(1.02);
}

table:not(.rentaTable) tbody td a:not(.boton_eliminar),
.mainTable tbody td a:not(.boton_eliminar) {
  color: #0f766e;
  font-size: inherit;
  font-weight: 800;
  text-decoration: none;
}

table:not(.rentaTable) tbody td a:not(.boton_eliminar):hover,
.mainTable tbody td a:not(.boton_eliminar):hover {
  color: #0b4f4a;
  text-decoration: underline;
}

table:not(.rentaTable) tfoot,
.mainTable tfoot {
  background-color: #123d46;
  color: #ffffff;
  font-size: 1.35rem;
}

table:not(.rentaTable) tfoot td,
.mainTable tfoot td {
  padding: 11px 12px;
}

td.acciones,
.acciones {
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

.chequeo-mensual-page #mes_form {
  width: min(520px, calc(100% - 24px));
  margin: 0 auto 20px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.chequeo-mensual-page #base > div h1 {
  margin: 18px auto 14px;
  color: #8a0000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.2;
}

.chequeo-mensual-page h2 {
  margin: 14px auto 12px;
  color: #1f2933;
  font-family: Arial, Helvetica, sans-serif;
}

@media only screen and (max-width: 480px) {
  body.chequeo-mensual-page {
    overflow-x: hidden;
  }

  .chequeo-mensual-page .spacer-40 {
    margin-top: 24px;
  }

  .chequeo-mensual-page .tituloH1 {
    width: calc(100% - 28px);
    margin-top: 8px;
  }

  .chequeo-mensual-page .tituloH1 h1 {
    color: #6b7280;
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .chequeo-mensual-page .tituloH1 span {
    color: #463543;
    font-size: 1.6rem;
  }

  .chequeo-mensual-page #base {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px 24px;
  }

  .chequeo-mensual-page #mes_form {
    width: 100%;
    margin-bottom: 18px;
    padding: 12px;
  }

  .chequeo-mensual-page #mes_form .button {
    min-height: 38px;
    margin-bottom: 8px;
    border-radius: 7px;
    font-size: 1.2rem;
  }

  .chequeo-mensual-page .form-label-forms {
    display: block;
    margin-top: 6px;
    font-size: 1.5rem;
    text-align: left;
  }

  .chequeo-mensual-page .form-select-seleccion {
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    margin-top: 6px;
    border-radius: 7px;
    font-size: 1.4rem;
    text-align: center;
  }

  .chequeo-mensual-page table:not(.rentaTable) {
    width: 100%;
    margin-top: 10px;
  }

  .chequeo-mensual-page table:not(.rentaTable) tr {
    margin-bottom: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  }

  .chequeo-mensual-page table:not(.rentaTable) td {
    gap: 16px;
    text-align: right;
  }

  .chequeo-mensual-page table:not(.rentaTable) td::before {
    flex: 0 0 42%;
    color: #253442;
    text-align: left;
  }

  .chequeo-mensual-page table:not(.rentaTable) td.acciones {
    justify-content: center;
  }

  .chequeo-mensual-page table:not(.rentaTable) td.acciones::before {
    display: none;
  }
}
/*** Estilos de renta.php ***/

.links_renta {
  text-align: left;
  /*position: relative;*/
  margin-top: 8%;
  margin-left: 55%;
  transform: translate(-50%, -50%);
}

.links_renta ul {
  padding: 0;
  list-style-type: circle;
}

/* Style the list items */
.links_renta li {
  display: list-item;
  margin-right: 10px;
}

.links_renta li a {
  font-weight: bold;
  color: var(--darkcyan);
  font-size: large;
  transition: color 0.3s ease;
}

.links_renta li a:visited {
  color: var(--darkcyan);
}

.links_renta li a:hover {
  font-weight: bold;
  color: var(--bluebutton);
  font-size: large;
}

#ventanaEmergente {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: #7a788b;
  border: 1px solid black;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  display: none;
}

#ventanaEmergente select {
  color: blue;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#ventanaEmergente button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #4c8baf;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#ventanaEmergente button:hover {
  background-color: #0d5574;
}

.facturaCheckbox {
  visibility: hidden;
}

.tituloH1 {
  margin: auto;
  width: fit-content;
}

.tituloH1 h1 {
  margin: 0 auto;
  text-align: center;
  font-size: 4rem;
  line-height: 1.3;
  color: #89867e;
  font-weight: 300;
  text-transform: uppercase;
}

.tituloH1 span {
  display: block;
  font-size: 60%;
  color: #463543;
  padding: 0 0 0.6em 0.1em;
  text-transform: uppercase;
}

.IndexH1 h1 {
  text-align: center;
  font-size: 2.625em;
  line-height: 1.3;
  color: #89867e;
  font-weight: 300;
  text-transform: uppercase;
}

.IndexH1 span {
  display: block;
  font-size: 60%;
  color: #463543;
  padding: 0 0 0.6em 0.1em;
  text-transform: uppercase;
}

#search {
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 12px;
}

textarea:not(.infoRVoice) {
  width: fit-content;
  /*height: 10%;*/
  /*padding: 12px 20px;*/
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 12px;
  resize: both;
}

#imagen {
  margin-left: auto;
  margin-right: auto;
}

#base {
  margin-top: 10px;
  text-align: center;
  padding-top: 5px;
}

p {
  margin-left: 0%;
}

#menu {
  margin-left: 0%;
}

input[type="reset" i],
.button {
  text-decoration: none;
  white-space: nowrap;
  padding: 5px;

  font-size: 2rem;
  color: #ffffff;
  background-color: #1883ba;
  border-radius: 6px;
  border: 2px solid #0016b0;
  width: max-content;
  margin-top: 10px;
  cursor: pointer;
}

.filtrar-suministros-button {
  margin: auto;
}

.button:hover {
  color: #1883ba;
  background-color: #ffffff;
}

input[type="reset" i]:hover {
  color: var(--lightblue);
  background-color: var(--white);
}

.containerTable {
  position: relative;
  overflow-x: auto;
  width: fit-content;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  /* Permite desplazamiento horizontal si el contenido de la tabla es demasiado ancho */
}

.container-table {
  position: relative;
  /* Asegúrate de que la tabla tenga un contexto de posicionamiento */
}

.num_register {
  float: right;
  width: auto;
  height: 2em;
  /* Otros estilos según sea necesario */
}

.textNumRegistros {
  font-size: 14px;
}

span[type="button"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline;
  font-size: 18px;
  line-height: 2.5em;
  color: #333;
  font-weight: bold;
  height: 1.5em;
  background: #fdfdfd;
  background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #fdfdfd),
    color-stop(100%, #bebebe)
  );
  background: -webkit-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
  background: -o-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
  background: -ms-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
  background: linear-gradient(to bottom, #fdfdfd 0%, #bebebe 100%);
  border: 1px solid #bbb;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  cursor: pointer;
}

/*Paginador*/

.paginador {
  margin-left: 14%;
}

.paginador ul {
  /*padding: 15px;*/
  justify-content: flex-end;
  list-style: none;
  background: #fffcf5;
  margin: 15px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  margin-right: 15%;
}

.paginador a,
.pageSelected {
  color: #428bca;
  border: 1px solid #ddd;
  padding: 5px;
  display: inline-block;
  font-size: 14px;
  text-align: center;
  width: 35px;
}

.paginador a:hover {
  background: #c2b1b1;
}

.pageSelected {
  color: #fff;
  background: #428bca;
  border: 1px solid #428bca;
}

/*Paginador*/

.paginadorMovimientos {
  margin-left: auto;
  padding-bottom: 1%;
}

.paginadorMovimientos ul {
  /*padding: 15px;*/
  justify-content: flex-end;
  list-style: none;
  background: transparent;
  margin: 15px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: inline-flex;
  /* margin-right: 15% */
}

.paginadorMovimientos a,
.pageSelectedMovimientos {
  color: #428bca;
  border: 1px solid #ddd;
  padding: 5px;
  display: inline-block;
  font-size: 14px;
  text-align: center;
  width: 35px;
}

.paginadorMovimientos a:hover {
  background: #c2b1b1;
}

.pageSelectedMovimientos {
  color: #fff;
  background: #428bca;
  border: 1px solid #428bca;
}

/*Paginador Extras*/

/*Paginador Gastos de viaje*/

.paginadorGastosViaje {
  margin-left: auto;
}

.paginadorGastosViaje ul {
  /*padding: 15px;*/
  justify-content: flex-end;
  list-style: none;
  background: #fffcf5;
  margin: 15px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  margin-right: 15%;
}

.paginadorGastosViaje a,
.pageSelectedGastosViaje {
  color: #428bca;
  border: 1px solid #ddd;
  padding: 5px;
  display: inline-block;
  font-size: 14px;
  text-align: center;
  width: 35px;
}

.paginadorGastosViaje a:hover {
  background: #c2b1b1;
}

.pageSelectedGastosViaje {
  color: #fff;
  background: var(--lightblue);
  border: 1px solid var(--maroon);
}

.tickerContainer {
  margin: auto;
  width: fit-content;
}

.TextBoxTicker {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #f5ee0a;
  background: var(--maroon);
}

.errorMessage {
  color: var(--red);
  text-align: center;
  font-size: xx-large;
  margin-bottom: 10px;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  width: inherit;
}

.contenedorError {
  margin: 10% 10% auto 10%;
  background-color: var(--white);
  border: 2px solid blue;
  width: auto;
  height: 200px;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

#chartContainer {
  width: 50%; /* Ajusta el ancho del contenedor */
  height: 300px; /* Ajusta la altura del contenedor */
  margin: 0 auto; /* Centra el contenedor */
}

#myChart {
  width: 50%; /* Tamaño por defecto */
  height: 300px; /* Tamaño por defecto */
}

.emptyCell {
  background-color: var(--darkcyan);
  padding: 4px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content p {
  white-space: pre-line; /* interpreta \n como salto de línea */
}

.modal-content {
  background: var(--darkcyan);
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#cerrarModal {
  float: right;
  cursor: pointer;
  font-size: 20px;
}

/* Estilos para pantallas grandes (PC) */
@media only screen and (min-width: 750px) {
  #start-btn {
    left: 1%; /* Aplica el margen izquierdo solo en pantallas grandes */
  }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width: 800px) and (orientation: landscape) {
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 480px) {
  * {
    box-sizing: border-box;
  }

  html {
    font-size: 50%;
  }

  body {
    margin: 0; /* Elimina márgenes predeterminados */
    padding: 0; /* Elimina relleno predeterminado */
    overflow-x: hidden;
    background: #afaeb5;
    font-size: 14px;
    font-family: "kruge", sans-serif;
    width: 100%; /*****/
    margin: 0;
    height: 100vh;
  }

  .VRContainer {
    display: none;
  }

  .infoBox {
    width: 100%; /* Relleno completo del contenedor */
    height: 30%; /* Ajusta automáticamente la altura al contenido */
    position: fixed; /* Fijado en la pantalla */
  }

  .Container_exchangeCurrency {
    margin-top: 3rem;
    align-items: center;
    font-size: 12px;
    float: right;
  }

  .locationInfo-ok,
  .locationInfo-style-ko {
    font-weight: bold;
  }

  table:not(.rentaTable),
  table:not(.rentaTable) thead,
  table:not(.rentaTable) tbody,
  table:not(.rentaTable) th,
  table:not(.rentaTable) td,
  table:not(.rentaTable) tr {
    display: block;
  }

  table:not(.rentaTable) thead {
    display: none;
  }

  table:not(.rentaTable) tr {
    margin-bottom: 12px;
    border-radius: 8px;
    padding: 8px;
  }

  table:not(.rentaTable) tr:not([bgcolor]):not(.pagado):not(.no-pagado):not([style*="background"]) {
    background: #f5f5f5;
  }

  table:not(.rentaTable) tr.pagado {
    background: var(--pagado);
  }

  table:not(.rentaTable) tr.no-pagado {
    background: var(--no-pagado);
  }

  table:not(.rentaTable) td {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
  }

  table:not(.rentaTable) td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #555;
  }

  table:not(.rentaTable) tr.pagado td::before {
    color: black;
  }

  table:not(.rentaTable) tr.no-pagado td::before {
    color: white;
  }

  table:not(.rentaTable) td.gasto {
    color: #b00020;
    font-weight: bold;
  }

  table:not(.rentaTable) td.ingreso {
    color: #0a7a0a;
  }

  table:not(.rentaTable) td.acciones {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
  }

  table:not(.rentaTable) .btn-action {
    flex: 1;
    text-align: center;
    padding: 2rem 5rem;
    border-radius: 8px;
  }

  table:not(.rentaTable) .btn-action img {
    width: 26px;
    height: 26px;
  }

  table:not(.rentaTable) .btn-action.edit {
    background-color: #e8f0fe;
  }

  table:not(.rentaTable) .btn-action.delete {
    background-color: #fdecea;
  }

  table:not(.rentaTable) .btn-action.download {
    background-color: #e6f4ea;
  }

  .btn-action.impago {
    background-color: #dd5858;
  }

  .btn-action.cobrado {
    background-color: #9bd390;
  }

  table:not(.rentaTable) td.empty-mobile {
    display: none !important;
  }

  .hide-on-mobile {
    display: none !important;
  }

  #base {
    text-align: center;
    padding-top: 10px;
    width: 47rem;
    margin-left: 0rem;
  }

  .bienvenido {
    text-align: center;
    padding-top: 10px;
    max-width: 47rem;
    width: 100%;
    margin: 0 auto;
  }

  .contenedor {
    width: 100%; /* Ajusta al ancho del body */
    min-height: 100vh; /* Mantiene el alto mínimo sin cortar formularios largos */
    height: auto;
    justify-content: center; /* Opcional: Centra horizontalmente */
    align-items: center; /* Opcional: Centra verticalmente */
    background-color: inherit;
    border: none;
    padding: 5px;
    font-size: 16px;
    margin-top: 3rem;
    /*margin-left: 2rem;*/
    font-size: 2rem;
    position: inherit;
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible;
  }

  .contenedor:hover {
    background-color: inherit; /* Reset hover styles */
    /* Reset other hover-specific styles if needed */
    border: none;
  }

  .form-inputLogin-forms,
  .input-password {
    width: 100%;
    font-size: 2.5rem;
    height: 5rem;
  }

  .show-password {
    top: 50%;
    right: 5%; /* Adjust for smaller space */
    transform: translateY(-50%);
  }

  .login {
    margin: 10px auto;
    width: 90%;
  }

  .button_login {
    font-size: 3rem;
    padding: 10px;
    margin: 10px auto;
    width: max-content;
  }

  .button_login[type="submit" i] {
    font-size: 3rem;
    width: 100%;
    height: auto;
  }

  .footer {
    /*bottom: 0px;*/
    margin-left: 1px;
  }

  .tickerContainer {
    margin-left: 0rem;
  }

  .TextBoxTicker {
    width: 100%; /* Ajusta al ancho del body */

    margin-left: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    color: #f5ee0a;
    background: var(--maroon);
  }

  #copyright {
    font-size: 12px;
  }

  #linkTemplate {
    float: none;
    z-index: 9999;
  }

  .filtros-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }

  .filtro-item {
    display: flex;
    flex-direction: column;
    min-width: 150px;
  }

  .form-input-forms,
  .form-select-forms,
  .form-select-forms-multiple,
  .form-select-seleccion,
  .form-textarea-forms,
  .form-label-forms-suministros {
    width: 100%;
    font-size: 2.5rem;
  }

  .meses_div,
  .ano_div,
  .entreFechas_div {
    display: none;
  }

  /* Estilos para etiquetas */
  .form-label-forms-suministros {
    /*font-size: 16px;*/
    font-weight: bold;
    display: inline-block;
    margin-bottom: 4px;
  }

  /* Opcional: estilo para span dentro del label */
  .form-label-forms-suministros span {
    /*font-size: 16px;*/
    font-weight: bold;
  }

  .one-more-block {
    width: 100%;
  }

  .IndexH1 h1 {
    font-size: 1.5em;
  }

  .IndexH1 span {
    font-size: 0.8em;
  }

  .radios div {
    flex-direction: row;
    align-items: center;
  }

  .checkbox-wrapper-2 {
    height: 1.2em;
  }

  input[type="password"] {
    width: 100%;
    font-size: 2.5rem;
  }

  .nameFile,
  .nameFolder {
    font-size: 16px;
  }

  .alert,
  .pagado,
  .no-pagado,
  .confirmar_impago,
  .confirmar_cobro {
    width: 100%;
    font-size: 14px;
    padding: 5px;
  }

  .graficoInicio {
    width: 90%; /* Make charts responsive */
    height: auto; /* Maintain aspect ratio */
    margin: 20px auto;
  }

  form {
    margin-bottom: 1em;
    font-size: 20px;
    width: fit-content;
  }

  .tooltip-text {
    transform: translateX(-90%);
  }

  .containerTable {
    width: 100%;
    height: auto;
    overflow-x: auto; /* Enable horizontal scrolling for wide tables */
    /* border: 1px solid var(--white);*/
  }

  table {
    /*width: fit-content;
    /font-size: 2rem; /* Reduce font size for better fit */
    border-collapse: collapse;
  }

  .table-container {
    -webkit-overflow-scrolling: touch; /* Suaviza el scroll en dispositivos móviles */
  }

  label,
  form > div {
    font-size: 3rem;
  }

  .mainTable tbody th,
  .mainTable tbody td {
    font-size: 2rem;
    padding: 8px;
  }

  .mainTable tbody tr:hover {
    background-color: var(--white); /* Slight color change for mobile hover */
  }

  table tfoot {
    font-size: 2rem;
  }

  .links_renta {
    margin: 157px -124px -121px 192px;
    text-align: center;
    max-width: fit-content;
  }

  .links_renta ul {
    padding: 0;
    list-style-type: circle;
  }

  /* Style the list items */

  .links_renta li {
    display: inline-block; /* Align links horizontally */
    margin: 6px;
  }

  .tituloH1 h1 {
    font-size: 14px;
  }

  .tituloH1 span {
    font-size: 10px;
    font-size: 2rem;
  }

  textarea {
    width: 100%; /* Full width for text area */
    height: auto; /* Flexible height */
  }

  p {
    margin-left: 5%;
    margin-right: 5%;
  }

  #menu {
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Center menu items */
  }

  .paginador ul,
  .paginadorMovimientos ul {
    flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
    justify-content: center; /* Center pagination items */
  }

  .paginador a,
  .pageSelected,
  .paginadorMovimientos a,
  .pageSelectedMovimientos {
    width: 30px;
    font-size: 12px;
    padding: 5px;
  }

  .num_register {
    float: none;
    margin: 10px auto;
    text-align: center;
  }

  .form_busqueda {
    margin: 5px;
    width: 90%;
  }

  #chartContainer {
    width: 100%; /* Ajusta el ancho del contenedor */
    height: 300px; /* Ajusta la altura del contenedor */
    margin: 0 auto; /* Centra el contenedor */
  }

  #myChart {
    width: 100%; /* Tamaño en dispositivos móviles */
    height: 200px; /* Tamaño en dispositivos móviles */
  }

  /* --- Estilo del menú autocomplete --- */
  .ui-autocomplete {
    max-height: 220px; /* Altura cómoda */
    overflow-y: auto; /* Scroll táctil */
    overflow-x: hidden;
    background: rgb(133, 136, 160);
    border-radius: 8px; /* Bordes suaves */
    padding: 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(6, 84, 240, 0.15);
    font-size: 2rem; /* Más grande en móvil */
    z-index: 99999 !important; /* Evita que quede debajo de otros elementos */
  }

  /* --- Elementos de la lista --- */
  .ui-menu-item-wrapper {
    padding: 12px 10px;
    border-bottom: 1px solid #030303;
  }

  /* Último elemento sin borde */
  .ui-menu-item-wrapper:last-child {
    border-bottom: none;
  }

  /* Hover o pulsado */
  .ui-menu-item-wrapper.ui-state-active {
    background: #e9e5e5 !important;
    border: none !important;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .modal-content p {
    white-space: pre-line; /* interpreta \n como salto de línea */
  }

  .modal-content {
    background: var(--darkcyan);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #cerrarModal {
    float: right;
    cursor: pointer;
    font-size: 20px;
  }
}

@media (max-width: 820px) {
  body.login-page {
    background:
      linear-gradient(
        180deg,
        rgba(8, 29, 39, 0.84) 0%,
        rgba(8, 29, 39, 0.68) 36%,
        rgba(245, 248, 250, 0.96) 36.1%,
        rgba(245, 248, 250, 0.98) 100%
      ),
      url("../images/index_background.png") center center / cover no-repeat;
  }

  .login-shell {
    width: min(100% - 28px, 520px);
    min-height: calc(100vh - 56px);
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 18px;
  }

  .login-hero-content {
    text-align: center;
  }

  .login-brand-logo {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 18px;
  }

  .login-brand.IndexH1 h1,
  .login-brand h1 {
    font-size: 4.2rem;
    text-align: center;
  }

  .login-brand.IndexH1 span,
  .login-brand span {
    margin-top: 10px;
    font-size: 1.45rem;
  }

  .login-hero-copy {
    display: none;
  }

  .login-card {
    padding: 26px 20px;
  }

  .login-card h2 {
    font-size: 2.6rem;
  }

  .login-page .form-inputLogin-forms,
  .login-page input[type="password"] {
    height: 50px;
    font-size: 1.6rem;
    line-height: 50px;
  }

  .login-page .button_login[type="submit" i] {
    min-height: 50px;
    font-size: 1.6rem;
  }
}
