/* ------------------------------------- */
/* ---------- Select2 Library ---------- */
/* ------------------------------------- */

[data-bs-theme=dark] .select2-search {
    background-color: #343A40 !important;
}

/* Change the appearence of the search input field */
[data-bs-theme=dark] .select2-search input {
    color: #ffffff !important;
    background-color: #343A40 !important;
}

[data-bs-theme=dark] .select2-results__option {
    color: white;
}

/*hover de opciones de select*/
[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
    color: white;
    background-color: #262626;
}

/* Change the appearence of the search results container */
[data-bs-theme=dark] .select2-results {
    background-color: #343A40 !important;
}

/* Change the appearence of the dropdown select container */
[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-selection {
    border-color: #6c757d !important;
    color: #ffffff !important;
    background-color: #343A40 !important;
}

/* Change the caret down arrow symbol to white */
[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* Change the color of the default selected item i.e. the first option */
[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}

/*placeholder inputs filtros*/
/* [data-bs-theme=dark] .color-text::placeholder {
    color: #6c757d;
} */


/*footer modal*/
[data-bs-theme=dark] .modal-footer {
    background-color: #212529;
}

/*boton en agregar gastos nuevo concepto*/
[data-bs-theme=dark] #btnAgregarNuevoConcepto {
    background-color: #212529;
    color: #ffffff;
}

/*
botones-iconos en crear gastos y crear cuenta banco
de fondo negro
*/
[data-bs-theme=dark] .icono-concepto-gastos {
    background-color: #212529;
    color: #ffffff;
}

/*icon calendar input*/
[data-bs-theme=dark] input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    border-radius: 50%;
    padding: 4px;
}

/*input de formularios para letra de placeholder en gris*/
[data-bs-theme=dark] .input-correos::placeholder {
    color: #6c757d;
}

/*input de formularios para letra de placeholder en gris de filtros*/
[data-bs-theme=dark] .form-control::placeholder {
    --bs-secondary-color-text: #555555;
    opacity: 1;
}


[data-bs-theme=dark] .input-group-text {
    background-color: #6c757d;
    color: #ffffff;
}

[data-bs-theme=dark] .table-primary {
    --bs-table-bg: #6c757d;
    --bs-table-hover-bg: var(--bs-table-bg)
}

/*fondo de inputs editables*/
[data-bs-theme=dark] .input-edit-table {
    background-color: #343A40;
    color: #ffffff;

}

/*fondo de footer*/
[data-bs-theme=dark] footer {
    background-color: #2b3035 !important;
}

/*letra-danger de alerta-danger en blanco*/
[data-bs-theme=dark] .alert-danger {
    --bs-alert-color: white;
    --bs-alert-bg: transparent;
}


/*alerta sin fondo y letras blancas para panel de actividades*/
[data-bs-theme=dark] #tab-actividades-pane .alert-warning {
    --bs-alert-bg: transparent;
    color: white;
}

/*alerta sin fondo y letras blancas para panel de actividades*/
[data-bs-theme=dark] #actividades-panel .alert-warning {
    --bs-alert-bg: transparent;
    color: white;
}

/*alerta sin fondo y letras blancas para panel de actividades*/
[data-bs-theme=dark] #actividad .alert-warning {
    --bs-alert-bg: transparent;
    color: white;
}

/*alerta sin fondo y letras blancas para panel de actividades*/
[data-bs-theme=dark] #actividades-tab-pane .alert-warning {
    --bs-alert-bg: transparent;
    color: white;
}

/*letra de alerta-primary en blanco*/
[data-bs-theme=dark] .alert-primary {
    --bs-alert-color: white;
    --bs-alert-bg: transparent;
}

/*letra de alerta-warning en blanco*/
[data-bs-theme=dark] .alert-warning {
    --bs-alert-bg: transparent;
    color: white;
}


/*letra de alerta-info en blanco*/
[data-bs-theme=dark] .alert-info {
    --bs-alert-color: white;
    --bs-alert-bg: transparent;
}

/*letra de alerta-primary en gastos*/
[data-bs-theme=dark] #contentActividades .alert-primary {
    --bs-alert-color: white;
    --bs-alert-bg: transparent;
}

/*elementos del menu de acciones de ventas, facturas canceladas, entre otras*/
table.dataTable tbody tr.selected a {
    color: #adb5bd;
}
