/* Añadir estilos flex al body y al contenedor principal */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Inconsolata', monospace;
  letter-spacing: 0px;
  background: #ffffff;
  color: #000000;
  font-size: 1rem;
  line-height: 1.5;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  transition: background 0.3s, color 0.3s;
  flex: 1;
}

/* Asegurar que el contenido principal crezca para llenar el espacio disponible */
.main-content {
  flex: 1;
}

/* Footer */
.footer {
  background: inherit; /* Coincidir con el color del body */
  padding: 20px;
  text-align: center;
  color: inherit; /* Coincidir con el color del body */
  margin-top: auto; /* Asegurar que el footer esté al final */
}

/* Estilos generales para modal */
/* Estilos generales para modal */
.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    background: #fff; /* Fondo claro por defecto */
    color: black; /* Texto oscuro por defecto */
    max-height: calc(100vh - 200px); /* Ajusta la altura máxima del modal */
    overflow-y: auto; /* Hacer el modal desplazable */
}

.close {
    position: fixed; /* Para asegurarnos de que esté siempre en la esquina de la pantalla */
    top: 20px;
    right: 40px;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    color: black; /* Color por defecto para el tema claro */
    z-index: 1001;
}

body.dark-mode .close {
    color: white; /* Color para el tema oscuro */
}

.close:hover {
    color: #ff0000;
}

/* Ocultar barra de desplazamiento */
.modal-body::-webkit-scrollbar {
    width: 0;
    background: transparent; /* Hacer transparente para ocultar la barra */
}

/* Estilos para modo oscuro */
body.dark-mode .modal-body {
    background: #000000e3; /* Fondo oscuro */
    color: white; /* Texto claro */
}


/* Otros estilos existentes */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inconsolata', monospace;
  text-transform: none;
  font-size: 1.5rem;
}
a {
  color: #007bff;
  transition: color 0.3s ease, background 0.3s ease;

  padding: 5px 10px;
  border-radius: 5px;
  margin: 5px 0;
  text-decoration: none; /* Añadir esta línea para quitar el subrayado por defecto */
}
a:hover {
  background: #a3a3a318; /* Color más sutil para el resaltado */
  color: #0056b3;
  text-decoration: none; /* Añadir esta línea para quitar el subrayado por defecto */
}
a.selected {
  background: #f0f0f063;
  color: #0056b3;
}
#header {
  display: none; /* Ocultar el header */
}
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
}
#hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
#hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: bold;
}
#hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}
#hero .btn {
  background: #353535;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}
.btn:hover {
  background: #363636;
}
.pricing-table {
  padding: 60px 20px;
  background: #2c2c2c;
}
.card {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  margin: 20px 0;
}
.card:hover {
  transform: scale(1.05);
}
.card-title {
  font-size: 1.75rem;
  margin-bottom: 20px;
  font-weight: bold;
}
.price {
  font-size: 2.5rem;
  color: #ff6b6b;
  margin-bottom: 20px;
}
.footer a {
  color: inherit; /* Coincidir con el color del body */
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: 0; /* Asegúrate de que no haya padding para que no ocupen todo el ancho */
}
.footer a:hover {
  color: inherit; /* No cambiar el color al pasar el mouse */
  background: transparent; /* No hay fondo al pasar el mouse */
}

/* Dropzone Styles */
.dropzone {
  border: 2px dashed #414141;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Para Safari */
  padding: 40px;
  text-align: center;
  color: #000;
  transition: border 0.3s, background-color 0.3s;
  overflow: hidden;
  white-space: pre-wrap; /* Permitir saltos de línea */
  word-wrap: break-word; /* Romper palabras largas */
  text-overflow: ellipsis;
  margin: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  height: 200px;
/*  display: flex; /* Para centrar verticalmente */*/
  /*align-items: center; /* Para centrar verticalmente */
  /*justify-content: center; /* Para centrar horizontalmente */
}

.dropzone.dragover {
  border-color: #0056b3;
  background-color: rgba(34, 36, 255, 0.4);
}

.dropzone p {
  margin: 0;
  white-space: pre-wrap; /* Permitir saltos de línea */
  word-wrap: break-word; /* Romper palabras largas */
}

