hx {
    color: red !important;
    display: block !important;
    visibility: visible !important;
}

/*popover del menu estàtico*/
/* Estilos personalizados para el popover del menú */

.popover-content-container {
    display: flex;
    align-items: center;
}

.popover-image {
    width: 125px;
    height: 141px;
    margin-right: 10px;
    border-radius: 5px;
}

.list-group {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-group-item {
    padding: 5px 10px;
    border: none;
    background: none;
    font-size: 14px;
}

.list-group-item a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
}

.list-group-item a:hover {
    color: #007bff;
}

.popover {
    max-width: 450px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popover-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.popover-arrow {
    display: none;
}

/*modificas del botòn menu*/
.popover-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

[data-bs-toggle="popover"] {
    width: 110px;
    height: 80px;
    border-radius: 0; /* Hacer que el botón sea cuadrado*/ 
}

/*new code*/
@media (max-width: 768px) {
    .popover {
        max-width: 300px !important;
    }

    .popover-content-container {
        flex-direction: column;
    }

    .popover-image {
        width: 100px;
        height: auto;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .list-group {
        width: 100%;
    }
}

/* Assicurarsi che il bottone sia sempre centrato */
.popover-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

/* Stili per garantire la visibilità del popover */
.popover {
    z-index: 1060 !important;
}

/* Assicurarsi che il bottone sia sempre visibile */
[data-bs-toggle="popover"] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Estilos para el botón de video */
.btn-primary.popup-youtube {
    background-color: #e31837;
    border-color: #e31837;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.575rem 1.25rem;
    transition: all 0.3s ease;
}

.btn-primary.popup-youtube:hover {
    background-color: #c41830;
    border-color: #c41830;
    transform: translateY(-2px);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
    }
    
    .btn-primary.popup-youtube {
        width: 100%;
        margin: 5px 0;
    }
}

/* Estilos para el popup del video */
.mfp-bg.mfp-ready {
    opacity: 0.95;
}

.mfp-iframe-holder .mfp-content {
    max-width: 850px;
}

/* Archivo: css/custom.css */

/* Contenedor de botones */
.button-container {
    padding: 0.5rem;
}

/* Estilos para el botón de video */
.btn-primary.popup-youtube {
    background-color: #e31837;
    border-color: #e31837;
    color: white;
    height: 80px;  /* Misma altura que el botón del menú */
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.btn-primary.popup-youtube:hover {
    background-color: #c41830;
    border-color: #c41830;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-primary.popup-youtube i {
    font-size: 1.2rem;
}

/* Ajustes responsivos */
@media (max-width: 576px) {
    .button-container {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .button-container .btn {
        width: 100%;
    }

    .btn-primary.popup-youtube {
        height: 60px;  /* Altura más pequeña en móviles */
    }
}

/* Ajustes del lightbox */
.mfp-bg.mfp-ready {
    opacity: 0.95;
}

.mfp-iframe-holder .mfp-content {
    max-width: 850px;
}

/* Asegurar que los botones están centrados */
.button-container .btn {
    margin: 0;
}

/* FEEDBACK*/
/* Estilos para el modal de feedback */
.feedback-item .input-group-text {
    background-color: #f8f9fa;
}

.feedback-item .input-group-text i {
    min-width: 16px;
}

.feedback-item input[type="number"] {
    text-align: center;
}

.modal-title {
    font-size: 1.25rem;
    line-height: 1.5;
}

/* Toasts para mensajes de éxito/error */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
}

/* Estilos para el botón de feedback */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Quitar flechas de los inputs number */
.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinners {
    -moz-appearance: textfield;
}

/* Estilo para input inválido */
.voto:invalid {
    border-color: #dc3545;
}

/* Estilos para el modal de feedback */
.feedback-item .input-group-text:first-child {
    min-width: 40px;
}

.feedback-item .input-group label.input-group-text {
    min-width: 100px;
    justify-content: flex-start;
}

.feedback-title {
    font-size: 1.5rem;
    line-height: 1.4;
}

.feedback-subtitle {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

@media (max-width: 576px) {
    .feedback-title {
        font-size: 1rem;
    }
    
    .feedback-subtitle {
        font-size: 1.3rem;
    }
}

/* Estilos para el modal header y botón close */
.modal-header {
    position: relative;
    padding-top: 2rem;
}

.modal-header .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem;
}

.modal-title-container {
    width: 100%;
    text-align: center;
    padding: 0 2rem;
}


/* Estilos para los botones del contenedor */
.button-container .btn {
    height: 80px;  /* Misma altura que el botón del menú */
}

.btn-modern.btn-success {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

/* Ajustes responsivos */
@media (max-width: 576px) {
    .button-container .btn {
        height: 60px;  /* Altura más pequeña en móviles */
    }
}