/* Estilo para el botón flotante */
.help-button-container {
    position: fixed;
    right: 24px;
    top: 65%;
    width: 73px;
    height: 73px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(-50%);
}

.help-button-container img {
    width: 49px;
    height: 49px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.help-button-container img:hover {
    transform: scale(1.1);
}

/* Estilo para el modal */
.help-modal {
    position: fixed;
    right: 20px;
    bottom: 250px;
    width: 320px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 1100;
    transition: all 0.3s ease;
}

.help-modal.show {
    display: flex;
}

/* Encabezado del modal */
.help-modal-header {
    background: #e30000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 25px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.help-modal-header img {
    width: 40px;
    height: 40px;
    margin-right: 25px;
}

.help-modal-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    background: #e30000;
    margin: 0;
}

/* Contenido del modal */
.help-modal-content {
    list-style: none;
    padding: 22px;
    margin: 0;
}

/* Efecto de hover para los enlaces */
.help-modal-content a.help-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    padding: 10px;
}

.help-modal-content a.help-item:hover {
    background-color: #ffffff;
    transform: scale(1.03);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.help-modal-content a.help-item img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.help-modal-content a.help-item:hover img {
    transform: scale(1.1);
}

.help-modal-content a.help-item .text-container span,
.help-modal-content a.help-item .text-container p {
    transition: color 0.3s ease;
}

.help-modal-content a.help-item:hover .text-container span {
    color: #e30000;
}

.help-modal-content a.help-item:hover .text-container p {
    color: #333333;
}

.text-container {
    display: flex;
    flex-direction: column;
}

.text-container span {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

.text-container p {
    font-size: 14px;
    color: #666666;
    margin: 5px 0 0;
    line-height: 1.5;
}

/* Botón de cierre */
.close-modal {
    position: absolute;
    bottom: -25px;
    right: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: #ffffff;
    border-radius: 50%;
}

.close-modal:hover {
    transform: rotate(90deg);
    background-color: #ffffff;
}

/* Responsividad */
@media (max-width: 768px) {
    .help-modal {
        width: 90%;
        right: 5%;
        bottom: 180px;
    }

    .help-button-container {
        /*right: 10px;
        padding: 15px;*/
    }

    .help-button-container img {
        /*width: 35px;
        height: 35px;*/
    }

    .help-modal-header h2 {
        font-size: 20px;
    }

    .text-container span {
        font-size: 14px;
    }

    .text-container p {
        font-size: 12px;
    }
}