/* Select2 Dark Theme - Match Input Style */

.select2-container--bootstrap-5 .select2-selection {
    background-color: transparent !important;
    border: 1px solid #35383b !important;
    border-radius: 4px !important;
    color: #e8eaed !important;
    min-height: 38px !important;
    padding: 4px 8px !important;
    transition: all 0.2s !important;
}

.select2-container--bootstrap-5 .select2-selection:hover {
    border-color: #4a4c4e !important;
    background: rgba(255,255,255,0.02) !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #f06a6a !important;
    background: #1d1f21 !important;
    box-shadow: none !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    padding: 0 !important;
}

/* Fix for the inline search input field in multiple select - remove the square box */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-search--inline {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search--inline .select2-search__field {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 100px !important;
    color: #e8eaed !important;
    font-size: 13px !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
    color: #5a5c5e !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(240, 106, 106, 0.15) !important;
    border: 1px solid rgba(240, 106, 106, 0.3) !important;
    color: #f06a6a !important;
    padding: 3px 8px !important;
    margin: 3px 4px 3px 0 !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    color: #f06a6a !important;
    margin-right: 4px !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #e05555 !important;
}

/* Hide the clear button square/box in multiple select */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear,
.select2-container--bootstrap-5 .select2-selection__clear {
    display: none !important;
}

/* Hide any arrow or clear indicators that might appear as squares */
.select2-container--bootstrap-5 .select2-selection__arrow,
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__arrow {
    display: none !important;
}

/* Ensure no visible boxes or squares in the selection area */
.select2-container--bootstrap-5 .select2-selection--multiple {
    border: 1px solid #35383b !important;
    background: transparent !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection--multiple {
    border-color: #f06a6a !important;
    background: #1d1f21 !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    background-color: #2d2f31 !important;
    border: 1px solid #35383b !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}

.select2-container--bootstrap-5 .select2-results__option {
    color: #e8eaed !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: rgba(240, 106, 106, 0.15) !important;
    color: #e8eaed !important;
}

.select2-container--bootstrap-5 .select2-search__field {
    background-color: #1d1f21 !important;
    border: 1px solid #35383b !important;
    border-radius: 4px !important;
    color: #e8eaed !important;
    padding: 6px 10px !important;
}

.select2-container--bootstrap-5 .select2-search__field:focus {
    border-color: #f06a6a !important;
    outline: none !important;
}

/* Summernote Dark Theme */
.note-editor.note-frame {
    border-color: #35383b !important;
}

.note-editing-area .note-editable {
    background-color: #1d1f21 !important;
    color: #e8eaed !important;
}

.note-toolbar {
    background-color: #25272a !important;
    border-bottom-color: #35383b !important;
}

.note-btn {
    background-color: transparent !important;
    color: #9aa0a6 !important;
    border-color: #35383b !important;
}

.note-btn:hover {
    background-color: rgba(255,255,255,0.05) !important;
    color: #e8eaed !important;
}

.note-dropdown-menu {
    background-color: #2d2f31 !important;
    border-color: #35383b !important;
}

.note-dropdown-item {
    color: #e8eaed !important;
}

.note-dropdown-item:hover {
    background-color: rgba(255,255,255,0.05) !important;
}

