.logo-img {
    max-height: 200px !important;
}
.logo-img.navbar {
    max-height: 140px !important;
    width: auto !important;
}
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    text-align: center;
    color: #F28B20;
    letter-spacing: 1px;
}

.logo-text .mn {
    font-size: 1.8rem;
    margin-right: 6px;
}

.logo-text .ref {
    font-weight: 600;
    font-size: 1.2rem;
    color: #ffffff;
    /* blanco */
    /* text-transform: uppercase; */
}

.logo-text .mn-top {
    font-size: 1.5rem;
    margin-right: 6px;
}

.logo-text .top {
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    /* blanco */
    /* text-transform: uppercase; */
}
.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.5) !important;
    outline: none !important;
    z-index: 20000 !important;
    position: relative !important;
    outline: none !important;
}

/* Ajustamos el tamaño para form-select-lg con select2 */
.select2.form-select-lg+.select2-container--bootstrap-5 .select2-selection--single {
    min-height: calc(2.625rem + 2px) !important;
    font-size: 0.9375rem !important;
}

input[readonly] {
    background-color: #e9ecef;
    /* Color gris por defecto de Bootstrap */
}

input[readonly]:focus {
    background-color: #e9ecef;
    /* Mantén el mismo color de fondo al hacer foco */
    outline: none;
    /* Elimina el borde azul por defecto */
}

textarea[readonly] {
    background-color: #e9ecef;
    /* Color gris por defecto de Bootstrap */
}

textarea[readonly]:focus {
    background-color: #e9ecef;
    /* Mantén el mismo color de fondo al hacer foco */
    outline: none;
    /* Elimina el borde azul por defecto */
}

.dt-empty {
    text-align: center !important;
}


/* Estilos para Select2 con tema bootstrap-5 en modo oscuro */
.dark-mode .select2-container--bootstrap-5 .select2-selection--single {
    background-color: #101924;
    border: 1px solid #444;
    color: #fff;
}

/* Texto del elemento seleccionado */
.dark-mode .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #fff;
}

/* Icono del desplegable */
.dark-mode .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    color: #fff;
}

/* Dropdown de opciones */
.dark-mode .select2-container--bootstrap-5 .select2-dropdown {
    background-color: #101924;
    border: 1px solid #444;
    color: #fff;
}

/* Opciones del menú */
.dark-mode .select2-container--bootstrap-5 .select2-results__option {
    background-color: #101924;
    color: #fff;
}

/* Opción resaltada (hover o selección con teclas) */
.dark-mode .select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #3a3a5a;
    color: #fff;
}

/* Input de búsqueda dentro del dropdown */
.dark-mode .select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
    background-color: #2a2a3a;
    border: 1px solid #555;
    color: #fff;
}

/* Hace que el contenedor de select2 se comporte como un input regular */
.input-group .select2-container--bootstrap-5 {
    flex: 1 1 auto;
    width: 1% !important;
}

/* Ajusta la altura para que se alinee con el botón */
.input-group .select2-container--bootstrap-5 .select2-selection--single {
    height: 100%;
    padding: 0.375rem 0.75rem;
    /* igual a .form-control */
    line-height: 1.5;
}

/* Opcional: arregla el alineado vertical del texto dentro del select2 */
.input-group .select2-container--bootstrap-5 .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    line-height: 1.5;
}
