.has-success .input-group-text{
    border-color: #81C784  !important;
    background: #81C784  !important;
    color: #fff !important;
}

.has-success .form-control {
    border-color: #81C784 !important;
    color: #81C784 !important;
}

.has-error .input-group-text {
    border-color: #FF6B6B  !important;
    background: #FF6B6B  !important;
    color: #fff !important;
}

.pointer{
    cursor: pointer;
}

.table > tbody > tr > td{
    padding: 5px !important;
}

.form-control, .input-group-text, .form-control:disabled{
    border-color: #3e93ff !important;
}

.form-select{
    border-color: #3e93ff !important;
}

.form-control {
    border-width: 1px;
}

input[type=text]:focus, input[type=number]:focus, input[type=password]:focus, textarea:focus, select:focus option{
    background-color:  #fff9c4 !important;
    border: 1px solid #4da6ff !important;
    box-shadow: 0 0 5px rgba(77, 166, 255, 0.5) !important;
}

table.dataTable {
    border-collapse:collapse !important;
}
table tr.inactive td {
    background-color: #ffcccc; /* Color rojo claro */


}
table tr.active td {
    background-color: #ccffcc; /* Color rojo claro */


}

td {
    white-space: nowrap;       /* Evita saltos de línea */
    overflow: hidden;         /* Oculta el texto que se desborda */
    text-overflow: ellipsis;  /* Añade "..." al final del texto cortado */
    max-width: 150px;         /* Ancho máximo antes de truncar */

}


.table thead th{
    padding: 5px 5px !important;
}

/* Contenedor del tooltip */
.tooltip {
    pointer-events: auto;
    z-index: 1080;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
    user-select: none;
}

/* Cuerpo del tooltip */
.tooltip .tooltip-inner {
    background-color: #3985ac; /* color sólido azul agradable */
    color: #FFFFFF; /* texto blanco para buen contraste */
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px 16px;
    font-weight: bold;
    border-radius: 12px;
    box-shadow:
        0 4px 8px rgba(74, 144, 226, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 220px;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover suave para el tooltip */
.tooltip.show .tooltip-inner:hover {
    background-color: #357ABD; /* azul más oscuro al pasar el mouse */
    box-shadow:
        0 6px 12px rgba(53, 122, 189, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Flecha del tooltip */
.tooltip .tooltip-arrow::before {
    border-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

/* Flecha para tooltip arriba */
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #4a90e2;
    filter: drop-shadow(0 1px 1px rgba(74, 144, 226, 0.3));
}

/* Flecha para tooltip abajo */
.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #4a90e2;
    filter: drop-shadow(0 -1px 1px rgba(74, 144, 226, 0.3));
}

/* Flecha para tooltip izquierda */
.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #4a90e2;
    filter: drop-shadow(1px 0 1px rgba(74, 144, 226, 0.3));
}

/* Flecha para tooltip derecha */
.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #4a90e2;
    filter: drop-shadow(-1px 0 1px rgba(74, 144, 226, 0.3));
}

/* Efecto de aparición suave */
.tooltip.fade.show {
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}

/* Animación de pulso opcional */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
    }
}

.tooltip.pulsing .tooltip-inner {
    animation: pulse 2s infinite;
}


.main-panel .page-header{
    margin-bottom: 0px;
}