/* Shared form labels follow Ciro Raporu’s Başlangıç label. */
:root{--entry-height:33px;--entry-label-color:#718096;--entry-font:14px;--entry-label:11px;--entry-gap:5px;--entry-border:#90a4ae}
html body :is(input,select).form-control:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=hidden]):not([type=button]):not([type=submit]):not([aria-label="Sayfada gösterilecek satır sayısı"]),
html body select:not([class]):not([multiple]),
html body :is(.form-select,.custom-select):not([multiple]),
html body input:not([class]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=hidden]):not([type=button]):not([type=submit]){
 box-sizing:border-box!important;height:var(--entry-height)!important;min-height:var(--entry-height)!important;max-height:var(--entry-height)!important;padding:4px 9px!important;margin-top:2px!important;margin-bottom:0!important;font-size:var(--entry-font)!important;font-weight:400;line-height:22px!important;border:1px solid var(--entry-border)!important;border-radius:4px!important;box-shadow:none!important;text-overflow:ellipsis;max-width:100%;min-width:0;
}
html body label:has(> :is(input,select,textarea).form-control):not(:has(>input[type=checkbox],>input[type=radio])):not(.grid-page-size){font-size:var(--entry-label)!important;font-weight:600;padding-top:0!important;margin-top:0!important;margin-bottom:0!important;gap:2px!important;min-width:0}
html body :is(input,select,textarea).form-control:focus{border-color:#007bff!important;box-shadow:0 0 0 1px #007bff!important;outline:none!important}
html body label:has(:is(input,select,textarea):focus){color:#007bff}
html body textarea.form-control{box-sizing:border-box;font-size:14px!important;line-height:1.5!important;padding:4px 9px!important;margin-top:2px!important;margin-bottom:0!important;border:1px solid var(--entry-border)!important;border-radius:4px!important;box-shadow:none!important;min-height:var(--entry-height);max-width:100%}
html body :is(.filter-toolbar,.filter-grid,.admin-fields,.dispatch-grid,.mikro-user-grid){gap:var(--entry-gap)!important;row-gap:var(--entry-gap)!important}
html body .input-group>.form-control{margin-top:0!important}
html body .input-group:has(>.form-control)>.input-group-append>.btn,html body .input-group:has(>.form-control)>.input-group-prepend>.btn{height:var(--entry-height)!important;padding-top:4px!important;padding-bottom:4px!important;font-size:14px!important}
html body .dark-mode :is(input,select,textarea).form-control{border-color:#90a4ae!important}
/* Keep the compact grid page-size selector separate from data entry. */
html body .grid-page-size select.form-control{height:28px!important;min-height:28px!important;max-height:28px!important;padding:2px 6px!important;font-size:12px!important;line-height:20px!important;margin:0!important}
@media print{html body :is(input,select,textarea).form-control{box-shadow:none!important}}

/* Plain, wrapped and floating captions; keep checkbox/radio and pager styles separate. */
html body.dark-mode,html body.panel-editor-body{--entry-label-color:#b5c1d1}
html body label:has(:is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=password],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=datetime-local],input[type=time],input[type=week],input[type=month],select,textarea)):not(.grid-page-size),
html body label[for]:not(.form-check-label,.custom-control-label,.sr-only),
html body :is(.form-label,.filter-label),
html body label:has(:is(input,select,textarea).form-control):not(.grid-page-size) > span:first-child,
html body #plProductDialog .pl-floating > span:first-child {
 font-size:var(--entry-label)!important;
 color:var(--entry-label-color)!important;
 font-weight:600!important;
 line-height:1.25;
}
