/* Comparar.css */

/* Fondo general heredado */
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 top;
  background-attachment: fixed;
}


/* Contenedor general */
.container {
  max-width: 500px;
  position: relative;
  margin: 70px auto 30px auto;  /* 🔽 Reducción del margen inferior */
  left: 14%;                      /* 🔄 Centramos el contenedor */
  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);
}



/* Intro principal */
.intro-principal h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: #92180b;
  margin-bottom: 6px;
  font-weight: bold;
}

.intro-principal p {
  font-size: 11px;
  color: #c57d2b;
  margin-top: 0;
}

/* Cards generales */
.card {
  background-color: rgba(255, 255, 255, 0.15);
  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);
}

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

/* Título: Conoce nuestros planes */
.card.titulo-comparar h2 {
  font-size: 16px;
  color: #375e65;
  margin: 0;
}

/* Título: Comparativa de Planes */
.card.card-comparar h3 {
  font-size: 14px;
  color: #c48a38;
  margin: 0;
}

/* Título: ¿Por qué hay un límite mensual? */
.card h3 {
  font-size: 14px;
  color: #c48a38;
  margin-bottom: 10px;
}

/* Subtítulo de la Card y Precio del plan Premium */
.card h4 {
  font-size: 14px;
  color: #c48a38;
  margin-top: 30px;
  margin-bottom: 5px;
  font-weight: 700;
}

/* Texto general dentro de las Cards */
.card p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #375c65;
  font-weight: normal;
  text-align: left;
  line-height: 1.4;
}

/* Texto "10 €/mes + IVA" */
.card h4 + p strong {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #92180b;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  width: 100%;
}

/* Botón CTA */
.btn-cta {
  background-color: #92180b;
  color: #fff;
  border: none;
  padding: 8px 16px !important;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;

  display: inline-block;             /* Permite aplicar ancho */
  min-width: 220px;                  /* Más ancho sin afectar alto */
  text-align: center;                /* Centra el texto dentro */
}

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



/* Tabla dentro de Cards */
.tabla-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #375c65;
  margin-top: 10px;
}

.tabla-wrapper th,
.tabla-wrapper td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.tabla-wrapper td {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #375c65;
  text-align: left;
  padding: 4px 6px;
  line-height: 1.4;
}

.tabla-wrapper th {
  font-family: 'Raleway', sans-serif;
  font-size: 11.5px;
  background-color: #758588;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 8px;
}

.tabla-wrapper tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Ajustes del título superior */
.titulo-comparar {
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.3);
  color: #375c65;
  font-weight: bold;
}

/* Ajustes para la intro del header */
header {
  text-align: center;
  padding: 20px;
}

header h1 {
  font-size: 18px;
  margin-bottom: 0.5rem;
  color: #375e65;
}

header .intro {
  font-size: 12px;
  color: #c57d2b;
  margin-top: 0;
}

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

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

/* Footer fijo con redes y marca registrada */
/* 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;
}

body.comparar {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: hidden !important;
}

.toast.warning {
  background-color: #d57624;
  color: #fff;
}



/* ❌ 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;
}
