

/* =========================
   OVERLAY OSCURO
========================= */

.modal_ayuda_overlay {
    position: fixed;
    inset: 0;
   background: rgba(0,0,0,0.45);


    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: flex-end;
    z-index: 99999999 !important;
}

/* =========================
   CAJA DESDE ABAJO
========================= */



.modal_ayuda_bottom {

    width: 100%;
    height: 55vh;

    background: #ffffff;   /* fondo blanco limpio */

    border-radius: 20px 20px 0 0;

    position: relative;

    transform: translateY(100%);
    transition: transform 0.35s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 25px 20px;
    box-sizing: border-box;

    color: #222;           /* texto oscuro visible */

}
.modal_ayuda_bottom p,
.modal_ayuda_bottom h1,
.modal_ayuda_bottom h2 {
    color: black;
}

  .modal_ayuda_bottom .opciones_ayuda {
      display: flex;
      flex-direction: column;
      gap: 15px;        /* separaciÃ³n entre enlaces */
      width: 100%;
  }

  .modal_ayuda_bottom .opciones_ayuda a {
      color: #222 !important;         /* texto oscuro para visibilidad */
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      padding: 10px 15px;
      border-radius: 8px;
      background: #f0f0f0;            /* ligero fondo gris para destacar enlace */
      transition: background 0.25s ease;
  }

  .modal_ayuda_bottom .opciones_ayuda a:hover {
      background: #e0e0e0;
  }



/* ACTIVA */
.modal_ayuda_overlay.activo .modal_ayuda_bottom {
    transform: translateY(0);
}

/* =========================
   BOTÃ“N CERRAR
========================= */

.cerrar_modal_ayuda {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: 0.2s ease;
}

.cerrar_modal_ayuda:hover {
    transform: scale(1.15);
    opacity: 0.7;
}

/* =========================
   CONTENIDO
========================= */

.modal_ayuda_contenido {
    text-align: center;
    color: #fff;
    padding-top: 10px;
   
}

/* TITULO */
.modal_ayuda_contenido h2 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}


/* OPCIONES */
.opciones_ayuda {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.opciones_ayuda a {
    text-decoration: none;
    color: #fff;
    padding: 8px 0;
    border-radius: 10px;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);

    transition: 0.2s ease;
}

.opciones_ayuda a:hover {
    background: rgba(255,255,255,0.18);
}



