#showqr img{
  display: block;
  background: linear-gradient(27deg,rgba(31,95,255,.114) 1%,rgba(255,255,255,.121) 100%);
  backdrop-filter: blur(10px);
  padding: 12px;
  border-radius: 10px;
}


#qrtest{
  border: 8px solid white;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}


#loading-spinner p{
  font-family: 'Play', sans-serif;
  font-weight: bold;
  font-size: 18px;
}
#promptForm {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 2rem;
  border: solid 1px #ffffff3b;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.6s ease-out;
  background: linear-gradient(27deg, rgba(31, 95, 255, 0.114) 1%, rgba(255, 255, 255, 0.121) 100%);
  backdrop-filter: blur(10px);
}

#promptForm label {
  font-family: 'Play', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  margin-bottom: 0;
  LINE-HEIGHT: 1.2rem;
}
option {
  color: rgb(255, 255, 255);
}

#promptForm select {
  font-family: 'Play', sans-serif;
  font-size: .9rem;
  border-radius: 10px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  background-color: #2A2F3B;
  border: none;
  padding: 12px;
  color: white;
}
#generador-ia-app {

}

#promptForm select:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 95%);
  outline: none;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none;
    margin-left: none;
    margin-right: none;
}
#promptForm button {
  font-family: 'Play', sans-serif;
  font-weight: bold;
  color: #fff;
  font-size: .8rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: fit-content;
  margin: 0 auto;
  padding: 1em 2.5em;
  text-transform: uppercase;
  background: linear-gradient(27deg, #FF0000 1%, #000000 100%);
  letter-spacing: 1px;
}

#promptForm button:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
}

#promptForm button:active {
  transform: scale(0.98);
}
.container-fluid-generador {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  justify-content: space-between;
}
#resultado {
  display: block;
  overflow: hidden;
  position: relative;
  height: 100%;
  max-height: 400px;
}
.titleResultado{
  position: absolute;
  color: white;
  padding: 10px;
  font-size: 10px;
  z-index: 1;
}
#imagenIA {
  max-width: 100%;
  border-radius: 10px;
  position: relative;
  z-index: 0; 
  height: 100%;
}
.descargarBtn {
  font-family: 'Play', sans-serif;
  position: absolute;
  background: linear-gradient(27deg, #FF0000 1%, #000000 100%);
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 45px;
  left: 0;
  bottom: 0px;
  font-weight: bold;
  color: white !important;
  text-decoration: none !important;
  margin: 10px;
  backdrop-filter: blur(10px);
}
.columna {
  width: 29%;
  box-sizing: border-box;
}
:root :where(a:where(:not(.wp-element-button))) {
  text-decoration: none;
  color: white;
}
.derecha {
  animation: slideInRight 0.6s ease-out;
  background: #d8d8d8;
  background-image: url(https://uhuragroup.com/wp-content/uploads/2025/05/Imagen-base-nmax1-scaled.jpg);
  width: 68%;
  background-size: cover;
  border-radius: 20px;
  overflow: hidden;
  height: auto;
}
.izquierda {
  animation: slideInLeft 0.6s ease-out;
}

.derecha {
  animation: slideInRight 0.6s ease-out;
}

@media (max-width: 768px) {
  .columna {
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
  }
}

.form-table th {
  text-align: left;
  width: 30%;
}

.form-table td {
  padding: 10px;
}

.form-table input[type="text"] {
  width: 80%;
}

.form-table img {
  margin-top: 10px;
}
.generador-form {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  border: 1px solid #e1e1e1;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-table {
  width: 100%;
  margin-bottom: 20px;
  border-spacing: 0;
  border-collapse: separate;
}

.form-table th {
  width: 25%;
  text-align: left;
  font-weight: bold;
  padding-right: 15px;
}

.form-table td {
  width: 75%;
  padding: 10px;
  vertical-align: top;
}

.form-table input[type="text"] {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.form-table .button {
  margin-top: 10px;
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.form-table .button:hover {
  background-color: #005c8a;
}

.image-preview {
  margin-top: 15px;
}

.image-preview img {
  max-width: 300px;
  border-radius: 10px;
}

.description {
  font-size: 12px;
  color: #555;
  margin-top: 5px;
}

.form-submit {
  text-align: right;
}

.form-submit input[type="submit"] {
  padding: 12px 30px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-submit input[type="submit"]:hover {
  background-color: #005c8a;
}


/* Animaciones */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  #promptForm {
    padding: 1.5rem;
    margin-left: 10px;
    margin-right: 10px;
  }

  #imagenIA {
    height: auto;
  }

  #promptForm button {
    font-size: 1rem;
  }

  #qrtest{
    width: 85px;
    height: 85px;
    border: 6px solid #fff;
  }
  .derecha{
    background: none;
    background-image: none;
  }
  #spaceaux{
    display:none;
  }
  #contentqr{
    width:100% !important;
  }
  #showqr{
    width:40%;
    display: flex;
    align-items: center;
    justify-content: end;
  }
  #qrtexto{
    width:60%;
    padding-right: 40px;
  }
}


#qrtexto{
  font-family: play,sans-serif;
}