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;
}

.container {
  max-width: 500px;
  position: relative;
  margin: 70px 0 80px 80px;
  left: 405px;
  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);
}

.container h1 {
  font-size: 16px;
  color: #375e65;
  margin-bottom: 20px;
}

.intro {
  font-size: 12px;
  color: #c57d2b;
  margin-bottom: 20px;
  text-align: center;
}

.acordeon {
  background-color: rgba(255, 255, 255, 0.15);
  color: #49486a;
  cursor: pointer;
  padding: 12px 20px;
  width: 100%;
  border: 1px solid #c4c8c3;
  text-align: left;
  outline: none;
  font-size: 13px;
  font-weight: bold;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 10px;
  backdrop-filter: blur(2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.acordeon:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.acordeon.activo {
  background-color: rgba(55, 94, 101, 0.5);
  color: white;
}

.panel {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border: 1px solid #c4c8c3;
  text-align: left;
  font-family: 'Inter', sans-serif;
  margin-bottom: 10px;
  backdrop-filter: blur(2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.panel p {
  margin: 15px 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #527368;
  font-weight: normal;
  text-align: left;
  line-height: 1.4;
}


/* Botón CTA rojo (como en Historial) */
.btn-cta-red {
  background-color: #92180b;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: bold;
  position: absolute;
  top: 20px;
  right: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cta-red:hover {
  background-color: #527368;
  transform: scale(1.05);
}

.logo-pqia {
  position: absolute;
  top: 18px;
  left: 48px;
  height: auto;
  z-index: 10;
  display: block;
}

.logo-pqia img {
  width: 95px;
  height: auto;
  display: block;
}


/* Menú lateral */
.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;
}

.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;
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  bottom: 40px;
  gap: 100px;
  margin-bottom: 10px;
}

.redes-sociales img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.redes-sociales img:hover {
  transform: scale(1.2);
}

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

/* Ajuste visual específico solo para el icono de Shorts */
.redes-sociales img[src*="youtube_shorts"] {
  width: 24px;
  height: auto;
  transform: translateY(1px); /* Ajuste fino de alineación si lo necesitas */
}



/* 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 {
  display: none;
}

