* {
    font-family: inter, sans-serif;
}

.select2-results__options {
    max-height: 150px !important;
}

/* Hilangkan arrow spinner di Chrome, Edge, Safari */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hilangkan arrow spinner di Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

button:disabled,
button[disabled] {
    border: none !important;
    background-color: #cccccc !important;
    color: #666666 !important;
}

.btnSubmit {
    background-color: #0060ae;
    color: white;
    padding: 14px 10px;
    border-radius: 10px;
    font-weight: 500;
}

.btnSubmit:hover {
    background-color: #067ad8;
    color: white;
}

/* .select2-selection__rendered, */
.formInput {
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.formInput::placeholder {
    color: #858585;
    font-size: 16px;
}

.formInput:focus {
    border-color: #034987;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 42, 255, 0.25);
}

.select2-selection.select2-selection--multiple,
.select2-selection.select2-selection--single,
.select2-container--bootstrap-5 .select2-selection--single,
.select2-container--bootstrap-5 .select2-selection--multiple,
.select2-container--bootstrap-5
    .select2-selection--single
    .select2-selection__arrow {
    right: 0.75rem !important;
    left: auto !important;
    background-position: right 0.75rem center !important;
    /* min-height: 100% !important; */
}

select + .select2-container--bootstrap-5 {
    width: 100% !important;
    display: block;
}

.select2-selection.select2-selection--multiple,
.select2.select2-container.select2-container--bootstrap-5
    .selection
    .select2-selection--single,
.select2.select2-container.select2-container--bootstrap-5
    .selection
    .select2-selection--multiple,
.select2-selection.select2-selection--single,
.select2-container--bootstrap-5 .select2-selection--single,
.select2-container--bootstrap-5 .select2-selection--multiple {
    padding: 10px 16px !important;
    width: 100% !important;
    display: block !important;
    height: auto !important;
    border-radius: 10px !important;
}

/* Optional: atur posisi supaya lebih tengah */
.select2-container--bootstrap-5 .select2-selection__arrow b {
    margin-top: 0 !important;
}

.select2-selection__placeholder {
    color: rgb(189, 189, 189) !important;
}

.select2-container--bootstrap-5
    .select2-selection--multiple
    .select2-selection__clear,
.select2-container--bootstrap-5
    .select2-selection--single
    .select2-selection__clear {
    right: 2.25rem !important;
    left: auto !important;
    background-color: rgb(233, 233, 233);
    font-size: 15px !important;
    border-radius: 8px !important;
    padding: 6px !important;
}

.select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option.select2-results__option--highlighted {
    background-color: rgb(255, 255, 255);
}

.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--above {
    box-shadow: 0px 6px 34px -4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: rgb(239, 248, 255);
}

.select2-container--bootstrap-5.select2-container--open.select2-container--above
    .select2-selection,
select + .select2-container--bootstrap-5:focus,
.select2-container--bootstrap-5
    .select2-dropdown
    .select2-search
    .select2-search__field:focus,
.form-control:focus {
    border-color: #126de6;
    box-shadow: 0 0 0 0.2rem rgba(38, 157, 255, 0.25);
}

.select2-dropdown.select2-dropdown--above,
.select2-dropdown.select2-dropdown--below {
    max-height: 200px !important;
}

#registerForm > div:nth-child(7) > span > span.selection {
    display: flex !important;
}
