/* C-Data Shield — inaltime unica pentru campuri, liste si butoane pe toate paginile (grila 4px).
 * Se incarca dupa stilurile paginii; !important bate stilurile locale si inline (padding/height diferite pe fiecare pagina).
 * Lista <select>: aspect nativ dezactivat (Safari ignora padding-ul si o deseneaza mai scunda), sageata proprie. */
:root { --ctl-h: 36px; }

input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]):not([type=image]),
select:not([multiple]),
button:not(.module-btn),
.btn, a.btn, .k-btn, .co2a-btn {
  height: var(--ctl-h) !important;
  min-height: var(--ctl-h) !important;
  box-sizing: border-box !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: middle;
}
a.btn { display: inline-flex; align-items: center; justify-content: center; }

select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  line-height: calc(var(--ctl-h) - 2px);
  padding-right: 32px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c6e55' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}
select:not([multiple])::-ms-expand { display: none; }

textarea { min-height: var(--ctl-h); box-sizing: border-box; }

/* selector de perioada: aceeasi inaltime exterioara, butoanele umplu containerul */
.period-selector { height: var(--ctl-h); box-sizing: border-box; align-items: stretch; }
.period-selector button { height: auto !important; min-height: 0 !important; display: inline-flex; align-items: center; }
