

/* login_tablet.css */

/* ========================= */
/* 📱 ESTILOS PARA TABLET     */
/* ========================= */

@media screen and (min-width: 769px) and (max-width: 1024px) {
  body {
    background-image: url("/static/img/p_fondo_responsive_unificado.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100dvh;
    overflow-y: auto;
    overflow: hidden;
  }


  .logo-centro {
    display: block;
    margin: -100px auto 20px auto;
    width: 140px;
    height: auto;
  }

  .logo-superior {
    position: absolute;       /* ⬅️ Fuera del flujo normal */
    top: 130px;               /* ⬇️ Altura desde el borde superior */
    left: 50%;                /* ➡️ Centrado horizontal */
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;     /* 🚫 Evita que tape clics */
    margin: 0 !important;
  }

  .logo-superior img {
    width: 320px;             /* 📏 Tamaño ajustado para tablet */
    height: auto;
  }


  .login-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: block;
    margin: -40px auto 40px auto;

    width: 95% !important;
    max-width: 620px !important;

    background-color: rgba(255, 255, 255, 0.25);
    padding: 26px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
  }

  .generador-container {
    position: relative;
    top: 255px; /* ⬅️ Baja el contenedor desde arriba */
    transform: translateX(-15%);
    width: 95%;
    max-width: 620px;
    }


  .campo input {
    width: 100%;
    font-size: 14px;
  }

  .login-container button {
    width: 100%;
    padding: 10px 14px;
    font-size: 12px;
    font-family: 'Raleway', sans-serif;
    margin-top: 10px; /* ⬅️ Esto baja el botón */
    }


  .login-opciones {
    flex-direction: column;
    gap: 12px;
  }

  .social-icons {
    gap: 14px;
  }

  .login-social img {
    width: 30px !important;
    height: 30px !important;
  }

  .registro-flotante {
    position: fixed;
    top: 40px !important;
    right: 30px;
    z-index: 20;
  }

  .registro-boton-superior {
    font-size: 15px;
    padding: 12px 20px;
  }

  .menu-icon {
    top: 40px;
    left: 20px;
    width: 26px;
    height: 26px;
  }

  .menu-tooltip {
    font-size: 10px;
    padding: 5px 8px;
  }

  .side-menu {
    width: 50vw;
    left: -50vw;
  }

  .side-menu li a {
    font-size: 13px;
    padding: 8px 0;
  }

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

  .redes-sociales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px !important;
    margin-bottom: 0px !important;
  }

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

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

  .redes-sociales img[src*="youtube_shorts"] {
    width: 22px;
    transform: translateY(1px);
  }

  .marca-registrada {
    text-align: center;
    font-family: 'Urbanist', sans-serif;
    font-size: 8px;
    color: #807e78;
    opacity: 0.8;
    margin-bottom: 0px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .boton-ayuda {
    display: none !important;
  }

  body {
    display: flex;
    justify-content: center;   /* Centra horizontalmente */
    align-items: center;       /* Centra verticalmente */
    min-height: 100dvh;
    flex-direction: column;
    background-image: url("/static/img/p_fondo_responsive_unificado.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    }


.footer {
  margin-top: auto;
  padding-bottom: 12px;
}

  /* Mostrar el logo reutilizado */
  .logo-pqia {
    display: block !important;        /* ✅ Asegura que sea visible */
    margin: 0 auto 30px auto;         /* ✅ Centrado horizontal con margen inferior */
    width: 100px;                     /* Ajusta tamaño según lo que necesites */
    height: auto;
    background-image: url("/static/img/colibri_pqia.png");  /* ✅ Añade imagen como fondo */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    }


}

