/* Select2 Container */
.select2-container--default .select2-selection--single {
    background-color: #2a3655;
    border: 1px solid #3d4a6b;
    border-radius: 6px;
    height: 42px;
    padding: 8px 12px;
    color: #e1e5f0;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #7c3aed;
    outline: none;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

/* Selected Value Text */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e1e5f0;
    line-height: 26px;
    padding: 0;
}

/* Placeholder */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #8892ab;
}

/* Arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #8892ab transparent transparent transparent;
    border-width: 6px 5px 0 5px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #8892ab transparent;
    border-width: 0 5px 6px 5px;
}

/* Dropdown */
.select2-container--default .select2-dropdown {
    background-color: #2a3655;
    border: 1px solid #3d4a6b;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Search Input */
.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #1e2841;
    border: 1px solid #3d4a6b;
    border-radius: 4px;
    color: #e1e5f0;
    padding: 8px 12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #7c3aed;
    outline: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field::placeholder {
    color: #8892ab;
}

/* Results */
.select2-container--default .select2-results__option {
    background-color: #2a3655;
    color: #e1e5f0;
    padding: 10px 12px;
}

/* Highlighted Result */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #7c3aed;
    color: #ffffff;
}

/* Selected Result */
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #3d4a6b;
    color: #ffffff;
}

/* Hover State */
.select2-container--default .select2-results__option:hover {
    background-color: #3d4a6b;
}

/* No Results */
.select2-container--default .select2-results__option--disabled {
    color: #8892ab;
}

/* Multiple Select (if needed) */
.select2-container--default .select2-selection--multiple {
    background-color: #2a3655;
    border: 1px solid #3d4a6b;
    border-radius: 6px;
    color: #e1e5f0;
    padding: 4px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #7c3aed;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    padding: 4px 8px;
    margin: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff;
    margin-right: 6px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fca5a5;
}

/* Loading */
.select2-container--default .select2-results__option[aria-disabled=true] {
    color: #8892ab;
}

/* Clear Button */
.select2-container--default .select2-selection__clear {
    color: #8892ab;
    font-size: 18px;
    margin-right: 8px;
}

.select2-container--default .select2-selection__clear:hover {
    color: #e1e5f0;
}

/* Disabled State */
.select2-container--default .select2-selection--single.select2-selection--disabled {
    background-color: #1e2841;
    cursor: not-allowed;
    opacity: 0.6;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #1e2841;
    cursor: not-allowed;
    opacity: 0.6;
}

.select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.05) !important;
}
.select2-container .select2-selection--single{
    height: auto !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
}
.select2-selection--multiple{
    background: #1e2841 !important;
}
.select2-container--default .select2-selection--single {
     border: 1px solid linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
     color: white !important;
}
.select2-container--default .select2-selection--multiple {
     border: 1px solid linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
     color: white !important;
}
.modal-body input,select{
    border: 1px solid linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
    color: white !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
}
select {
    background-color: #1b1f38 !important;  /* Match your dark card/background */
    color: #ffffff !important;             /* White text */
    border: 1px solid #3c4470 !important;  /* Optional subtle border */
}

/* Dropdown options (opened list) */
select option {
    background-color: #1b1f38 !important;
    color: #ffffff !important;
}

/* Highlighted (hover/selected) option */
select option:checked,
select option:hover {
    background-color: #2e355a !important;
    color: #ffffff !important;
}
/* Select box styling */
select {
    background-color: #1b1f38 !important;  
    color: #ffffff !important;              /* Selected text white */
    border: 1px solid #3c4470 !important;
}

/* Options inside dropdown */
select option {
    background-color: #1b1f38 !important;
    color: #ffffff !important;              /* Option text white */
}

/* Highlighted option */
select option:checked,
select option:hover {
    background-color: #2e355a !important;
    color: #ffffff !important;
}

/* Placeholder/hint text (the "Select" option) */
select option[disabled][selected] {
    color: #cfcfcf !important;              /* Light gray placeholder */
}

/* New ChooseFile Color Change */
input[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}
/* File input base */
input[type="file"] {
    color: #ffffff; 
    background-color: transparent;
    border: 1px solid #3c4470;
    padding: 6px;
    border-radius: 6px;
    width: 100%;
}

/* Custom gradient button */
input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    margin-right: 10px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

/* Hover effect */
input[type="file"]::file-selector-button:hover {
    opacity: .85;
}
