@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik+Vinyl&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
/* Reset Básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Lato", serif;
  background-color: #d2d8de;
}

/* Elimina el subrayado en enlaces */
a {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
  /* Usa el color del texto padre */
}

/* Evita listas con viñetas o numeraciones */
ul,
ol {
  list-style: none;
}

/* Ajustes generales para botones */
button,
input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* Mejorar la accesibilidad en imágenes */
img {
  max-width: 100%;
  /*   height: auto; */
  display: block;
}

/* .fa-cog,
.fa-refresh {
  color: #fff;
} */

/* Tablas sin bordes adicionales */
table {
  border-collapse: collapse;
  width: 100%;
}
.table-responsive {
  overflow: auto;
}
th {
  text-align: center !important;
  text-transform: uppercase;
  font-size: 19px;
  font-family: "Barlow Condensed", serif;
}

tbody td {
  text-align: center !important;
  font-family: "Barlow Condensed", serif;
  font-size: 1.1rem;
}
tbody td:nth-child(1) {
  text-align: left !important;
}

/* Formatos para títulos */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

/* Mejora la apariencia de los formularios */
input,
textarea,
select {
  padding: 0.5rem;
}

/* Elimina el margen adicional en los párrafos */
p {
  margin: 0;
}

i,
li {
  color: #cbcfd5;
}

input,
select {
  background-color: #d3d3d3a8;
  border-radius: 0.3rem;
}
textarea {
  background-color: transparent;
  height: 100px;
}

form {
  padding: 1rem 2.5rem !important;
}

/* Inician estilos */

header {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 0.5rem;
  background-color: #272d36;
  z-index: 1;
}

.full-pantalla {
  padding-left: 0.5rem;
  cursor: pointer;
}

.control-sesion {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

.control-sesion span {
  padding: 0.5rem 0.7rem;
  background-color: #b2661b;
  border-radius: 0.3rem;
  text-transform: uppercase;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

.control-sesion i {
  font-size: 1.5rem;
}

.menu__desktop {
  background-color: #161413;
  width: 240px;
  height: 100%;
  max-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transition: left 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  overflow-y: auto;
}

.logo {
  width: 100%;
  margin-bottom: 2rem;
  padding: 1rem;
}

.logo img {
  width: 100%;
}

.menu__desktop ul {
  margin-top: -4rem;
  align-self: self-start;
  width: 100%;
}

.menu__desktop ul li {
  margin-top: 0.7rem;
  padding: 0.4rem;
  padding-left: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  text-align: center;
  font-family: "Lato", serif;
  cursor: pointer;
}

.menu__desktop ul li i {
  width: 25px;
}

.menu__desktop ul > li:first-child {
  background-color: #333e52;
  padding-bottom: 1rem;
  font-family: "Barlow Condensed", serif;
}

.menu__desktop ul li:nth-child(7) {
  background-color: #333e52;
  padding-bottom: 1rem;
  margin-top: 1rem;
  font-family: "Barlow Condensed", serif;
}

.menu__desktop ul li:hover {
  background-color: #272d36;
}

.menu__desktop small {
  margin-top: auto;
  padding-bottom: 1rem;
  font-family: "Barlow Condensed", serif;
  color: #fff;
}

.menu__desktop small i {
  padding-right: 0.3rem;
}

.menu__mobile {
  padding: 1rem;
  display: none;
}

.menu__mobile div {
  width: 35px;
  text-align: center;
}
.menu__mobile div i {
  font-size: 1.5rem;
}

.full-pantalla i {
  font-size: 1.5rem;
}

main {
  padding: 1rem;
  padding-top: 1rem;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card {
  display: flex;
  justify-content: space-around;
  width: 100%;

  flex-wrap: wrap;
  padding: 1rem;
}
.card-item {
  width: 230px;
  height: 200px;
  background-color: #333e52b0;
}

.main > button {
  align-self: flex-end;
  padding: 0.7rem;
  background-color: #161413;
  color: #fff;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.main table {
  margin-top: 2rem;
}

.main__encabezado {
  display: flex;
  gap: 2rem;
  align-items: center;
  background-color: #272d361c;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.3rem;
  font-family: "Lato", serif;
}

.main__encabezado button {
  padding: 0.5rem 0.7rem;
  background-color: #333e52;
  border-radius: 0.5rem;
}

/* Seccion sistema */

.form__sistema {
  width: 100%;
  background-color: #cbcfd514 !important;
}

.form__sistema .closeForm {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form__sistema .closeForm span:last-child:hover {
  color: red;
  transform: scale(1.5);
}

.form__sistema > div {
  margin-top: 1rem;
}

.form__sistema div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form__sistema > div:last-child {
  width: 120px;
}
.form__sistema > div button {
  padding: 0.8rem;
  background-color: #272d36;
  color: #fff;
  border-radius: 0.3rem;
  cursor: pointer;
  font-size: 1rem;
}

.form__sistema .form__sistema__bloque--uno,
.form__sistema .form__sistema__bloque--dos {
  flex-direction: row;
}

.form__sistema .form__sistema__bloque--uno > div,
.form__sistema .form__sistema__bloque--dos > div {
  flex-grow: initial;
  width: 50%;
  margin: auto;
}

#formConfig div input {
  background-color: #333e5214;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Seccion precios */

#formPrecios {
  display: none;
}



.acciones {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.03rem;
}

.acciones button {
  padding: 0.5rem;
  color: #fff;
  border-radius: 0.3rem;
  cursor: pointer;
}
.acciones button:first-child {
  background-color: #0d2d5c;
}
.acciones button:nth-child(2) {
  background-color: #067493;
}

.reimprimir {
  background-color: #928686;
}
.acciones button:last-child {
  background-color: #9a1212;
}

.servicios {
  margin-top: 1.8rem;
}

/* Seccion clientes */

#formClientes {
  display: none;
}

/* Seccion estacionar */

#formEstacionar {
  display: none;
}

#folioNum {
  padding: 1rem;
  width: 250px;
  color: rgb(201, 85, 85);
  font-weight: bold;
  text-align: center;
  caret-color: red;
  font-size: 1.1rem;
}