.dropzone label {
  display: inline-block;
  margin-top: 0px;
  color: #007bff;
  cursor: pointer;
  flex-wrap: wrap; /* Asegura que los elementos se ajusten en diferentes líneas si es necesario */
}

.form-section {
  margin: 0px 0;
  display: flex;
  justify-content: center;
  gap: 20px; /* Añadir espacio entre las dropzones */

}

.dropzone-container {
  flex: 1 1 48%; /* Ajustar según sea necesario para el espaciado entre columnas */
  margin: 1%; /* Ajustar según sea necesario para el espaciado entre columnas */
}


body::-webkit-scrollbar, .modal-body::-webkit-scrollbar {
    width: 10px; 
}

/* Track */
body::-webkit-scrollbar-track, .modal-body::-webkit-scrollbar-track {
    background: rgb(37, 37, 37); /* Color de fondo del track de la barra de desplazamiento */
    border-radius: 10px; /* Bordes redondeados del track */
}
 
/* Handle */
body::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb {
    background: rgb(194, 194, 194); /* Color de fondo del thumb (la barra que se desplaza) */
    border-radius: 10px; /* Bordes redondeados del thumb */
}

/* Handle on hover */
body::-webkit-scrollbar-thumb:hover, .modal-body::-webkit-scrollbar-thumb:hover {
    background: rgb(95, 141, 214); /* Color de fondo del thumb cuando el mouse está encima */
}


.btn-process {
  background: #007bff;
  color: #cacaca;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 1rem;
}
.btn-process:hover {
  background: #e2e2e2;
}
.tokens {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
  background: #2b2b2b;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #343a40;
  padding: 80px 20px 20px 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  transition: left 0.3s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Ocultar la barra de desplazamiento */
.menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.menu {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.menu::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, and Opera */
}
.menu a {
  display: block;
  color: #fff;
  text-transform: uppercase;
  margin: 10px 0;
  transition: background 0.3s;
}

.menu .submenu {
  margin-left: 20px;
  font-size: 0.9rem;
}

.menu-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: #343a40;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 1001;
}



.menu-open .menu {
  left: 0;
}
.user-info {
  margin-top: auto; /* Empuja el user-info hacia el final del contenedor */
  padding-bottom: 5px; /* Añadir espacio en la parte inferior para evitar superposición */
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0px; /* Añadir espacio entre los elementos de user-info */
  transform: scale(0.9);
}

.user-info div {
  margin-bottom: 5px; /* Añadir espacio entre los elementos de user-info */
}


.user-info img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.mode-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #343a40;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  border-radius: 20px;
  line-height: 0; /* Ajusta la altura de la línea para centrar el ícono */
}

.mode-switch i {
  margin: 0 5px;
  font-size: 12px; /* Ajusta el tamaño del ícono si es necesario */
  position: relative;
  top: 4px; /* Ajusta la posición vertical */
  left: -1px; /* Ajusta la posición horizontal */
}

.mode-switch input {
  display: none;
}

.mode-switch label {
  width: 40px;
  height: 20px;
  background: #ccc;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  margin: 0 5px;
}

.mode-switch label::after {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left 0.3s;
}

.mode-switch input:checked + label::after {
  left: 21px;
}

/* Añadir prefijos para WebKit en otros elementos que usan backdrop-filter */
.main-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Para Safari */
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: rgba(16, 24, 40, 0.18) 0px 24px 48px -12px;
  border-radius: 16px;
  padding: 20px;
  margin: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

body.dark-mode {
  background: #242424;
  color: #ffffff;
}
/* body.dark-mode a {
  color: #ffffff;
} */
body.dark-mode a:hover {
  background: #333333;
  color: #ffffff;
}
body.dark-mode .footer {
  background: #242424; /* Coincidir con el color del body */
  color: #ffffff;
}
body.dark-mode .footer a {
  color: #ffffff;
}
body.dark-mode .footer a:hover {
  color: #cccccc;
}
body.dark-mode .menu {
  background: #1f1f1f;
}
body.dark-mode .menu-btn {
  background: #1f1f1f;
}
body.dark-mode .mode-switch {
  background: #1f1f1f;
}
body.dark-mode .btn-process {
  background: #293361;
  color: #ffffff;
}
body.dark-mode .btn-process:hover {
  background: #2c2b3a;
}
body.dark-mode .tokens {
  background: #1f1f1f;
  color: #ffffff;
}
body.dark-mode .dropzone {
  border-color: #4a4a4a;
  color: #ffffff;
}

