:root {
    --nencer-control-height: 34px;
}

/* Keep the shared single-line controls consistent across public and admin UI. */
.btn:not(.btn-close),
.button-theme,
.nencer-button,
.nencer-client-button,
.nencer-contact-submit {
    align-items: center;
    display: inline-flex;
    height: var(--nencer-control-height) !important;
    justify-content: center;
    min-height: var(--nencer-control-height) !important;
    padding-bottom: 4px !important;
    padding-top: 4px !important;
}

input.form-control:not([type="checkbox"]):not([type="radio"]),
select.form-control,
select.form-select,
input.theme-input:not([type="checkbox"]):not([type="radio"]),
select.theme-input {
    height: var(--nencer-control-height) !important;
    min-height: var(--nencer-control-height) !important;
    padding-bottom: 4px !important;
    padding-top: 4px !important;
}

.theme-input ~ .select2-container .select2-selection--single {
    height: var(--nencer-control-height) !important;
    min-height: var(--nencer-control-height) !important;
}

.theme-input ~ .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 24px;
}

/* Multiline and compact utility controls retain their functional sizing. */
textarea.form-control,
textarea.theme-input {
    height: auto;
}