/* Seccion venta servicios */

#formVentaServicio {
  display: none;
}

#formServicio {
  display: none;
}

#formVentaServicio select#id_servicio {
  font-size: 1.2rem;
}

/* Seccion rentas */

#formRenta {
  display: none;
}

#formRenta .fecha_vencimiento div {
  flex-grow: initial;
  width: 50%;
  margin: auto;
}

#formPension {
  display: none;
}

/* Seccion config */

#formGastos {
  display: none;
}

/* Seccion usuarios */

#formUsuarios {
  display: none;
}

/* Seccion panel */

.contenedor {
  display: flex;
  justify-content: space-evenly;

  flex-wrap: wrap;

  align-content: center;
  gap: 2rem;
}
.contenedor .item {
  width: 230px;
  height: 230px;
  padding: 0.5rem;
  border: 1px solid #161413;
  border-radius: 0.3rem;
  position: relative;
  opacity: 0.7;
}

.contenedor .item .dato {
  position: absolute;
  width: fit-content;
  height: 30px;
  top: 0;
  right: 0;
  background-color: #ff9900;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: bold;
  margin: 0.5rem 0.5rem 0 0;
  font-size: 1.3rem;
  padding: 0.5rem;
  border-radius: 0.3rem;
}

.contenedor .item:last-child div:first-child {
  background-color: #1d5904;
}

.contenedor .item .header {
  padding: 0.7rem 0;
}

.contenedor .item .content {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-size: 75%;
}
.contenedor .item:first-child div:last-child {
  background-image: url(../img/card/parking.png);
}

.contenedor .item:nth-child(2) .content {
  background-image: url(../img/card/servicios.png);
}
.contenedor .item:nth-child(3) .content {
  background-image: url(../img/card/gasto.png);
}
.contenedor .item:nth-child(4) .content {
  background-image: url(../img/card/renta.png);
}
.contenedor .item:last-child .content {
  background-image: url(../img/card/neto.png);
}

/* Utilidades */

.cobrado {
  background-color: #501553 !important;
}

.active {
  width: 50%;
  margin-left: 2rem;
  padding: 0 !important;
  border-bottom: 3px solid #ff9900;
  padding-bottom: 0.5rem !important;
}

.overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-width: 600px;
  background-color: #161413 !important;
  color: #fff;
  padding: 1rem;
  border-radius: 0.3rem;
  z-index: 1000;
  display: block;
}

.main-blur {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.activo {
  background-color: #065a06;
  color: #fff;
  padding: 0.4rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 12px;
}
.inactivo {
  background-color: #453f3f;
  color: #fff;
  padding: 0.4rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 12px;
}
.cancelado {
  background-color: #e40808;
  color: #fff;
  padding: 0.4rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 12px;
}

.fa-ban {
  color: red;
}

.lista__mobile {
  margin-top: 3rem;
  padding-left: 1.5rem;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  width: 100%;
  display: none;
  height: 100vh;
  z-index: -1;
  background-image: url(../img/logo.gif);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
}

.lista__mobile ul {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 50vh;
}

.lista__mobile ul li:hover {
  color: rgb(145, 145, 25);
  font-weight: bold;
}

.lista__mobile ul li i {
  width: 30px;
}

.ocultar {
  display: none;
}

.cerrarModal {
  cursor: pointer;
}

#ticketNum,
#ticketNum2,
#ticketPension {
  text-transform: uppercase;
  padding: 0.5rem;
  background-color: #ffffffcf;
  color: #161413;
  font-weight: bold;
  border-radius: 0.3rem;
  font-size: small;
}

