:root{
  --dvlmut-primary:var(--dvlm-primary,var(--dvl-primary,#d18062));
  --dvlmut-secondary:var(--dvlm-secondary,var(--dvl-secondary,#a9553d));
  --dvlmut-text:var(--dvlm-text,var(--dvl-text,#2b1814));
  --dvlmut-heading:var(--dvlm-heading,var(--dvl-heading,#1a0f0c));
  --dvlmut-border:var(--dvlm-border,rgba(43,24,20,.10));
  --dvlmut-radius:9px;
  --dvlmut-radius-lg:10px;
  --dvlmut-shadow-soft:var(--dvlm-shadow-soft,0 10px 24px rgba(43,24,20,.05));
}

.dvlmut-list-tab,
.dvlmut-list-tab *{box-sizing:border-box}
.dvlmut-list-tab{direction:rtl;text-align:right;color:var(--dvlmut-text)}

.dvlmut-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:11px 13px;border:1px solid var(--dvlmut-border);border-radius:var(--dvlmut-radius-lg);background:linear-gradient(135deg,#fff8f4,#fff);box-shadow:var(--dvlmut-shadow-soft)}
.dvlmut-list-head h3{margin:2px 0 0;color:var(--dvlmut-heading);font-size:clamp(19px,2.4vw,24px);line-height:1.2}
.dvlmut-list-head .dvlm-info-label{font-size:12px;color:#8a6257;font-weight:800}
.dvlmut-list-count{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border-radius:9px;background:rgba(209,128,98,.13);border:1px solid rgba(209,128,98,.22);color:#6a3326;font-weight:900;font-size:15px}

.dvlmut-users-wrap{min-width:0}
.dvlmut-users-grid{display:grid;grid-template-columns:repeat(var(--dvlmut-desktop-columns,2),minmax(0,1fr));gap:10px}
.dvlmut-user-card{display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid var(--dvlmut-border);border-radius:var(--dvlmut-radius-lg);background:linear-gradient(180deg,#fff,#fffaf7);box-shadow:var(--dvlmut-shadow-soft);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;min-height:74px;overflow:hidden}
.dvlmut-user-card:hover{transform:translateY(-1px);border-color:rgba(209,128,98,.25);box-shadow:0 13px 30px rgba(43,24,20,.07)}
.dvlmut-user-avatar{width:58px;height:58px;flex:0 0 58px;border-radius:12px;padding:3px;background:linear-gradient(145deg,var(--dvlmut-primary),rgba(169,85,61,.62));box-shadow:0 8px 18px rgba(169,85,61,.12)}
.dvlmut-user-avatar img,.dvlmut-user-avatar .dvlm-avatar-img,.dvlmut-user-avatar .dvlmut-avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:9px;background:#fff;border:2px solid #fff}
.dvlmut-user-body{min-width:0;flex:1;text-align:right}
.dvlmut-user-body h4{margin:0 0 5px;color:var(--dvlmut-heading);font-size:15px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:900}
.dvlmut-role-badges{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:0}
.dvlmut-role-badges span{display:inline-flex;align-items:center;min-height:21px;padding:0 7px;border-radius:7px;background:rgba(209,128,98,.11);border:1px solid rgba(209,128,98,.20);color:#6a3326;font-size:11px;font-weight:800;line-height:1}
.dvlmut-user-email{display:inline-flex;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--dvlmut-secondary);font-size:12px;font-weight:800;direction:ltr;text-align:left}
.dvlmut-user-bio{margin:5px 0 0;color:#80645a;font-size:12px;line-height:1.55}
.dvlmut-user-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:6px;margin-inline-start:auto;z-index:2}
.dvlmut-user-actions a,.dvlmut-user-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border-radius:8px;border:1px solid rgba(209,128,98,.24);background:#fff;color:var(--dvlmut-secondary);font-weight:900;text-decoration:none;cursor:pointer;line-height:1;box-shadow:0 6px 14px rgba(43,24,20,.04)}
.dvlmut-user-actions a:hover,.dvlmut-user-actions button:hover{background:#fff7f2;color:#6a3326;border-color:rgba(209,128,98,.34)}
.dvlmut-user-actions .dashicons{width:16px;height:16px;font-size:16px;line-height:16px}
.dvlmut-empty-state{margin-top:0}

.dvlmut-pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;direction:rtl}
.dvlmut-pagination span{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border-radius:8px;border:1px solid rgba(43,24,20,.08);background:#fff;color:#6a3326;font-size:12px;font-weight:900}
.dvlmut-page-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:8px;border:1px solid rgba(209,128,98,.28);background:#fff8f4;color:var(--dvlmut-secondary);font-weight:900;cursor:pointer}
.dvlmut-page-btn:hover:not(:disabled){background:#fff1e9;border-color:rgba(209,128,98,.42);color:#6a3326}
.dvlmut-page-btn:disabled{opacity:.45;cursor:not-allowed}

@media(max-width:720px){
  .dvlmut-list-head{padding:9px 10px;margin-bottom:8px;border-radius:9px}
  .dvlmut-list-head h3{font-size:17px}
  .dvlmut-list-head .dvlm-info-label{font-size:11px}
  .dvlmut-list-count{min-width:32px;height:32px;border-radius:8px;font-size:13px}
  .dvlmut-users-grid{grid-template-columns:repeat(var(--dvlmut-mobile-columns,2),minmax(0,1fr));gap:8px}
  .dvlmut-user-card{gap:7px;min-height:58px;padding:7px;border-radius:9px}
  .dvlmut-user-avatar{width:40px;height:40px;flex-basis:40px;border-radius:9px;padding:2px}
  .dvlmut-user-avatar img,.dvlmut-user-avatar .dvlm-avatar-img,.dvlmut-user-avatar .dvlmut-avatar-img{border-radius:7px;border-width:1px}
  .dvlmut-user-body h4{font-size:12.5px;line-height:1.25;margin:0 0 3px}
  .dvlmut-role-badges{gap:3px}
  .dvlmut-role-badges span{min-height:17px;padding:0 5px;font-size:9.5px;border-radius:6px}
  .dvlmut-user-email,.dvlmut-user-bio{display:none}
  .dvlmut-user-actions{margin-inline-start:0}
  .dvlmut-user-actions a,.dvlmut-user-actions button{width:30px;height:30px;min-height:30px;padding:0;border-radius:8px}
  .dvlmut-user-actions a span:not(.dashicons),.dvlmut-user-actions button span:not(.dashicons){display:none}
  .dvlmut-user-actions .dashicons{width:16px;height:16px;font-size:16px;line-height:16px}
  .dvlmut-pagination{gap:6px;margin-top:10px}
  .dvlmut-page-btn,.dvlmut-pagination span{min-height:30px;padding:0 9px;font-size:12px}
}

@media(max-width:360px){
  .dvlmut-users-grid{gap:7px}
  .dvlmut-user-card{gap:6px;padding:6px}
  .dvlmut-user-avatar{width:36px;height:36px;flex-basis:36px}
  .dvlmut-user-body h4{font-size:12px}
  .dvlmut-role-badges span{font-size:9px;padding:0 4px}
  .dvlmut-user-actions a,.dvlmut-user-actions button{width:28px;height:28px;min-height:28px}
}
