/* DFI input appearance for SR and maintenance registration forms.
   Load after the service theme, which otherwise forces 32px rounded controls. */
body :is(#scope-o-sr-create, #scope-o-maintenance .maintenance-form) :is(
    input[type="text"], input[type="password"], input[type="number"],
    input[type="email"], input[type="search"], input[type="date"],
    input[type="time"], select, textarea, .form-control, .form-select
) {
    height: 27px !important;
    min-height: 27px !important;
    padding: 3px 6px;
    border: 1px solid #ccc;
    border-radius: 0 !important;
    background-color: #fff;
    line-height: 19px;
    font-family: inherit !important;
    font-size: 12px;
    font-weight: 400;
    outline: none;
    box-sizing: border-box;
}

body :is(#scope-o-sr-create, #scope-o-maintenance .maintenance-form) :is(input, select, textarea, .form-control, .form-select):focus {
    border-color: #66afe9;
    box-shadow: none !important;
    outline: none;
}

body :is(#scope-o-sr-create, #scope-o-maintenance .maintenance-form) textarea {
    height: auto !important;
    min-height: 60px !important;
    padding: 6px;
    line-height: 1.5;
}

body :is(#scope-o-sr-create, #scope-o-maintenance .maintenance-form) .mx-datepicker {
    width: 100% !important;
    height: 27px !important;
}

body :is(#scope-o-sr-create, #scope-o-maintenance .maintenance-form) :is(.mx-datepicker.form-control, .mx-datepicker.form-control-sm) {
    min-height: 27px !important;
    padding: 0 !important;
    border: 1px solid #ccc;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: none !important;
    box-sizing: border-box;
}
