/* Orich POS — rounded text inputs & dropdowns */

.form-control,
.form-select,
select.form-control,
textarea.form-control {
    border-radius: 10px;
    border-color: #e8eaed;
    font-size: 0.875rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #0f9cf3;
    box-shadow: 0 0 0 3px rgba(15, 156, 243, 0.12);
}

.form-control-sm,
.form-select-sm {
    border-radius: 8px;
}

.form-control-lg,
.form-select-lg {
    border-radius: 12px;
}

.input-group > .form-control,
.input-group > .form-select {
    border-radius: 10px;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Select2 dropdowns */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: 10px !important;
    border-color: #e8eaed !important;
    min-height: 38px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #0f9cf3 !important;
    box-shadow: 0 0 0 3px rgba(15, 156, 243, 0.12);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 0.75rem;
    color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border-radius: 6px;
}

/* Entity modals */
.or-entity-modal .form-control,
.or-entity-modal .form-select {
    border-radius: 10px;
}

/* DataTables length selector */
.dataTables_length select.form-select,
.dataTables_length select {
    border-radius: 10px;
}
