/* ELEMEN v10.17.78: estilos restritos ao cadastro de clientes. */
#clientes .customers-filters78{padding:16px;display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:14px}
#clientes .customers-filters78 label{flex:1 1 145px;min-width:0}
#clientes .customers-filters78 label:first-child{flex-basis:240px}
.customer-feedback78{font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin:14px 0}
.customer-error78{color:#ff8d98!important}
.customer-legacy78{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border:1px solid #373344;border-radius:12px;padding:14px;margin:14px 0}
.customers-metric-note78{margin:16px 0!important;line-height:1.5}
#customerPhoneCopy78{min-height:130px;margin-bottom:14px}
.customers-table78 td small{line-height:1.5;color:var(--muted)}
.customers-table78 td:nth-child(5){white-space:nowrap;font-variant-numeric:tabular-nums}
.customers-table78 .row-actions{min-width:145px}
.customer-sizes78{min-width:170px;font-size:12px;line-height:1.65;color:var(--muted)}
.customer-sizes78 b{color:var(--text);font-weight:600}
.customer-results78{display:grid;gap:6px;max-height:250px;overflow:auto;margin:10px 0}
.customer-option78{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;width:100%;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--text);padding:12px;cursor:pointer}
.customer-option78 small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.customer-selected78:empty{display:none}
.customer-selected78{padding:12px;border-radius:10px;border:1px solid #32679f;background:rgba(40,120,200,.1);margin-top:10px;line-height:1.6}
.customer-selected78 strong,.customer-selected78 small{display:block}
.customer-selected78 small{color:var(--muted)}
.sale-customer78{display:grid;gap:8px}
.sale-customer78 .tiny{line-height:1.5}
.customers-modal78{position:fixed;inset:0;background:rgba(0,0,0,.75);z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px}
#customerAssignModal78{z-index:1001}
#customerFormModal78{z-index:1002}
.customers-dialog78{background:#101118;border:1px solid var(--line);border-radius:18px;padding:22px;width:min(720px,100%);max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 80px rgba(0,0,0,.5)}
.customers-dialog-head78{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.customers-dialog-head78 h2{margin:0;font-size:21px}
#customerFields78{display:grid;gap:16px;border:0;padding:0;margin:0 0 20px;min-width:0}
#customerFields78 .tiny{line-height:1.5}
#customerDuplicate78{padding:12px;border:1px solid #51492e;border-radius:10px;margin:14px 0}
.customer-order78{border-bottom:1px solid var(--line);padding:18px 0;line-height:1.6}
.customer-order78 header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.customer-order78 ul{padding-left:20px;font-size:14px}
.customer-order78 p{margin:4px 0;color:var(--muted);font-size:13px}
.customer-order78 strong{font-variant-numeric:tabular-nums}
#customerAssignSearch78{margin:8px 0}
@media(max-width:720px){
  .customers-modal78{padding:12px;align-items:flex-start;padding-top:calc(12px + env(safe-area-inset-top))}
  .customers-dialog78{max-height:calc(100dvh - 30px - env(safe-area-inset-top));padding:16px;border-radius:14px}
  #clientes .customers-table78,#clientes table,#clientes tbody,#clientes tr,#clientes td{display:block}
  #clientes thead{display:none}
  #clientes tr{padding:14px;border-bottom:1px solid var(--line)}
  #clientes td{border:0;padding:6px 0;white-space:normal}
  #clientes td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:12px;margin-right:12px}
  #clientes td.customer-empty78::before{display:none}
  #clientes .customers-filters78{display:grid;grid-template-columns:1fr 1fr;padding:14px}
  #clientes .customers-filters78 label:first-child,#copyCustomerPhones78{grid-column:1/-1}
}
