@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  --montserrat: "Montserrat", sans-serif;
  --azul: #050e44;
  --verde: #00a329;
}

::-webkit-scrollbar {
  display: none;
}

body {
  padding: 0;
  margin: 0;
  font-family: var(--montserrat);
}
body .ticket-main {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main img {
  width: 100%;
}

.formulario {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.formulario-login {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

h1 {
  color: aliceblue;
  font-size: 250%;
}

.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #060133;
}

.boton-index {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  border: solid 1px rgba(0, 0, 0, 0.226);
  background-color: rgb(255, 255, 255);
  font-family: var(--montserrat);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.336);
  transition: all 0.3s;
}

.boton-index:hover {
  background-color: var(--verde);
  color: rgb(255, 255, 255);
  transform: scale(1.1);
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.336);
}

/* ======================================================================== */
/*             Este apartado es del registro de usuarios                    */
/* ======================================================================== */

.formulario-registro-main {
  margin: 0;
  padding: 0;
}

.formulario-registro {
  color: #fff;
  margin: 0;
  padding: 10px;
  font-weight: 800;
}

.circle {
  --size: 1450px;
  --bg: #eb4242;
  --gradient: linear-gradient(indigo, hotpink);
  --half-size: calc(var(--size) / 1.5);

  width: var(--size);
  height: var(--half-size);
  background: var(--bg);
  border-radius: 50% 50% / 0 var(--half-size) var(--half-size) 0;
}

.form-inCircle {
  padding: 40px;
  position: absolute;
  top: 55%;
  left: 45%;
  transform: translate(-80%, -50%);
  z-index: 10;
}

@media (max-width: 1660px) {
  .contenedor-form {
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center; /* ← centra también verticalmente */
    padding: 2rem;
    top: 20%;
  }

  .form-inCircle {
    position: static; /* ← importantísimo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: none; /* ← quita el desplazamiento */
    padding: 20px; /* ajustable */
    z-index: 10;
    background-color: #eb3b35;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.445);
  }
}

.form-check-label {
  color: #fff;
}

/* ======================================================================== */
/*             Todo lo referente al index                                   */
/* ======================================================================== */

.main {
  width: 100vw;
}

.main-container {
  display: flex;
  justify-content: center;
}
.footer-container {
  display: flex;
  justify-content: center;
  background-color: #000;
}

.container-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: justify;
  max-width: 1500px;
}

.container-inline {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: justify;
  max-width: 1500px;
}

.restante {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
}

.bloque-restante {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.tiempo-restante {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* <-- Esto los pone en línea horizontal */
  gap: 20px; /* Espacio entre elementos */
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
}

.tiempo-restante .dias {
  background-color: #0bb063;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.tiempo-restante .horas {
  background-color: #eb3b35;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.tiempo-restante .minutos {
  background-color: #956dfc;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.tiempo-restante .segundos {
  background-color: #ff3cc5;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.curva {
  width: 50vw;
  height: 100vh;
  background-color: white;
  /* position: relative; */
  overflow: hidden;
}

.curva::after {
  content: "";
  position: absolute;
  right: -50%;
  top: -100%;
  width: 100%;
  height: 200%;
  background-color: #2c7a3d; /* verde similar */
  border-radius: 100% 0 0 100%;
}

.curva img {
  width: 20%;
  position: absolute;
  left: 70%;
  top: 15%;
  z-index: 9;
  border-radius: 1.5%;
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.226);
}

/* ======================================================================== */
/*             Todo lo referente a los tickets                              */
/* ======================================================================== */

/* Detalles del ticket */

.ticket-acceso {
  max-width: 800px !important;
  position: absolute;
  left: 10%;
}

.ticket {
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.226);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.ticket {
  display: flex;
  justify-content: center;
  border: solid 1px #000;
}

/* Encabezado */

.header-ticket {
  padding: 5px;
  background-color: #2c7a3d;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: center;
}

.header-ticket h1 {
  font-size: larger;
  font-weight: 700;
  display: flex;
  align-items: center;
}

/* Cuerpo */

