/* Poprawki dla panelu admina */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
}

/* Style dla lewego paska nawigacyjnego */
.nav-sidebar {
    background-color: white !important;
}

/* Style dla elementów menu bocznego */
.nav-sidebar .nav-item .nav-link {
    color: #2c3e50 !important;
    font-weight: 500 !important;
    background-color: transparent !important;
}

.nav-sidebar .nav-item .nav-link:hover {
    background-color: #f8f9fa !important;
    color: #0056b3 !important;
}

/* Style dla aktywnego elementu menu */
.nav-sidebar .nav-item.menu-open .nav-link,
.nav-sidebar .nav-item.active .nav-link {
    background-color: #e8f0fe !important;
    color: #0056b3 !important;
    font-weight: bold !important;
}

/* Style dla elementów menu w niebieskim tle */
.bg-primary .nav-sidebar .nav-item .nav-link,
.bg-info .nav-sidebar .nav-item .nav-link {
    color: white !important;
    font-weight: 500 !important;
}

.bg-primary .nav-sidebar .nav-item .nav-link:hover,
.bg-info .nav-sidebar .nav-item .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Style dla ikon w menu */
.nav-sidebar .nav-item .nav-link i {
    color: #0056b3 !important;
    margin-right: 8px !important;
}

/* Style dla rozwijanego podmenu */
.nav-treeview > .nav-item > .nav-link {
    padding-left: 25px !important;
    font-size: 0.95em !important;
}

/* Styl dla aktywnego podmenu */
.nav-treeview > .nav-item > .nav-link.active {
    background-color: #e8f0fe !important;
    color: #0056b3 !important;
    font-weight: bold !important;
}

.nav-sidebar .nav-treeview .nav-item .nav-link {
    color: #6c757d !important;
    padding-left: 25px;
}

.nav-sidebar .nav-treeview .nav-item .nav-link:hover {
    color: #007bff !important;
}

.nav-sidebar .nav-treeview .nav-item.active .nav-link {
    color: #007bff !important;
    background-color: #e9ecef !important;
}

/* Style dla nagłówka paska bocznego */
.main-header {
    background-color: #2c3e50 !important;
    border-bottom: none !important;
}

.main-header .navbar-nav .nav-link {
    color: white !important;
}

.brand-link {
    background-color: #2c3e50 !important;
    color: white !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    font-weight: bold !important;
}

.brand-link:hover {
    color: #fff !important;
    background-color: rgba(255,255,255,0.1) !important;
}

/* Dodatkowe style dla przycisków w menu */
.btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

.btn-primary {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
    color: white !important;
}

/* Style dla linków w menu */
.nav-pills .nav-link.active {
    background-color: #0056b3 !important;
    color: white !important;
}

/* Poprawka dla tekstu w menu */
.text-sm .nav-link {
    font-size: 0.95rem !important;
}

/* Style dla profilu użytkownika w pasku bocznym */
.user-panel {
    border-bottom: 1px solid #dee2e6 !important;
}

.user-panel .info a {
    color: #333 !important;
}

.user-panel .info a:hover {
    color: #007bff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #007bff !important;
    color: white !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0056b3 !important;
    color: white !important;
}

/* Poprawa widoczności tekstu w polach wyboru */
.select2-container--default .select2-selection--multiple {
    background-color: white !important;
    color: #333 !important;
}

.select2-search__field {
    color: #333 !important;
}

.select2-results__option {
    color: #333 !important;
}

/* Poprawka dla pól formularza */
.form-control {
    background-color: white !important;
    color: #333 !important;
}

/* Poprawka dla list wyboru */
select[multiple] {
    background-color: white !important;
    color: #333 !important;
}

/* Poprawka dla tekstu w polach wyboru uprawnień */
.selector-chosen h2, .selector-available h2 {
    color: #333 !important;
    background: #f8f9fa !important;
}

.selector .selector-filter {
    background: white !important;
    border: 1px solid #ccc !important;
}

.selector .selector-filter label {
    color: #333 !important;
}

.selector .selector-chooser {
    background: #f8f9fa !important;
}

.selector select {
    background: white !important;
    color: #333 !important;
}