    /* --- BOTÓN FLOTANTE --- */
    #ayuda-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #2ecc71;
        color: white;
        border: none;
        border-radius: 50%;
        width: 62px;
        height: 62px;
        font-size: 28px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: aparecer 0.6s ease-out;
        transition: transform 0.2s ease, background-color 0.2s ease;
		background-image: none;
    }
    #ayuda-btn:hover {
        transform: scale(1.08);
        background-color: #27ae60;
    }
    @keyframes aparecer {
        0% { transform: scale(0); opacity: 0; }
        80% { transform: scale(1.1); opacity: 1; }
        100% { transform: scale(1); }
    }

    /* --- POPUP GENERAL --- */
    #ayuda-popup {
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 330px;
        max-width: 90%;
        max-height: calc(100vh - 120px); /* ocupa casi toda la altura disponible */
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        display: none;
        flex-direction: column;
        font-family: "Segoe UI", Arial, sans-serif;
        z-index: 9999;
    }

    /* --- ENCABEZADO --- */
    #ayuda-header {
        background-color: #2ecc71;
        color: white;
        padding: 14px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        position: sticky; /* siempre visible arriba */
        top: 0;
        z-index: 2;
    }

    /* --- BOTÓN DE CIERRE --- */
    #cerrar-ayuda {
        position: absolute;
        top: 8px;
        right: 12px;
        background: transparent;
        color: white !important;
        border: none;
        font-size: 20px;
        cursor: pointer;
		box-shadow: none;
		line-height: normal;
		width: unset;
    }

    /* --- CONTENEDOR SCROLLEABLE --- */
    #ayuda-contenido {
        overflow-y: auto;
        scroll-behavior: smooth;
    }

    /* --- PREGUNTAS --- */
    .faq-item { border-bottom: 1px solid #eee; }
    .faq-question {
        padding: 12px 14px;
        font-weight: bold;
        cursor: pointer;
        background-color: #f9f9f9;
        transition: background-color 0.2s;
    }
    .faq-question:hover { background-color: #f1f1f1; }
    .faq-answer {
        display: none;
        padding: 14px 16px;
        font-size: 16px;
        color: #000000;
        background-color: #eafaf1;
        border-left: 4px solid #2ecc71;
        border-radius: 0 8px 8px 0;
        margin-bottom: 6px;
        box-shadow: 0 2px 8px rgba(46,204,113,0.07);
        transition: background 0.2s, box-shadow 0.2s;
    }

    /* --- PIE --- */
    #ayuda-footer {
        padding: 12px;
        font-size: 13px;
        text-align: center;
        background: #fafafa;
        color: #555;
        border-top: 1px solid #eee;
    }
    #ayuda-footer a {
        color: #2ecc71;
        text-decoration: none;
        font-weight: bold;
    }

    /* --- SCROLL ESTÉTICO --- */
    #ayuda-contenido::-webkit-scrollbar { width: 8px; }
    #ayuda-contenido::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
    }
    #ayuda-contenido::-webkit-scrollbar-thumb:hover {
        background-color: #aaa;
    }

    /* --- RESPONSIVE --- */
	@media only screen and (max-width: 740px) {
        #ayuda-btn {
            width: 56px;
            height: 56px;
            font-size: 25px;
            bottom: 15px;
            right: 15px;
        }
        #ayuda-popup {
            right: 10px;
            left: 10px;
            bottom: 80px;
            width: auto;
            max-height: calc(100vh - 100px);
            font-size: 15px;
        }
        #ayuda-header {
            font-size: 15px;
            padding: 12px;
            position: relative; /* Quita sticky en mobile */
        }
        #ayuda-contenido {
            max-height: 450px; /* Ajusta según tu diseño */
            overflow-y: auto;
        }
    }