/* Select2 structure: var/template/default/assets/css/style.css, Select2 vendor section;
 * rendered-label padding: var/template/merchant/assets/css/style.css, Select2 vendor section.
 * Preserve the approved package/payment native control size and readable type from
 * moveka-package-creation.css (.package-intake--details) and moveka-payment-widget.css.
 * Knowledge hub filters reuse that same public control treatment.
 * Portal Select2 controls retain their supplied theme styles.
 */
:is(.package-creation-app, .package-payment-page, .knowledge-hub) .select2-container .select2-selection--single {
    height: 44px;
    font-size: 16px;
}

:is(.package-creation-app, .package-payment-page, .knowledge-hub) .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 12px;
    padding-right: 28px;
}

:is(.package-creation-app, .package-payment-page, .knowledge-hub) .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 6px;
}

:is(.package-creation-app, .package-payment-page, .knowledge-hub) .select2-container--default .select2-selection--multiple {
    min-height: 44px;
    font-size: 16px;
}

:is(.package-creation-app, .package-payment-page, .knowledge-hub) .select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 16px;
}

/* Existing noncanonical Express/SameDay task controls: moveka-express.css,
 * .express-task-panel .form-select and its max-width: 767.98px override.
 */
.express-app:not(.package-creation-app) .express-task-panel .select2-container .select2-selection--single {
    height: 48px;
    font-size: 14px;
}

.express-app:not(.package-creation-app) .express-task-panel .select2-selection--single .select2-selection__rendered,
.express-app:not(.package-creation-app) .express-task-panel .select2-selection--single .select2-selection__arrow {
    line-height: 46px;
    height: 46px;
}

.public-booking:not(.package-creation-app) .express-task-panel .select2-container .select2-selection--single {
    font-size: 16px;
}

.express-app:not(.package-creation-app) .select2-search--dropdown .select2-search__field {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 16px;
}

/* Bootstrap's supplied native input-group control sizing, applied to its replacement. */
.express-app .input-group > select + .select2-container {
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0;
}

@media (max-width: 767.98px) {
    .express-app:not(.package-creation-app) .express-task-panel .select2-container .select2-selection--single {
        height: 50px;
        font-size: 16px;
    }

    .express-app:not(.package-creation-app) .express-task-panel .select2-selection--single .select2-selection__rendered,
    .express-app:not(.package-creation-app) .express-task-panel .select2-selection--single .select2-selection__arrow {
        line-height: 48px;
        height: 48px;
    }
}
