.export-button {
    float: left !important;
    margin-right: 10px;
    /* Espacio extra si necesitas separar de otros elementos */
}


.dataTables_info {
    padding-left: 10px !important;
}

.dataTables_filter {
    margin-right: 10px;
}

/* ======= MEJORA ESPECÍFICA PARA BUSCADOR ======= */

/* Espaciado entre "Buscar:" y el input */
.dataTables_wrapper .dataTables_filter label {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important; /* Espacio entre "Buscar:" y el input */
}

/* ======= ALINEACIÓN DE INFORMACIÓN Y PAGINACIÓN ======= */

/* Alinear verticalmente el texto "Mostrando X a X de X entradas" y la paginación */
.dataTables_wrapper .dataTables_info {
    padding-top: 9px !important;
    padding-bottom: 8px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* ======= HOVER CONSISTENTE PARA PAGINACIÓN ======= */

/* Solo ajustar el hover para que sea consistente, manteniendo la apariencia original */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #e9ecef !important;
    color: #0a58ca !important;
}

.dataTables_length {
    margin-left: 10px;
}

.slogan-registro {
    font-size: 3.5rem;
    color: #edebea;
    font-weight: bold;
}

.sub-slogan-registro {
    color: #edebea;
    font-size: 1.5rem;
    margin-top: 5rem;
}

