/* Maknoon registered customers (administration only) */
.mk-customers-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0}
.mk-customers-tools input{flex:1 1 250px;min-width:0;margin:0;padding:12px 14px;border:1px solid #ded3b9;border-radius:12px}
.mk-customers-tools button{width:auto;margin:0}
#mk-customers-status{min-height:1.6em;color:#685323;font-size:14px}
#mk-customers-status.is-error{color:#b3261e}
#mk-customers-count{font-size:14px;color:#666;font-weight:700}
#mk-customers-list{display:grid;gap:14px}
.mk-customer-card{border:1px solid #e4d9bf;border-radius:14px;padding:16px;background:#fffdf9;box-shadow:0 3px 14px rgba(50,35,13,.04);overflow-wrap:anywhere}
.mk-customer-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;border-bottom:1px solid #eee2cb;padding-bottom:12px}
.mk-customer-head strong{display:block;color:#755b20;font-size:17px}
.mk-customer-head span{display:block;color:#555;font-size:13px;margin-top:4px}
.mk-customer-referral{padding:12px 0;color:#595347;font-size:13px}
.mk-customer-balances{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#f8f3e7;border:1px solid #eadfc6;border-radius:10px;padding:12px}
.mk-customer-balances label{display:grid;gap:7px;font-size:13px;font-weight:800;color:#50452d;flex:1 1 135px}
.mk-customer-balances input{width:100%;margin:0;padding:11px;border-radius:9px;border:1px solid #d5c49f;background:#fff;box-sizing:border-box;direction:ltr;text-align:left}
.mk-customer-balances button{flex:0 1 auto;width:auto;margin:0;min-height:42px}
.mk-customer-actions{margin-top:12px}
.mk-customer-actions button{width:auto;max-width:100%;margin:0;font-size:13px}
.mk-customer-feedback{font-size:13px;color:#6c5424;margin:8px 0 0;min-height:1.2em}
@media(max-width:540px){.mk-customer-card{padding:12px}.mk-customer-balances button,.mk-customer-actions button{width:100%}}
/* Smaller, readable customer management on phones and long Arabic labels. */
#mk-admin-customers .panel{max-width:100%;min-width:0}
#mk-admin-customers h3{font-size:clamp(18px,2.8vw,23px);line-height:1.5;overflow-wrap:anywhere}
#mk-admin-customers .panel>p{font-size:14px;line-height:1.7}
#mk-customers-search{font-size:14px!important;min-width:0}
.mk-customer-empty{margin:18px 0;padding:14px;border:1px dashed #d9c9a8;border-radius:10px;color:#65543c}
.mk-customer-legacy-note{font-size:13px;line-height:1.85;margin:10px 0 0;color:#756755}
.mk-customer-past{background:#fcfaf5}
.mk-customers-more{width:100%;margin:0;max-width:100%}
@media(max-width:600px){
  #mk-admin-customers .panel{padding:14px 12px!important;border-radius:14px}
  #mk-admin-customers .panel>p{font-size:13px}
  #mk-admin-customers h3{font-size:18px}
  .mk-customers-tools{gap:8px}
  .mk-customers-tools input{flex:1 1 100%;font-size:14px}
  .mk-customers-tools button{width:100%}
  #mk-customers-status,#mk-customers-count{font-size:13px!important}
}
