* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}

body {
  overflow-x: hidden;
}

/* ========== HEADER RESPONSIVE ========== */
.header .parte3 {
  justify-content: center;
  position: fixed;
  top: -100%;
  left: 0;
  height: auto;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  transition: all 0.5s ease-in-out;
}

.parte3.activar {
  top: 111px;
}

.parte3.activar2 {
  top: 100px;
}

.header .parte3 .divi {
  text-align: center;
  margin-top: 25px;
  padding: 20px;
}

.header .parte3 a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 25px;
  margin-bottom: 25px;
  padding: 10px;
}

.header-informacion {
  width: 100%;
  height: 38px;
  background: #1e2446;
}

.header-informacion .content {
  height: 38px;
  background: #1e2446;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
}

.header-informacion .content .parte1 {
  height: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.header-informacion .content .parte1 i {
  color: #fff;
  font-size: 18px;
}

.header-informacion .content .parte1 span {
  color: #fff;
  font-size: 14px;
  margin-left: 7px;
}

.header-informacion .content .parte1 div {
  margin-right: 15px;
}

.header-informacion .content .parte2 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100px;
}

.header-informacion .content .parte2 a {
  width: 25px;
  height: 25px;
  background: #fff;
  color: #b7222c;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.header-informacion .content .parte2 a:hover {
  color: #b7222c;
}

.header-menu {
  width: 100%;
  height: 75px;
  transition: all 0.4s ease-in-out;
  z-index: 2;
  background: #1e2446;
}

nav.sticky {
  height: 100px;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 2px -2px gray;
}

.header-menu .content {
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  align-items: center;
}

.header-menu .content .parte1 {
  display: flex;
  align-items: center;
}

.header-menu .content .parte1 .img1 {
  width: 120px;
  margin-left: 8px;
}

.header-menu .content .parte2 {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 40%;
}

.header-menu .content .parte2 a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  transition: all 0.3s ease-in-out;
}

.header-menu .content .parte2 a:hover {
  color: #b7222c;
}

