/* CepteKampüs - Select2 Metronic Entegrasyon Stilleri */

.select2-container .select2-selection--single {
    height: 42px !important;
    border: 1px solid #e1e3ea !important;
    border-radius: 0.475rem !important;
    padding: 0.45rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff;
    transition: color .2s ease, background-color .2s ease;
}

/* form-select-solid */
.form-select-solid + .select2-container .select2-selection--single {
    background-color: #f9f9f9 !important;
    border-color: #f9f9f9 !important;
    color: #4b5675 !important;
}

.form-select-solid + .select2-container .select2-selection--single:hover {
    background-color: #f1f1f4 !important;
    border-color: #f1f1f4 !important;
}

.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
    border-color: #3e97ff !important;
    background-color: #ffffff !important;
}

/* form-select-sm */
.form-select-sm + .select2-container .select2-selection--single {
    height: 36px !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.925rem !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: #252f4a !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    padding-left: 0 !important;
    padding-right: 1.5rem !important;
    line-height: 1.5 !important;
    width: 100%;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    right: 10px !important;
    width: 20px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #99a1b7 transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
    margin-top: -2px !important;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #3e97ff transparent !important;
    border-width: 0 4px 5px 4px !important;
}

/* Dropdown Container */
.select2-dropdown {
    border: 1px solid #f1f1f4 !important;
    border-radius: 0.475rem !important;
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
    z-index: 1070 !important; /* Modal z-index uyumu */
    padding: 0.5rem 0 !important;
}

/* Search input inside dropdown */
.select2-search--dropdown {
    padding: 0.5rem 0.75rem !important;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #e1e3ea !important;
    border-radius: 0.475rem !important;
    padding: 0.5rem 0.75rem !important;
    background-color: #f9f9f9 !important;
    color: #252f4a !important;
    font-size: 0.925rem !important;
    outline: none !important;
    width: 100% !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #3e97ff !important;
    background-color: #ffffff !important;
}

/* Results options */
.select2-results__option {
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.375rem !important;
    margin: 0.15rem 0.5rem !important;
    transition: background-color 0.15s ease !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #f1faff !important;
    color: #181c32 !important;
}

.select2-results__option[aria-selected="true"] {
    background-color: #e8fff3 !important;
    color: #181c32 !important;
}

.select2-results__message {
    padding: 0.75rem 1rem !important;
    color: #99a1b7 !important;
    font-size: 0.925rem !important;
}

/* Multiple Selection Styles */
.select2-container .select2-selection--multiple {
    min-height: 42px !important;
    border: 1px solid #e1e3ea !important;
    border-radius: 0.475rem !important;
    padding: 0.25rem 0.5rem !important;
    background-color: #ffffff;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #f1faff !important;
    border: 1px solid #c4e4ff !important;
    color: #009ef7 !important;
    border-radius: 0.375rem !important;
    padding: 0.2rem 0.6rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: #009ef7 !important;
    margin-right: 0.35rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

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

.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin: 2px !important;
    height: 28px !important;
    font-size: 0.9rem !important;
}