/* Login */

.wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0c0d0e;
}
.wrapper__form {
  width: 500px;
  height: 600px;
  padding: 1rem;
  background-color: #000000a6;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 10px #613c15;
}

.wrapper__form form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: 100%;
}
.wrapper__form form img {
  width: 300px;
}

.wrapper__form form div {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #fff;
}

.wrapper__form form div input {
  font-size: 1.3rem;
}

#ingresarLogin {
  padding: 0.6rem 1rem;
  background-color: #0c0d0e;
  color: #fff;
  cursor: pointer;
}

#ingresarLogin:hover {
  background-color: #0c0d0e;
  color: #fff;
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 10px #613c15;
}

/* Centrar los botones de DataTables */
.dt-buttons {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  margin-bottom: 1rem; /* Espaciado opcional */
}

.dt-buttons .btn {
  margin: 0 0.5rem; /* Espaciado entre botones */
}

.dt-paging {
  text-align: center;
}

.fa-file-pdf-o {
  color: black;
  font-size: 20px;
}

.fa-file-excel-o {
  color: black;
  font-size: 20px;
}

.fa-files-o {
  color: gray;
  font-size: 20px;
}

/* Rango de fechas */

.rango__fechas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.rango__fechas div:first-child > p i {
  color: #000;
  padding: 0.5rem;
}

.rango__fechas div input {
  background-color: #6080c438;
}

.buscarFechas button {
  background-color: #1c4bb1a6;
  padding: 0.8rem;
  border-radius: 0.3rem;
  cursor: pointer;
  color: #fff;
}

.resetearFechas button {
  background-color: #dd050591;
  padding: 0.8rem;
  border-radius: 0.3rem;
  cursor: pointer;
  color: #fff;
}
.resetearFechas button i {
  color: #fff;
}

/* From Uiverse.io by milegelu */
.reporte {
  --bezier: cubic-bezier(0.22, 0.61, 0.36, 1);
  --edge-light: hsla(0, 0%, 50%, 0.8);
  --text-light: rgba(255, 255, 255, 0.4);
  --back-color: 240, 40%;

  cursor: pointer;
  padding: 0.7em 1em;
  border-radius: 0.5em;
  min-height: 2.4em;
  min-width: 3em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1;
  font-weight: bold;
  background: linear-gradient(
    140deg,
    rgb(82 105 139) min(2em, 20%),
    hsla(var(--back-color), 50%, 0.6) min(8em, 100%)
  );
  color: hsla(0, 0%, 90%);
  border: 0;
  box-shadow: inset 0.4px 1px 4px var(--edge-light);
  transition: all 0.1s var(--bezier);
  margin-bottom: 0.8rem;
  margin-top: 1rem;
}

.reporte:hover {
  --edge-light: hsla(0, 0%, 50%, 1);
  text-shadow: 0px 0px 10px var(--text-light);
  box-shadow: inset 0.4px 1px 4px var(--edge-light),
    2px 4px 8px hsla(0, 0%, 0%, 0.295);
  transform: scale(1.1);
}

.reporte:active {
  --text-light: rgba(255, 255, 255, 1);

  background: linear-gradient(
    140deg,
    hsla(var(--back-color), 50%, 1) min(2em, 20%),
    hsla(var(--back-color), 50%, 0.6) min(8em, 100%)
  );
  box-shadow: inset 0.4px 1px 8px var(--edge-light),
    0px 0px 8px hsla(var(--back-color), 50%, 0.6);
  text-shadow: 0px 0px 20px var(--text-light);
  color: hsla(0, 0%, 100%, 1);
  letter-spacing: 0.1em;
  transform: scale(1);
}

.dt-buttons > .dt-button{
  background-color: transparent !important;
  
}

/* Media quiries */
@media (max-width: 768px) {
  .menu__desktop {
    left: -240px;
  }

  header {
    padding-left: 0;
  }

  header,
  main {
    margin: auto;
  }

  .control-sesion {
    margin-left: auto;
  }

  .form__sistema .form__sistema__bloque--uno,
  .form__sistema .form__sistema__bloque--dos {
    flex-direction: column;
  }

  .menu__mobile {
    display: block;
  }
}

@media (min-width: 768px) {
  header {
    background-color: transparent;
    justify-content: flex-end;
  }

  .full-pantalla {
    display: none;
  }

  .control-sesion i {
    color: #161413;
  }
}
