.select2-container {
    min-width: 10em !important;
    width: 100% !important;
}

.related-widget-wrapper {
    padding-right: 16px;
    position: relative;
}

.related-widget-wrapper-link {
    position: absolute;
    right: 0;
    top: 3px;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.pdl-0 {
    margin-left: 0 !important;
}

.pdr-0 {
    margin-right: 0 !important;
}

.h2-size {
    font-size: 25px !important;
}

.h3-size {
    font-size: 18px !important;
}

.error {
    background-color: #ffc9c9;
    border-color: #ffafbd;
    color: #ac1818;
}

.red-alert {
    color: #ac1818;
}


.fas {
    margin-right: 4px !important;
}

.far {
    margin-right: 4px !important;
}

.icon-not-margin {
    margin: 0px !important;
}


td > .btn > .fas {
    margin-right: 0px !important;
}

td > .btn > .far {
    margin-right: 0px !important;
}

.display-inline {
    display: inline !important;
}

.panel-body-gris {
    background-color: #e8ebef !important;
}

.form-inline > .pull-right > * {
    margin: 3px 1px !important;
}

.form-inline > .pull-left > * {
    margin: 3px 1px !important;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
    display: none;

}

.errorlist {
    color: tomato;
    font-weight: bold;
}


.whatsapp-container {
    position: fixed;
    bottom: 80px;
    right: 40px;
    display: flex;
    align-items: flex-end;
    z-index: 100;
}

.whatsapp {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    text-decoration: none !important;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.whatsapp:hover {
    background-color: #128c7e;
}

.message-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background-color: red;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;

}

.help-message {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    font-weight: normal;
    max-width: 230px;
    margin-left: -70px;
    margin-right: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    line-height: 1.4;
    color: #333;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.whatsapp-message {
    text-decoration: none !important;
}

.disabled_pagination {
    pointer-events: none; /* Evita que los elementos sean clicables */
    opacity: 0.6; /* Reduce la opacidad para indicar que están deshabilitados */
    cursor: not-allowed; /* Cambia el cursor para indicar que no se puede hacer clic */
}

.modal-dialog .modal-content .panel .panel-heading {
    border-radius: 10px 10px 0 0;
    padding: 15px;
    color: white;
}

.modal-dialog .modal-content .panel {
    border-radius: 12px; /* Aplica un borde redondeado solo a la parte superior */
}

.modal-dialog .modal-content {
    border-radius: 12px; /* Aplica un borde redondeado solo a la parte superior */
}

.modal-dialog .panel .panel-heading {
    border-radius: 10px 10px 0 0; /* Aplica un borde redondeado solo a la parte superior */
}

.modal-dialog .panel {
    border-radius: 12px; /* Aplica un borde redondeado solo a la parte superior */
}

.panel-heading > .panel-title > * {
    margin-bottom: 8px;
}

.tile-stats {
    border-radius: 15px; /* Esquinas redondeadas */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Suavidad en el efecto */
    padding: 20px;
    margin-bottom: 20px;
}

.tile-stats:hover {
    transform: scale(1.05); /* Aumenta ligeramente el tamaño */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Sombra para darle profundidad */
}

.text-tile {
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: white;
}
.alert i{
    align-content: center;
}

/* ===================================
   BOTÓN LOGOUT - Header
   Agregado: 2026-01-26
   =================================== */

/* Padding del main-content */
.page-container .main-content {
    padding: 30px !important;
}

/* Alineación vertical de botones en header */
.user-info {
    padding: 0 !important;
    padding-top: 14px !important;
}

.links-list {
    padding-top: 14px;
    white-space: nowrap;
}

.main-content .links-list > li {
    vertical-align: middle;
    display: inline-block;
}

/* Botón de logout en header */
.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #2c3e50;
    color: #ffffff !important;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    vertical-align: middle;
    height: 30px;
    box-sizing: border-box;
}

/* Texto "Salir" en header */
.logout-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

/* Icono de logout */
.logout-btn .entypo-logout {
    font-size: 16px;
    color: #ffffff;
}

/* Efecto hover */
.logout-btn:hover {
    background: #34495e;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Efecto active */
.logout-btn:active {
    transform: translateY(0);
}

/* Efecto focus */
.logout-btn:focus {
    outline: none;
    color: #ffffff !important;
    text-decoration: none;
}

/* Responsive - Tablets */
@media (max-width: 768px) {
    .logout-btn {
        padding: 5px 10px;
        gap: 5px;
        height: 28px;
    }

    .logout-text {
        font-size: 12px;
    }

    .logout-btn .entypo-logout {
        font-size: 15px;
    }
}

/* Responsive - Móviles pequeños */
@media (max-width: 480px) {
    /* Ocultar texto, solo mostrar icono */
    .logout-text {
        display: none;
    }

    .logout-btn {
        padding: 6px;
        gap: 0;
        height: 32px;
        width: 32px;
    }

    .logout-btn .entypo-logout {
        font-size: 18px;
    }
}

/* Prevenir selección de texto */
.logout-btn * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}