

/* historial_responsive.css */

/* ========================= */
/* 🔁 ESTILOS RESPONSIVE     */
/* ========================= */

@media screen and (max-width: 768px) {

body {
 background-color: #e7e3da;
 background-image: url("/static/img/p_fondo_responsive_unificado.png");
 background-size: auto;
 background-repeat: no-repeat;
 background-position: center top;
 background-attachment: scroll;
 margin: 0;
 padding: 0;
 max-width: 100vw;
 overflow-x: hidden;
 min-height: 100vh;
 font-family: 'Raleway', sans-serif;
}

.contenedor {
  position: relative;
  left: 50%;
  transform: translateX(-50%) !important; /* Empuja un poquito más hacia la izquierda */
  width: 80%;
  max-width: 325px !important;
  margin: 90px 0 40px 0;
  padding: 18px 16px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}


  .titulo-historial {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
  }

  .card {
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 14px;
  }

  .filtros {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    text-align: center;
  }

  .filtros input[type="text"],
  .filtros input[type="number"] {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 12px;
    border: none;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .filtros label {
    font-size: 12px;
    text-align: center;
  }

  .filtros .checkbox-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .card p {
    font-size: 12px;
    text-align: left;
  }

  .boton-empezar {
    font-size: 10px;
    width: 220px;
    padding: 8px 0;
    background-color: #8b1f14;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 10px auto;
    display: block;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .boton-empezar:hover {
    background-color: #a32419;
  }

  .btn-favorito {
    box-sizing: border-box;
    border: 0.75px solid transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    outline: none;
    box-shadow: none;
  }

  .btn-favorito:hover {
    background-color: #49486a;
  }

  .btn-favorito.marcado {
    background-color: #49486a;
    color: white;
    border: 0.75px solid #49486a;
    box-shadow: none;
    outline: none;
  }

  .acciones-prompt {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
  }

  .acciones-prompt button {
    flex: 1 1 45%;
    min-width: 44%;
    max-width: 110px;
    height: auto;
    padding: 6px 10px;
    font-size: 10px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
  }


  /* Fila secundaria con botones juntos */

  .acciones-botones-secundarios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .acciones-botones-secundarios button {
    flex: 1 1 45%;
    min-width: 42%;
    max-width: 90px;
    font-size: 9px;
    padding: 6px 8px;
    white-space: nowrap;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
  }


.btn-ver-mas {
  flex: 1 1 45%;
  min-width: 42%;
  max-width: 90px;
  font-size: 9px;
  padding: 6px 8px;
  border-radius: 18px;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}


  /* Botones responsive más pequeños */
  .acciones-prompt button {
    height: 24px;
    padding: 3px 8px;
    font-size: 8.5px;
    border-radius: 16px;
  }


  .acciones-prompt .btn-favorito {
    background-color: #527368;
    color: white;
  }

  .acciones-prompt .btn-favorito.marcado {
    background-color: #49486a;
    color: white;
    border: 0.75px solid #49486a;
    box-shadow: none;
  }

  .entrada-historial.marcado-favorito {
    border: 1px solid #527368 !important;
    box-shadow: 0 0 5px #527368 !important;
  }

  .acciones-prompt button {
    height: 28px;
    line-height: 1px;
    padding: 3px 10px;
    font-size: 9px;
    min-height: 26px; 
    border: none;
    border-radius: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #c48a38;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .acciones-prompt button:hover {
    background-color: #9c9664;
  }

  .entrada-historial {
    border: 2px solid transparent;
  }

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

  .barra-superior {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1;
  }

  .menu-icon img {
    width: 25px!important;
    height: 25px!important;
  }

  .side-menu {
    width: 180px !important;
    left: -180px !important;
  }

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

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

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


.menu-toggle {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 28px;
  cursor: pointer;
  z-index: 999;
}

.menu-toggle i {
  font-size: 28px;
  color: #000;
}




  body.historial .logo-superior {
    display: block;
  }

/* ✅ Redes sociales (parte inferior centrada) */
  .footer {
    position: static;
    width: 100%;
    text-align: center;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 10px 10px;
    margin-top: 40px;
  }





/* ✅ Redes sociales (parte inferior centrada) */
  .redes-sociales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px !important;
    margin-bottom: 0px !important;
  }

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

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

  .marca-registrada {
    text-align: center;
    font-family: 'Urbanist', sans-serif;
    font-size: 7px;
    color: #807e78;
    opacity: 0.8;
    margin-bottom: 0px !important;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .registro-container {
    margin-bottom: 60px !important;  /* deja espacio para el footer */
  }


  /* Hace que se vea el logo: colibrí+pqia.app */
  body.principal .logo-superior {
    display: block !important;
    }

  .logo-superior {
    display: none !important;
  }


  .logo-colibri-responsive {
    width: 225px  !important;      /* 🔽 Tamaño más pequeño del logo */
    max-width: 38vw  !important;
    height: auto;
  }


  html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

/* Oculta el botón de ayuda en responsive */
.boton-ayuda {
  display: none !important;
}

/* Color para botón Ver completo */
.acciones-prompt .btn-ver-mas {
  background-color: #49486a;
  color: white;
}

.acciones-prompt .btn-ver-mas:hover {
  background-color: #a4a3e0; /* tu color hover personalizado */
}

/* Color para Favorito (sin marcar) */
.acciones-prompt .btn-favorito {
  background-color: #375e65;
  color: white;
}

/* Color para Favorito (marcado) */
.acciones-prompt .btn-favorito.marcado {
  background-color: #375c65;
  border: 0.75px solid #49486a;
  color: white;
}

/* 🔧 CONTROL DE VISIBILIDAD DEL MENÚ RESPONSIVE */


}



@media screen and (max-width: 768px) {
  .logo-responsive {
  display: block !important;
  position: absolute !important;
  top: 16px !important;
  left: 50% !important;                     /* Centrado horizontal */
  transform: translateX(-50%) !important;  /* Corrige el centrado */
  width: auto !important;
  height: auto !important;
  z-index: 10;
}
}