.custom-color-button-login {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn .btn .custom-color-button-login .btn-block:hover {
    background-color: #238f94;
}

.btn-info_0 {
    background-color: var(--light);
    color: #888888;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-info_0:hover {
    background-color: var(--light-hover);
    color: #888888;
}

.crear-margin {
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.btn-info_1 {
    background-color: var(--secondary);
    color: white !important;
    border: none;
    transition: background-color 0.3s ease;
}


.btn-info_1:hover {
    background-color: var(--secondary-hover);
    color: white;
}

.btn-aceptar {
    background-color: var(--success);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-aceptar:hover {
    background-color: var(--success-hover);
}

.btn-info_2 {
    background-color: var(--warning);
    color: #888888;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-info_2:hover {
    background-color: var(--warning-hover);
    color: #888888;
}

.btn-info_3 {
    background-color: var(--primary);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-info_3:hover {
    background-color: var(--primary-hover);
    color: white;
}

.btn-info_4 {
    background-color: var(--info);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-info_4:hover {
    background-color: var(--info-hover);
    color: white;
}

.btn-aceptar {
    background-color: var(--success);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-aceptar:hover {
    background-color: var(--success-hover);
    color: white;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: var(--danger-hover);
    color: white;
}

.btn-critical {
    background-color: var(--critical);
    color: white;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-critical:hover {
    background-color: var(--critical-hover);
    color: white;
}

.btn-crear-registro {
    background-color: #154e7a !important;
    color: #F2F2F2 !important;
    border: 1px solid #154e7a !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 1rem;
}

.btn-crear-registro:hover {
    background-color: #437194 !important;
    color: #F2F2F2 !important;
    border: 1px solid #437194 !important;
    color: white;
    margin-bottom: 1rem;
}

/* Removido - ahora se usa el estilo de custom-theme.css */

.btn-turquesa {
    background-color: #6C91BF;
    /* Azul claro */
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-turquesa:hover {
    background-color: #567399;
    /* Azul más oscuro */
    color: white;
}

/* Mantener el estilo hover cuando el dropdown está activo */
.dropdown.show .btn-turquesa,
.dropdown[aria-expanded="true"] .btn-turquesa,
.btn-turquesa.show,
.btn-turquesa[aria-expanded="true"] {
    background-color: #567399 !important;
    color: white !important;
}

.active-projects.style-1 {
    padding: 20px;
}

.active-projects.style-1 .dt-buttons .dt-button {
    right: -5px !important;
    margin-top: 7px;
}

.dataTables_wrapper .dataTables_filter {
    float: right !important;
    text-align: right
}

.dataTables_wrapper .dataTables_paginate {
    float: right !important;
    text-align: right !important;
    padding-top: 0.25em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
}

.dataTables_wrapper .dataTables_info {
    clear: both;
    float: left;
    padding-top: 0.755em;
}

button.dt-button {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    margin-right: 0.333em;
    margin-bottom: 0.333em;
    padding: 0.5em 1em;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.88em;
    line-height: 1.6em;
    color: black;
    white-space: nowrap;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
    background: -webkit-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -moz-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -ms-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -o-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: linear-gradient(to bottom, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr='rgba(230, 230, 230, 0.1)', EndColorStr='rgba(0, 0, 0, 0.1)');
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    outline: none;
    text-overflow: ellipsis;
}

/* Estilos para dropdown items */
.dropdown-item:hover {
    background-color: var(--rgba-primary-1) !important;
    color: var(--primary) !important;
    transition: all 0.3s ease;
}

.dropdown-item:focus {
    background-color: var(--rgba-primary-1) !important;
    color: var(--primary) !important;
    transition: all 0.3s ease;
}

.dropdown-item:active {
    background-color: var(--primary) !important;
    color: white !important;
    transition: all 0.3s ease;
}

/* ======= ESTILOS PARA BADGE DE NOTIFICACIONES ======= */

/* Contenedor del icono de notificaciones */
.notification_dropdown .nav-link .position-relative {
    position: relative;
    display: inline-block;
}

/* Badge de notificaciones */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #F55503, #FF7043);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

/* Hover del badge */
.notification-badge:hover {
    transform: scale(1.1);
}

/* ======= ESTILOS PARA NOTIFICACIONES DINÁMICAS ======= */

/* Estilos para las notificaciones del header */
.notification-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.notification-link:hover {
    text-decoration: none;
    color: inherit;
}

.timeline-panel {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px;
}

.timeline-panel:hover {
    transform: translateX(2px);
    background-color: #f8f9fa !important;
}

/* Estilos base para media-info (círculo del icono) */
.timeline-panel .media-info {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

/* Colores específicos por tipo de notificación - HEADER */
/* Aplicando directamente a .media-info como en mipanel.html */
/* Usando selectores más específicos para sobrescribir el theme */

.widget-media .timeline .timeline-panel[data-type="vinculacion"] .media-info {
    background: linear-gradient(135deg, #19BCB9, #6CCBD2) !important;
}

.widget-media .timeline .timeline-panel[data-type="practicas"] .media-info {
    background: linear-gradient(135deg, #A1D40B, #8BC34A) !important;
}

.widget-media .timeline .timeline-panel[data-type="consultoria"] .media-info {
    background: linear-gradient(135deg, #F55503, #FF7043) !important;
}

.widget-media .timeline .timeline-panel[data-type="servicios"] .media-info {
    background: linear-gradient(135deg, #2A7B9B, #6CCBD2) !important;
}

.widget-media .timeline .timeline-panel[data-type="investigaciones"] .media-info {
    background: linear-gradient(135deg, #6CCBD2, #19BCB9) !important;
}

.widget-media .timeline .timeline-panel[data-type="capacitacion"] .media-info {
    background: linear-gradient(135deg, #FF9800, #FFB74D) !important;
}

.widget-media .timeline .timeline-panel[data-type="comites"] .media-info {
    background: linear-gradient(135deg, #2A7B9B, #6CCBD2) !important;
}

/* Asegurar que los iconos sean blancos */
.widget-media .timeline .timeline-panel .media-info i {
    color: white !important;
}

.timeline-panel .media-body h6 a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.timeline-panel .media-body h6 a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.timeline-panel .media-body small {
    font-size: 12px;
    line-height: 1.4;
}

/* Estilos para el botón "Ver todas" */
.all-notification {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: transparent;
    color: #6c757d;
    text-decoration: none;
    border-top: 1px solid #e9ecef;
}

.all-notification:hover {
    background-color: #f8f9fa !important;
    color: var(--primary)!important;
    text-decoration: none;
}

/* Estilos para el estado vacío */
.timeline-panel .media-info .fas.fa-check-circle {
    color: white;
}