/* Estilos personalizados legados */

body {
    background-color: #f8f9fc !important;
}

.app-header {
    background-color: white;
}

.app-footer {
    background-color: #ddc9a3 !important;
}

/* Custom buttons */
.btn-anam-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #235b4e;
    --bs-btn-border-color: #235b4e;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #10312b;
    --bs-btn-hover-border-color: #10312b;
    --bs-btn-focus-shadow-rgb: 53, 128, 217;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #182f29;
    --bs-btn-active-border-color: #182f29;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #d9e2df;
    --bs-btn-disabled-border-color: #d9e2df;
}

.btn-anam-secondary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #98989a;
    --bs-btn-border-color: #98989a;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #6f7271;
    --bs-btn-hover-border-color: #6f7271;
    --bs-btn-focus-shadow-rgb: 53, 128, 217;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #636364;
    --bs-btn-active-border-color: #636364;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #DCDCDC;
    --bs-btn-disabled-border-color: #DCDCDC;
}

.btn-anam-info {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #ddc9a3;
    --bs-btn-border-color: #ddc9a3;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #bc955c;
    --bs-btn-hover-border-color: #bc955c;
    --bs-btn-focus-shadow-rgb: 53, 128, 217;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #b4a486;
    --bs-btn-active-border-color: #b4a486;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #f4ede0;
    --bs-btn-disabled-border-color: #f4ede0;
}

.text-anam-primary {
    color: #235b4e !important;
}

.text-anam-secondary {
    color: #9f2241 !important;
}

.text-anam-info {
    color: #bc955c !important;
}

/* Estilos nuevos personalizados para el proyecto SINVAD - transito*/

.page-main-title {
    color: #9f2241;
    font-size: 35px;
    font-weight: 600;
}

.container-white {
    background-color: white;
    border-radius: 10px !important;
}

.text-color-subtitle {
    color: #98989a;
}

.accion-btn {
    border: 2px solid #235b4e !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: transparent;
    cursor: pointer;
}

/* Estilo al pasar el ratón sobre el botón (hover) */
.accion-btn:hover {
    background-color: #235b4e;
}

/* Estilo cuando el botón está seleccionado (por ejemplo, si es un botón de selección) */
.accion-btn:active {
    background-color: #10312b !important;
}

/* Estilo cuando el botón está desactivado */
.accion-btn:disabled {
    border: 2px solid #dadada !important;
    background-color: #f3f4f6;
    opacity: 0.8;
    /* Puedes ajustar la opacidad según tus preferencias */
    cursor: not-allowed;
}

/* Estilo para el icono dentro del botón */
.accion-btn i {
    color: #235b4e;
    /* Color predeterminado del icono */
}

.accion-btn:hover .accion-icon {
    color: #bc955c;
    /* Color dorado para el icono al hacer hover */
}

.accion-btn:disabled .accion-icon {
    color: #dadada;
    /* Color dorado para el icono al hacer hover */
}

.custom-popup-class {
    height: 800px;
    /* Establece la altura que prefieras */
}

/* Color de texto */
.color-btn-red {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #9f2241;
    --bs-btn-border-color: #9f2241;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #77182E;
    --bs-btn-hover-border-color: #77182E;
    --bs-btn-focus-shadow-rgb: 53, 128, 217;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #551121;
    --bs-btn-active-border-color: #551121;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #d9e2df;
    --bs-btn-disabled-border-color: #d9e2df;
}

.bg-grey {
    background-color: #E5E7EB;
}

#fichero{
    display: none;
}

.text-gold {
    color: #b38e5e !important
}

.text-gray {
    color: #98989a
}

/* Estilos de botones personalizados */

.table-description {
    max-width: 250px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-column {
    width: 130px !important;
}

.btn-red {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #9F2241;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #691C32;
    --bs-btn-focus-shadow-rgb: 53, 128, 217;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #636364;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #cfabab;
    --bs-btn-disabled-border-color: #DCDCDC;
}

/* Estilos para ampliar la usabilidad de los elementos badge de metronic */
.badge.rounded-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.badge-green-dark {
    color: #10312B;
    border: 0.15rem solid #235b4e;
    transition: all 0.2s ease-in-out;
}

.badge-green-dark>i {
    color: #10312B;
    transition: all 0.2s ease-in-out;
}

button.badge {
    background-color: transparent;
}

.badge-green-dark:hover {
    color: #fff;
    background-color: #235b4e;
    transition: all 0.2s ease-in-out;
}

.badge-green-dark:hover>i {
    color: #fff;
    transition: all 0.2s ease-in-out;
}

.text-color-opciones {
    color: #bc955c;
}

.badge-gray {
    color: #98989a;
    border: 0.15rem solid #6f7271;
    background-color: #ededee;
    font-weight: 500;
}

.badge-green {
    color: #10312B;
    border: 0.15rem solid #235b4e;
    background-color: #e7faf5;
    font-weight: 500;
}

.badge-green>i {
    color: #10312B;
}

.badge-red {
    color: #9f2241;
    border: 0.15rem solid #691c32;
    font-weight: 500;
}

.badge-red>i {
    color: #9f2241;
}

/* Estilos especificos para el badge */
.badge-return {
    background-color: #98989a;
    color: white;
}

/* Estilos generales para las tablas */
.table-red-custom {
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.table-red-custom thead {
    background: #9f2241;
    font-size: 14px !important;
    font-weight: bold !important;
    color: white !important;
}

.table-red-custom thead tr th:first-child {
    border-radius: 15px 0px 0px 0px;
}

.table-red-custom thead tr th:last-child {
    border-radius: 0px 15px 0px 0px;
}

/* Estilos generales para la paginación */
.pagination {
    --bs-pagination-hover-color: black;
    --bs-pagination-active-bg: #bc955c;
    --bs-pagination-padding-y: 3px;
    --bs-pagination-padding-x: 3px;
    --bs-pagination-font-size: 12px;
}

.pagination .page-link {
    font-weight: normal;
}

/* Estilos generales para sombras */
.shadow-1 {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow-2 {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
}

.shadow-3 {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.shadow-4 {
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

.hidden{
display: none !important;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
    color: #000;     
    background-color: transparent;      
    border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link {
    border: none;
    /* Remueve el borde por defecto */
    padding: 10px 15px;
}

.nav-tabs .nav-link.active {
    background-color: #f2f2f2;
    /* Fondo gris claro para la pestaña activa */
    border-bottom: 3px solid #9f2241;
    /* Borde inferior rojo para la pestaña activa */
    border-radius: 0;
    /* Remueve el redondeo por defecto de Bootstrap si existe */
}

/* Opcional: Agrega un efecto al pasar el mouse */
.nav-tabs .nav-link:hover {
    background-color: #f2f2f2;
    /* Un gris un poco más oscuro al pasar el mouse */
}

.paginacion span.deshabilitado,
.paginacion img.deshabilitado {
    opacity: 0.5;
    cursor: not-allowed;
}

.description-field textarea {
    resize: vertical;
    /* Permitir que el campo de texto se extienda verticalmente */
    min-height: 100px;
    /* Altura mínima del campo de texto */
    max-height: 200px;
    /* Altura máxima del campo de texto */
}