.body-ticket {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ticket-bloque-1 {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ticket-bloque-1 h2 {
  font-weight: 600;
  font-size: medium;
}

.ticket-bloque-1 h3 {
  font-weight: 800;
  font-size: medium;
}

/* QR */
.datos-qr {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.datos-qr h2 {
  font-weight: 600;
  font-size: larger;
}

.datos-qr h3 {
  font-weight: 800;
  font-size: larger;
}

.datos-qr img {
  max-width: 150px;
  border: solid 1px #5050504f;
}

.QR {
  margin-top: 10px;
}

.pedido {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pedido h2 {
  font-weight: 600;
  font-size: medium;
}

.pedido h3 {
  font-weight: 600;
  font-size: x-large;
}

.comprador {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comprador h2 {
  font-weight: 600;
  font-size: medium;
}

.comprador h3 {
  font-weight: 600;
  font-size: x-large;
}

.lugar {
  margin-top: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lugar h2 {
  font-weight: 600;
  font-size: medium;
}

.lugar h3 {
  font-weight: 800;
  font-size: x-large;
}

hr {
  border-top: solid 2px #000;
  width: 100%;
  align-self: stretch;
}

/* ========= Bloque de Dashboards ========= */

.header-dashboard {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #060133;
}

.header-dashboard h1 {
  font-weight: 900;
}

.usuario {
  display: flex;
  flex-direction: column;
}

.usuario-upper {
  font-weight: 800;
  font-size: 1.6rem;
}

.encabezado {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.encabezado span {
  color: #fff;
}

.bloques-data {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.container-data {
  display: flex;
  flex-direction: row;
}

.bloque-data {
  padding: 25px;
  margin: 10px;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.336);
}

.upper {
  font-size: xx-large;
  font-weight: 800;
}

.aside {
  display: flex;
  flex-direction: column;
  max-width: fit-content;
}

.navbar {
  display: flex;
}

.navbar a {
  display: block;
  width: 100%;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  border-radius: 5px;
}

.navbar a:hover {
  background-color: #00a329;
}

.navbar .cerrar-sesion:hover {
  background-color: #a10000;
}

.opciones-btn {
  margin-top: 5px;
}

.grafico {
  background-color: #f3f3f3;
  border-radius: 15px;
  padding: 15px;
  /* box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.336); */
}

/* ========= Usuarios Registrados ========= */

.header-registros {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #060133;
}

.container-registros {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tarjeta-tabla {
  display: flex;
  width: 90%;
  height: 90%;
}

.tarjeta-filtros {
  display: flex;
  width: 60%;
}

/* aceite */

/* ======================================================================== */
/*             Formulario 2                                                 */
/* ======================================================================== */

body .body-formulario {
  margin: 0;
  padding: 0;
  overflow: hidden; /* Esto desactiva el scroll completamente */
  height: 100%;
  width: 100%;
}

.viewport {
  position: relative;
  width: 100%;
  height: 100vh; /* ajustable */
  overflow: hidden; /* CLAVE para recortar lo que sale */
  z-index: 1;
}

@media (max-width:1660px){
  .viewport{
    height: 250vh;
  }
}

/* Fondo detrás del círculo */
.bg-congreso.desktop, .bg-congreso.mobile  {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* detrás de todo */
}

.bg-congreso.mobile{
  display: block;
}
@media (min-width: 1660px){
  
  .bg-congreso.mobile{
    display: none;
  }

  .bg-congreso.bg-congreso.desktop{
    display: block;
  }
}

/* El círculo encima del fondo */
.circulo {
  position: absolute;
  top: -50%;
  left: -30%;
  width: 200vh;
  height: 200vh;
  background-color: #eb4242;
  border-radius: 50%;
  z-index: 1; /* delante del fondo, detrás del contenido */
}

.circulo::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200vh;
  height: 200vh;
  background-color: #eb4242; /* verde similar */
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 1660px){
  .circulo{
    display: none;
  }
}

.logo-congreso{
  position: absolute;
  top: 45%;
  left: 73%;
  z-index: 2;
}

.logo-congreso img {
  width: 450px;
}


@media (max-width: 1660px) {
  .contenedor-logo-congreso {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinea arriba */
    padding-top: 20px; /* Opcional para un poco de espacio */
  }

  .logo-congreso {
    position: static; /* Quita el absolute */
    text-align: center;
    z-index: 2;
  }

  .logo-congreso img {
    max-width: 100%;
    width: 300px; /* Ajusta tamaño si lo deseas más pequeño */
  }
}

.tiempo-estadia{
  color: #fff;
}