body {
  background: #ffefd5; /* 🔶 naranja claro */
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column; /* 👈 CAMBIO IMPORTANTE */
  justify-content: flex-start; /* 👈 YA NO CENTRA TODO EN MEDIO */
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  text-align: center;
  width: 90%;
  max-width: 450px;
}


/* ===== Logo centrado ===== */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  background: transparent; /* fondo completamente transparente */
}

.logo img {
  width: 80px;       /* ajusta tamaño a gusto */
  height: 80px;
  border-radius: 12px;  /* opcional: bordes redondeados */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* ligera sombra */
  background: transparent; /* asegura que el fondo del logo sea transparente */
}

.descrip {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  text-align: center;
  width: 95%;
  max-width: 460px;
  margin-top: 35px;
}

.input-wrapper {
  position: relative;
  margin-top: 15px;
}

.input-wrapper input {
  width: 100%;
  padding: 10px 10px 10px 04px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.input-wrapper img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  cursor: pointer;
}

button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: #ff7b00;
  color: white;
  cursor: pointer;
  font-size: 1em;
  transition: 0.2s;
}

button:hover {
  background-color: #e66b00;
}

.result {
  margin-top: 20px;
  display: none;
  text-align: center;
}

.thumbnail {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.download-options {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ff7b00;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