.bar-btn {
  display: block;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.header {
  background: #1e2446;
}

/* ========== ABOUT US RESPONSIVE ========== */
.about-us {
  width: 100%;
  height: auto;
  background: #f6f7f9;
  padding: 20px 0;
}

.about-us .content {
  background: #f6f7f9;
  padding: 20px 15px;
}

.about-us .content .partes {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.about-us .content .partes .parte1 {
  width: 100%;
  margin-bottom: 20px;
}

.about-us .content .partes .parte1 h3 {
  font-size: 35px;
  margin-bottom: 15px;
  text-align: center;
}

.about-us .content .partes .parte1 img {
  width: 100%;
  border-radius: 10px;
}

.about-us .content .partes .parte2 {
  width: 100%;
  font-size: 16px;
}

.about-us .content .partes .parte2 .azulito {
  color: #1e2446;
  font-weight: 800;
}

.about-us .content .partes .parte2 h3 {
  font-size: 25px;
  margin-bottom: 15px;
}

.about-us .content .partes .parte2 h2 {
  color: #b7222c;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 22px;
}

.about-us .content .partes .parte2 p {
  color: #525252;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.about-us .content .partes .parte2 .medio {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: auto;
  margin: 20px 0;
}

.about-us .content .partes .parte2 .medio div {
  display: block;
}

.about-us .content .partes .parte2 .medio .fecha {
  font-size: 20px;
  color: #525252;
  font-weight: 600;
}

.about-us .content .partes .parte2 .medio .dia {
  font-size: 35px;
  color: #30396d;
  font-weight: 800;
}

.about-us .content .partes .parte2 .medio .hora {
  font-size: 22px;
  color: #b7222c;
  font-weight: 800;
  margin-bottom: 15px;
}

.about-us .content .partes .parte2 .medio .valor {
  font-size: 22px;
  color: #383838;
  font-weight: 800;
}

.about-us .content .partes .parte2 .medio .circulo {
  display: flex;
  justify-content: center;
}

.about-us .content .partes .parte2 .medio .circulo .ticket {
  background-color: #1e2446;
  width: fit-content;
  padding: 5px 5px 5px 5px;
}

.about-us .content .partes .parte2 .medio .circulo .ticket .linea {
  border: 1px solid #fff;
  padding: 5px 15px 5px 15px;
  color: #fff;
}

.ticket {
  width: 200px;
  background: #30396d;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  margin: 0 auto;
}

/* Efecto de bordes punteados */
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
}

.ticket::before {
  top: -10px;
  left: -10px;
}

.ticket::after {
  top: -10px;
  right: -10px;
}

.ticket-border {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 15px;
}

.ticket-value {
  font-size: 50px;
  font-weight: bold;
  color: #fff;
  margin: 10px 0;
}

.ticket-text {
  font-size: 14px;
  color: #fff;
  margin-bottom: 5px;
  font-weight: 800;
}

.ticket-footer {
  font-size: 10px;
  color: #999;
  margin-top: 10px;
}

.about-us .content .partes .parte2 .medio .contenido {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.about-us .content .partes .parte2 .contenido2 {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-us .content .partes .parte2 .contenido2 button {
  background-color: #b7222c;
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 100%;
  max-width: 350px;
  height: 60px;
  font-size: 25px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.about-us .content .partes .parte2 .contenido2 button:hover {
  background-color: #74171e;
}

/* ========== MODAL RESPONSIVE ========== */
.center {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.modal1 {
  background: #fff;
  width: 100%;
  max-width: 950px;
  border-radius: 7px;
  transition: all 0.4s ease;
  margin: 0 auto;
}

.modal1 .titulo2 {
  width: 100%;
  border-bottom: 1px solid #cccccc;
  display: flex;
  justify-content: space-between;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #b7222c;
  border-radius: 5px 5px 0px 0px;
  transition: all 0.3s ease-in-out;
}

.modal1 .titulo2:hover {
  background: rgb(4, 112, 71);
}

.titl1 span {
  color: #fff;
  font-weight: 800;
}

.modal1 .titulo2 .titl {
  font-weight: 700;
  color: #474747;
}

.modal1 .titulo2 .cerrar i {
  font-weight: 800;
  font-size: 25px;
  color: #fff;
  cursor: pointer;
}

.modal1 .titulo2 .cerrar2 i {
  font-weight: 800;
  font-size: 25px;
  color: #fff;
  cursor: pointer;
}

.modal1 .contenid {
  width: 100%;
  padding-right: 20px;
}

.modal1 .contenid .cont {
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.2);
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 7px;
}

.modal1 .contenid .partes {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
}

.modal1 .contenid .partes .parte1 {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-bottom: 20px;
}

.modal1 .contenid .partes .parte2 {
  width: 100%;
}

.modal1 .contenid .partes .parte1 .img img {
  height: min-content;
}

.ingresos form {
  padding-top: 15px;
}

.ingresos form h2 {
  color: #30396d;
  text-align: center;
  margin-bottom: 20px;
}

.ingresos .grupo1 div {
  text-align: start;
  width: 100%;
  display: block;
  font-weight: 700;
  font-size: 14px;
}

#Cuadrito {
  display: flex;
  justify-content: start;
}

.ingresos .grupo1 .cuadrito {
  background: #c5c5c5;
  width: 39px;
  height: 39px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px 0px 0px 4px;
}

.ingresos .grupo1 .cuadrito i {
  font-size: 20px;
  color: #313131;
}

.ingresos .grupo1 div input {
  margin: 10px 0px;
  color: #5e5e5e;
  font-size: 14px;
  padding: 11px 15px;
  width: 95%;
  border: 1px solid #c5c5c5;
  border-radius: 5px;
  outline: none;
}

.botones2 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.botones2 .prim2 {
  display: flex;
  justify-content: center;
  position: relative;
}

.botones2 .prim2 .guardar1 {
  background: #1e2446;
  color: #fff;
  border: none;
  padding: 15px 45px;
  padding-left: 55px;
  padding-right: 35px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  margin: 15px;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}

.botones2 .prim2 .guardar2 {
  background: #b7222c;
  color: #fff;
  border: none;
  padding: 15px 45px;
  padding-left: 55px;
  padding-right: 35px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  margin: 15px;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}

.botones2 .prim2 i {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 25px;
}

.botones2 .prim3 i {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 25px;
}

.container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 350px;
  overflow-y: auto;
}

.mode-selector {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
}

.mode-tab {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  width: 50%;
  text-align: center;
}

.mode-tab.active {
  color: #b7222c;
  border-bottom: 2px solid #b7222c;
}

.mode-content {
  display: none;
}

.mode-content.active {
  display: block;
}

.auto-mode h3,
.manual-mode h3 {
  margin-top: 0;
  color: #333;
}

.ticket-control {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 35px;
  margin-top: 15px;
  align-items: center;
}

.ticket-control div {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.ticket-count {
  margin: 0 15px;
  font-size: 18px;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

.ticket-list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 15px;
}

#generated-numbers {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 15px;
}

.ticket-item {
  transition: transform 0.2s;
  margin: 5px;
}

.ticket-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

button {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background-color: #0055aa;
}

.manual-input {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manual-input input {
  padding: 8px;
  flex: 1;
  min-width: 120px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.parte2 .container {
  display: flex;
  flex-direction: column;
  height: 300px;
}

.mode-content.active {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.manual-mode {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ticket-list {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 50px;
}

#generated-numbers {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 50px;
}

.selected-tickets {
  position: sticky;
  bottom: 0;
  padding: 10px;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  text-align: center;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.selected-tickets2 {
  position: sticky;
  bottom: 0;
  padding: 10px;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  text-align: center;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.cantti {
  color: #1e2446;
  font-weight: 700;
}

.monto {
  color: #b7222c;
  font-weight: 700;
}

#BotonNuevo {
  background: #c5c5c5;
  width: 80px;
  color: #313131;
  font-weight: 700;
  transition: all .3s ease-in;
  text-decoration: dotted;
  border-radius: 5px 0px 0 5px;
  border: none;
  padding: 8px;
  cursor: pointer;
}

#BotonNuevo:hover {
  background: #a0a0a0;
}

#NombreImagen {
  width: 72%;
  margin-left: -5px;
  padding: 8px;
  border: 1px solid #c5c5c5;
  border-radius: 0 5px 5px 0;
}

.Img-valor img {
  width: 60px;
  border-radius: 30px;
  background: white;
}

/* ========== FOOTER RESPONSIVE ========== */
footer {
  width: 100%;
  height: auto;
  background: #30396d;
  padding: 40px 0 20px;
}

footer .content {
  padding: 0 15px;
  overflow: hidden;
}

footer .content .partes {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 25px;
}

footer .content .partes .parte1,
footer .content .partes .parte2,
footer .content .partes .parte3 {
  padding-bottom: 35px;
  text-align: center;
  width: 100%;
}

footer .content .partes .parte1 .img {
  margin-bottom: 15px;
}

footer .content .partes .parte1 .img img {
  width: 230px;
}

footer .content .partes .parte1 .texto {
  max-width: 360px;
  color: #fff;
  line-height: 23px;
  margin: 0 auto;
}

footer .content .partes .parte2 .titulo,
footer .content .partes .parte3 .titulo {
  margin-bottom: 25px;
}

footer .content .partes .parte2 .titulo h3,
footer .content .partes .parte3 .titulo h3 {
  color: #fff;
  font-size: 25px;
}

footer .content .partes .parte2 ul li {
  list-style: none;
  padding-bottom: 15px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
}

footer .content .partes .parte2 ul li a {
  color: #fff;
  text-decoration: none;
}

footer .content .partes .parte3 .telefono,
footer .content .partes .parte3 .correo {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
}

footer .content .partes .parte3 .telefono i,
footer .content .partes .parte3 .correo i {
  font-weight: 500;
  font-size: 22px;
  margin-right: 7px;
}

footer .content .partes .parte1 .redes {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
}

footer .content .partes .parte1 .redes a {
  width: 25px;
  height: 25px;
  background: #fff;
  color: #56638b;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

footer .content .partes .parte1 .redes a:hover {
  color: #ed2881;
}

footer .content .copyright {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  gap: 15px;
  width: 100%;
}

footer .content .copyright .parte1 span,
footer .content .copyright .parte2 span {
  color: #fff;
}

/* ========== MEDIA QUERIES ========== */
@media (min-width: 768px) {
  .header-informacion .content {
    padding: 0 30px;
  }
  
  .header-menu .content {
    padding: 0 30px;
  }
  
  .header-menu .content .parte2 {
    display: flex;
    gap: 25px;
  }
  
  .bar-btn {
    display: none;
  }
  
  .about-us .content {
    padding: 50px 30px;
  }
  
  .about-us .content .partes {
    flex-direction: row;
    padding: 35px;
  }
  
  .about-us .content .partes .parte1 {
    width: 45%;
    margin-bottom: 0;
  }
  
  .about-us .content .partes .parte2 {
    width: 50%;
    padding-left: 30px;
    font-size: 25px;
    margin-top: 25px;
  }
  
  .modal1 .contenid .partes {
    flex-direction: row;
  }
  
  .modal1 .contenid .partes .parte1 {
    width: 45%;
    margin-bottom: 0;
  }
  
  .modal1 .contenid .partes .parte2 {
    width: 52%;
  }
  
  footer .content {
    padding: 0 30px;
    padding-top: 80px;
  }
  
  footer .content .partes {
    flex-direction: row;
  }
  
  footer .content .partes > div {
    width: 30%;
    text-align: left;
  }
  
  footer .content .partes .parte1,
  footer .content .partes .parte2,
  footer .content .partes .parte3 {
    text-align: left;
  }
  
  footer .content .partes .parte1 .redes {
    justify-content: flex-start;
  }
  
  footer .content .copyright {
    flex-direction: row;
  }
  
  .botones2 {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .header-informacion .content,
  .header-menu .content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .header-informacion .content .parte1 div {
    margin-right: 35px;
  }
  
  .about-us .content,
  footer .content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .about-us .content {
    margin-left: 165px;
    margin-right: 165px;
  }
  
  footer .content {
    margin-left: 165px;
    margin-right: 165px;
  }
}

/* Utilidades */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.block {
  display: block;
}