/* Tip Styles */
#tips {
  font-size: 0.85rem; /* Reducir el tamaño de la fuente */
  text-align: left; /* Alinear el texto a la izquierda */
  background: rgba(255, 255, 255, 0.05); /* Fondo semi-transparente */
  backdrop-filter: blur(20px); /* Aplicar efecto de desenfoque */
  -webkit-backdrop-filter: blur(20px); /* Para Safari */
  border-radius: 5px; /* Bordes redondeados */
  padding: 20px; /* Padding para espacio interno */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para efecto de profundidad */
  font-size: .875rem;
  line-height: 1.6rem;
  letter-spacing: 0;
  font-family: Inter, sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  margin: 1%;
}


/* Main Box (Ejemplo de efecto "glass") */
.main-box {
  background: rgba(255, 255, 255, 0.1); /* Fondo semi-transparente */
  backdrop-filter: blur(10px); /* Aplicar efecto de desenfoque */
  -webkit-backdrop-filter: blur(10px); /* Para Safari */
  border: 1px solid rgba(0, 0, 0, 0.1); /* Borde sutil */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para efecto de profundidad */
  border-radius: 16px; /* Bordes redondeados */
  padding: 20px; /* Padding para espacio interno */
  margin: 0px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Estilo para el fondo animado */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Asegura que esté detrás del contenido principal */
}

/* Estilo de ejemplo para vectores animados */
.vector-1 {
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, #13141d, #13141d);
  border-radius: 50%;
  opacity: 0.09;
  animation: float 20s ease-in-out infinite;
  top: 50%; /* Posicionar en el centro vertical */
  left: 50%; /* Posicionar en el centro horizontal */
  transform: translate(-50%, -50%); /* Centrar completamente */
}


body.dark-mode .vector-1 {
  opacity: 0.35;
  background: linear-gradient(45deg, #000, #000);
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(80%);
  }
  50% {
    transform: translate(-50%, -50%) translateY(0);
  }
}


    
.queue-container {
  margin-bottom: 2px;

  color: #fff;
  transform: scale(0.85);
}

.progress {
  background-color: rgba(255, 255, 255, 0.2);
  height: 0.5rem;
overflow: hidden;
line-height: 0;
font-size: .25rem;
  transform: scale(0.9);
}

.progress-bar {
  background-color: rgb(202, 201, 201);
  transition: width 0.5s;
}

.loading-icon {
    display: none;
}

.cursor-pointer {
  cursor: pointer;
}

input[type="file"][hidden] + p {
  display: inline;
}

input[type="file"][hidden] + p:before {
  content: '';
  display: block;
  width: 100%;
  height: 0;
  margin-bottom: -20px;
}

<style>
    .modal-body {
        position: relative;
        padding: 20px;
        background: white;
        border-radius: 10px;
    }


.modal-dialog a {
    pointer-events: auto; /* Esto reactiva los eventos de puntero solo para los enlaces */
}

/* Default (for desktop) */
#spinWheel {
  width: 400px;
  height: 400px;
  position: relative;
  margin: 0 auto; /* centers the container */
}
#wheel {
  width: 400px;
  height: 400px;
  pointer-events: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  #spinWheel {
    width: 90vw;  /* 90% of the viewport width */
    height: 90vw; /* keep it square */
  }
  #wheel {
    width: 90vw;
    height: 90vw;
    pointer-events: none;
  }
  
  /* You might want to adjust the pointer triangle as well */
  #spinWheel::after {
    top: -15px;  /* adjust according to new scale */
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid #feeb69;
  }
}

/* Make sure the container is positioned relative */
#spinWheel {
  position: relative;
}
/* Pseudo-element for the pointer (triangle) */
#spinWheel::after {
  content: "";
  position: absolute;
  top: -25px;  /* Positioned above the wheel */
  left: 50%;
  transform: translateX(-50%) rotate(180deg); /* Rotate 180° so it points downward */
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 20px solid #007bff; /* This creates an upward-pointing triangle normally */
  z-index: 10;  /* Ensure it’s on top */
  pointer-events: none;
}

</style>