


/* principal.css */

/* Fondo general */
body {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #375e65;
  margin: 0;
  padding: 0;
  background-color: #e7e3da;
  background-image: url("/static/img/p_login_pqia_1920_x_1080.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

/* Contenedor principal */
.contenedor {
  background-color: rgba(255, 255, 255, 0.8); /* o el nivel de opacidad que prefieras */
  border-radius: 15px;
  padding: 40px;
  max-width: 600px;
  margin: 80px auto;
  margin-left: 100px  !important;    /* desplazado a la derecha*/
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Card de Bienvenida */
.titulo-bienvenida {
  font-size: 20px;
  color: #375c65;
  margin: 0;
}

.subtitulo-bienvenida {
  font-size: 16px;
  color: #c57d2b;
  font-weight: normal;
  font-style: normal;
}

.card p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #375c65;
  text-align: justify;
}

.card .seccion-final p {
  margin-bottom: 5px;  /* Reduce el espacio inferior del texto */
}

.card button {
  margin-top: 5px;  /* Reduce el espacio superior del botón */
}


/* Menú */
.menu-icon {
  position: fixed;
  top: 30px;
  left: 40px;
  z-index: 2000;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.menu-icon img {
  width: 100%;
  height: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -250px;
  width: 250px;
  overflow-y: auto;
  background-color: rgba(55, 94, 101, 0.75);
  color: white;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 9999;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  scrollbar-width: thin;
  scrollbar-color: #c4c8c3 transparent;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  display: block;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu li a {
  color: white;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  display: block;
  padding: 10px 0;
  transition: background-color 0.3s ease;
}

.side-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.menu-tooltip-wrapper {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2000;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.menu-tooltip {
  position: absolute;
  top: 50%;
  left: 110%;
  transform: translateY(-50%);
  background-color: rgba(55, 94, 101, 0.85);
  color: white;
  font-size: 11px;
  font-family: 'Raleway', sans-serif;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.menu-tooltip-wrapper:hover .menu-tooltip {
  opacity: 1;
}

.campo input:focus {
  outline: none;
  border: 0.3px solid #375e65;
  box-shadow: 0 0 0 1px #375e6510;
}

.side-menu.open {
  left: 0;
}

/* Colorea el ítem de menú cuando estamos en la vista /historial */
.side-menu li a[href="/historial"] {
  color: #e0a74f !important;
  font-weight: bold !important;
  background-color: transparent !important;
}

/* Contenedores secundarios */
.contenedor {
  max-width: 500px;
  position: relative;
  margin: 70px 0 80px 80px;
  left: 385px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card {
  background-color: rgba(255, 255, 255, 0.15); /* Color del historial con opacidad */
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(2px); /* Efecto sutil para fondo translúcido */
}

.card h2, .card h3 {
  margin-top: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}


/* Botón Empieza ahora */
button {
  background-color: #92180b;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: bold;
  margin-top: 2rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #527368;
  transform: scale(1.05);
}

/* RRSS */
/* ICONOS: RRSS */
.redes-sociales {
  position: absolute;
  bottom: 40px;  /* Altura pag */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 100px; /* Espacio entre iconos */
  z-index: 3;
}

.redes-sociales img {
  width: 20px;  /* Tamaño más grande que los típicos 24px */
  height: 20px;
  transition: transform 0.3s ease;
}

.redes-sociales img:hover {
  transform: scale(1.2); /* Efecto zoom al pasar el cursor */
}

/* Marca Registrada */
.marca-registrada {
  position: absolute;
  bottom: 20px; /* debajo de los iconos */
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Urbanist', sans-serif;
  font-size: 10px;
  color: #807e78;
  opacity: 0.8;
  z-index: 2;
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  background: transparent;
  margin-top: 40px;
}

.intro-principal {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: #92180b;
  margin-bottom: 20px;
}

.footer-fixed .redes-sociales {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;  /* Ajusta este valor */
}

.footer-fixed .marca-registrada {
  font-family: 'Urbanist', sans-serif;
  font-size: 10px;
  color: #807e78;
  opacity: 0.8;
  margin-top: 5px;  /* Puedes ajustar este también */
  }

  /* Ajuste visual específico solo para el icono de Shorts */
.social-icons img[src*="youtube_shorts"] {
  width: 24px !important;
  height: auto !important;
  transform: translateY(1px);
}

.redes-sociales a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 40px;  /* ❗ evita estiramientos excesivos */
  overflow: hidden;
  text-overflow: ellipsis;
}


.enlace-legal {
  margin-bottom: 10px;
}

.enlace-legal a {
  color: #375e65;
  font-size: 11px;
  text-decoration: underline;
}


/* Por defecto: mostrar solo logo de escritorio */
.logo-superior {
  display: block;
}
.logo-responsive {
  display: none;
}

/* ? */
.boton-ayuda {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 48px;
  height: 48px;
  z-index: 999;
  transition: transform 0.3s ease;
}

.boton-ayuda:hover {
  transform: scale(1.1);
}

.icono-ayuda {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ❌ Oculta el logo superior en escritorio donde ya hay un colibrí grande */
body.ayuda .logo-superior,
body.generador .logo-superior,
body.historial .logo-superior,
body.plantillas .logo-superior,
body.plantillas_categoria .logo-superior,
body.perfil .logo-superior,
body.comparar .logo-superior,
body.premium .logo-superior,
body.soporte .logo-superior,
body.recuperar .logo-superior,
body.principal .logo-superior {
  display: none;
}

