.form-group {
    margin-bottom: 18px;
}

.form-group label,
label {
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
}

.form-control,
.input-group-addon,
.input-group .btn,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.daterangepicker .ranges li,
.date_range {
    border-radius: 14px !important;
}

.form-control,
.input-group-addon,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 48px;
    border: 1px solid rgba(203, 213, 225, 0.92);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
    color: var(--app-text);
}

.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
}

.form-control:focus {
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: 0 0 0 4px var(--app-ring);
}

.form-control::placeholder {
    color: #94a3b8;
}

.input-group-addon {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    min-width: 48px;
    padding: 0 14px;
    color: var(--app-text-soft);
    font-size: 15px;
}

.input-group {
    width: 100%;
}

.input-group .form-control,
.input-group .input-group-addon,
.input-group .input-group-btn {
    display: table-cell;
    vertical-align: middle;
}

.input-group .input-group-addon,
.input-group .input-group-btn {
    width: 1%;
    white-space: nowrap;
}

.input-group > .input-group-addon ~ .select2-container {
    display: table-cell !important;
    width: auto !important;
    vertical-align: middle;
}

.input-group > .input-group-addon ~ .select2-container .select2-selection--single,
.input-group > .input-group-addon ~ .select2-container .select2-selection--multiple {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

[dir='rtl'] .input-group > .input-group-addon ~ .select2-container .select2-selection--single,
[dir='rtl'] .input-group > .input-group-addon ~ .select2-container .select2-selection--multiple {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 14px !important;
    border-bottom-left-radius: 14px !important;
}

.input-group-addon i,
.input-group-addon .fa,
.input-group-addon .fas,
.input-group-addon .glyphicon {
    line-height: 1;
}

.input-group .btn {
    min-height: 48px;
}

.select2-container {
    width: 100% !important;
}

.js-currency-section .js-currency-select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.js-currency-section select.js-currency-select + .select2-container {
    display: block !important;
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 14px;
    padding-right: 34px;
    color: var(--app-text);
    font-size: 14px;
    font-weight: 600;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--app-text-soft) transparent transparent transparent;
}

.select2-container--default .select2-selection--multiple {
    padding: 5px 8px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 7px;
}

.select2-container .select2-search__field,
.select2-dropdown .select2-search__field,
.select2-search--dropdown .select2-search__field,
.select2-search--inline .select2-search__field,
.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-container--default .select2-search--inline .select2-search__field,
.dataTables_wrapper .dataTables_filter input,
.ui-autocomplete-input,
.ts-control input,
.ts-dropdown .dropdown-input,
.bootstrap-select .bs-searchbox .form-control,
.chosen-search input,
input[type="search"],
.account-search-input,
#search_product,
#search_product_for_purchase_return,
#search_product_for_label,
input.search_product,
input[id^="search_product"],
#app_quick_nav_search {
    background-color: #ffffff !important;
    background-image: none !important;
    color: var(--app-text, #0f172a) !important;
    caret-color: var(--app-text, #0f172a);
    -webkit-text-fill-color: var(--app-text, #0f172a);
    border: 1px solid var(--app-border-strong, #cbd5e1);
    color-scheme: light;
}

.select2-container .select2-search__field::placeholder,
.select2-dropdown .select2-search__field::placeholder,
.select2-search--dropdown .select2-search__field::placeholder,
.select2-search--inline .select2-search__field::placeholder,
.dataTables_wrapper .dataTables_filter input::placeholder,
.ui-autocomplete-input::placeholder,
.ts-control input::placeholder,
.bootstrap-select .bs-searchbox .form-control::placeholder,
.chosen-search input::placeholder,
input[type="search"]::placeholder,
.account-search-input::placeholder,
#search_product::placeholder,
#search_product_for_purchase_return::placeholder,
#search_product_for_label::placeholder,
input.search_product::placeholder,
input[id^="search_product"]::placeholder,
#app_quick_nav_search::placeholder {
    color: var(--app-text-soft, #64748b) !important;
    -webkit-text-fill-color: var(--app-text-soft, #64748b);
    opacity: 1;
}

.select2-dropdown {
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--app-shadow-sm);
}

.select2-results__option {
    padding: 10px 14px;
    color: var(--app-text-muted);
    font-size: 13px;
    font-weight: 700;
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option[aria-selected='true'] {
    background: rgba(37, 99, 235, 0.08) !important;
    color: var(--app-text) !important;
}

.daterangepicker {
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 20px;
    box-shadow: var(--app-shadow-md);
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker .ranges li.active {
    background: var(--app-color-primary);
}

.checkbox label,
.radio label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--app-text-muted);
    text-transform: none;
    letter-spacing: normal;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.form-inline .form-control {
    width: auto;
}