body, 
.content-wrapper, 
.main-header, 
.main-sidebar, 
.nav-pills .nav-link,
.card-title,
.btn,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif !important;
    font-size: 0.9rem;
}
a {
    font-family: 'Raleway', sans-serif !important;
    font-size: 0.9rem;
    color: #3A6D63;
}
a:hover {
    color: #2E5B54;
    text-decoration: none;
    font-weight:700;
}

.bg-light-red, .bg-light-red td {
    background-color: #ffdcdf !important;
}

/* Excepción crítica: No aplicar a los iconos de FontAwesome */
.fas, .far, .fa, .glyphicon {
    font-family: "Font Awesome 5 Free" !important; /* O la versión que uses */
}
.fab {
    font-family: "Font Awesome 5 Brands" !important; /* Para iconos de marcas */
}

.select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
}
.select2-container .select2-selection--single {
    height:calc(2.25rem + 2px) !important;
    padding: .33rem .75rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

.btn-primary {
    background-color: #3A6D63 !important;
    border-color: #3A6D63 !important;
}
.text-primary {
    color: #3A6D63 !important;
}
.user-header.bg-primary, .card-header.bg-primary {
    background-color: #3A6D63 !important;
}
.login-box a {
    color: #3A6D63 !important;
    font-weight:500;
}
.main-header.navbar.navbar-expand.navbar-info.navbar-dark {
    background-color: #3A6D63 !important;
}
.sidebar-dark-info .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #3A6D63 !important;
    color: white !important;
}
.sidebar-dark-info .nav-sidebar>.nav-item>.nav-link.active .nav-icon, .sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active .nav-icon {
    color: white !important;
}
.badge.badge-success.right {
    background-color: #9DB679 !important;
}
.brand-link {
    background-color: #B4CDCE !important; 
}
.brand-link b {
    color: #3A6D63 !important;
    font-weight:700;
    text-shadow: #FFFFFF 1px 1px 2px;
    font-size:1.2rem;
}
td > a {
    color: #3A6D63 !important;
}
.card-primary.card-outline {
    border-top: 3px solid #3A6D63 !important;
}
.card-primary.card-outline .nav-item .nav-link {
    color: #3A6D63 !important;
    background-color: white !important;
}
.card-primary.card-outline .nav-item .nav-link.active, .card-primary.card-outline .nav-item .nav-link:hover {
    background-color: #3A6D63 !important;
    color: white !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3A6D63 !important;
    border: none !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
}
.dropzone {
    border: 2px dashed #3A6D63 !important;
}
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #3A6D63;
    background-color: #3A6D63;
    box-shadow: none;
}
.nav-tabs .nav-link {
    border-bottom: 1px solid #dee2e6;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #dee2e6 #dee2e6 #fff;
}

.custom-file-input:lang(es) ~ .custom-file-label::after {
    content: "Buscar";
}

.oculto-adhesion {
    display: none !important;
}

.footer {
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    flex-wrap: wrap; 
    gap: 15px;
}

@media (max-width: 1024px) {
    .footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}


