/* Administrator User Accounts. Layout only; account actions stay the same. */
.acc-page{max-width:1500px;margin:0 auto;padding:2px 0 40px;display:flex;flex-direction:column;gap:16px;min-width:0;color:#1d2433}
.acc-page-header{align-items:center;margin-bottom:0}
.acc-title-group{display:flex;align-items:center;gap:15px;min-width:0}
.acc-title-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:linear-gradient(135deg,#8b5cf6,#6741d9);box-shadow:0 10px 24px rgba(104,65,217,.22);color:#fff}
.acc-title-icon svg{width:24px;height:24px;fill:none;stroke:#fff!important;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.acc-eyebrow{display:block;margin-bottom:4px;color:#6b3fd0;font-size:11px;font-weight:800;line-height:1.3;letter-spacing:.09em;text-transform:uppercase}
.acc-page-header .wp-page-title{display:block;margin:0;font-size:28px;line-height:1.2;color:#171b28}
.acc-page-header .wp-page-subtitle{margin:5px 0 0;max-width:640px;color:#4f5668;font-size:14px;line-height:1.5}
.acc-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;flex-shrink:0}
.acc-header-actions button{min-height:38px;white-space:nowrap}
.acc-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.acc-stat{display:flex;align-items:center;gap:14px;min-width:0;padding:17px 18px;border:1px solid #e6e8ef;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(31,35,48,.035)}
.acc-stat-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#F6F2FE;color:#8352F1}
.acc-stat-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.acc-stat-icon--green{background:#eafaf3;color:#09a476}
.acc-stat-icon--amber{background:#fff7e6;color:#e89700}
.acc-stat>div{min-width:0}
.acc-stat span:not(.acc-stat-icon){display:block;color:#4f5767;font-size:11px;font-weight:700}
.acc-stat strong{display:block;margin-top:4px;color:#272d3d;font-size:24px;line-height:1.2}
.acc-card{overflow:hidden;border:1px solid #e6e8ef;border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(31,35,48,.045);min-width:0}
.acc-card-header{display:flex;align-items:flex-start;gap:14px;padding:18px 22px;border-bottom:1px solid #eceef3;background:linear-gradient(135deg,#fcfbff,#fff)}
.acc-card-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#efe8ff;color:#5f34c8}
.acc-card-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.acc-card-header h2{margin:0 0 5px;font-size:18px;line-height:1.3;color:#171b28}
.acc-card-header p{margin:0;font-size:13px;line-height:1.55;color:#4f5668}
.acc-count{display:inline-flex;align-items:center;margin-left:8px;padding:5px 9px;border-radius:999px;background:#eee8fc;color:#5f34c8;font-size:11px;font-weight:750;vertical-align:middle}
.acc-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 22px;border-bottom:1px solid #eceef3}
.acc-page .accounts-search{position:relative;flex:1 1 280px;max-width:420px;min-width:0}
.acc-page .accounts-search>i{position:absolute;top:50%;left:13px;transform:translateY(-50%);color:#94a3b8;pointer-events:none}
.acc-page .accounts-search input{width:100%;min-height:40px;padding-left:38px;border:1px solid #dde0e7;border-radius:9px;background:#fff}
.acc-page .accounts-search input:focus,.acc-page .accounts-filter select:focus{border-color:#9b78ec;box-shadow:0 0 0 3px rgba(131,82,241,.1);outline:none}
.acc-page .accounts-filter{display:flex;align-items:center;gap:8px;flex:0 0 220px;min-width:0}
.acc-page .accounts-filter label{margin:0;color:#5b6475;font-size:12px;font-weight:700}
.acc-page .accounts-filter select{flex:1;min-height:40px;border:1px solid #dde0e7;border-radius:9px;background:#fff}
.acc-page .accounts-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding:12px 22px;background:#fcfbff;border-bottom:1px solid #eceef3}
.acc-page .accounts-select-all{display:inline-flex;align-items:center;gap:8px;margin:0;color:#4f5668;font-size:13px}
.acc-page .accounts-selection-count{color:#5f34c8;font-size:12px;font-weight:750}
.acc-page .accounts-bulk-actions{display:flex;flex-wrap:wrap;gap:8px}
.acc-page .accounts-bulk-message{flex:1 1 180px;min-width:0;color:#4f5668;font-size:13px}
.acc-page .accounts-table-wrap{max-width:100%;overflow-x:auto}
.acc-page .accounts-table{width:100%;min-width:1020px;border-collapse:collapse;font-size:14px}
.acc-page .accounts-table th{padding:12px 16px;text-align:left;background:#fafafd;border-bottom:1px solid #eceef3;color:#5b6475;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.acc-page .accounts-table td{vertical-align:middle;padding:14px 16px;border-bottom:1px solid #eff0f4;color:#2f3645}
.acc-page .accounts-table tbody tr:last-child td{border-bottom:0}
.acc-page .accounts-table tbody tr:hover{background:#fcfbff}
.acc-page .accounts-select-cell{width:40px;padding-left:22px}
.acc-page .account-name{display:flex;align-items:center;gap:12px;min-width:0;max-width:none}
.acc-page .account-name-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:0;border-radius:10px;background:#eee8fc;color:#7448d8}
.acc-page .account-name-copy{max-width:220px}
.acc-page .account-name-copy strong{color:#171b28;font-size:15px}
.acc-page .account-name-domain,.acc-page .accounts-table code{color:#5b6475}
.acc-page .accounts-table code{padding:2px 7px;border-radius:6px;background:#f4f1fb;color:#5f34c8;font-size:11px}
.acc-page .account-status{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:750}
.acc-page .account-status--active{color:#087653;background:#eafbf2}
.acc-page .account-status--suspended{color:#a15c07;background:#fff5df}
.acc-page .account-status--inactive,.acc-page .account-status--unknown{color:#5b6475;background:#f3f4f7}
.acc-page .accounts-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}
.acc-page .accounts-actions>button{min-height:36px}
.acc-page .account-menu-btn{width:36px;min-width:36px;padding:0}
.acc-page .accounts-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 22px;border-top:1px solid #eceef3;background:#fcfbff}
.acc-page .accounts-page-summary,.acc-page .accounts-page-info{color:#5b6475;font-size:12px}
.acc-page .accounts-page-controls{display:flex;align-items:center;gap:8px}
.acc-page .accounts-empty{padding:28px 22px}
.acc-page .provision-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:24px;background:rgba(23,27,40,.42)}
.acc-page .provision-dialog{width:min(720px,100%);max-height:min(92vh,860px);overflow:auto;border:1px solid #e6e8ef;border-radius:16px;background:#fff;box-shadow:0 24px 60px rgba(31,35,48,.18)}
.acc-page .provision-dialog .modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #eceef3;background:linear-gradient(135deg,#fcfbff,#fff)}
.acc-page .provision-dialog .modal-title{margin:0;color:#171b28;font-size:18px}
.acc-page .provision-dialog .modal-body{padding:20px 22px 22px}
.acc-page .provision-dialog .form-row-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.acc-page .provision-dialog .form-group{min-width:0}
.acc-page .provision-dialog .form-label{display:block;margin-bottom:6px;color:#2f3645;font-size:13px;font-weight:700}
.acc-page .provision-dialog .form-control{width:100%;min-height:42px;border:1px solid #d8dbe3;border-radius:9px}
.acc-page .provision-dialog .form-control:focus{border-color:#9b78ec;box-shadow:0 0 0 3px rgba(131,82,241,.12);outline:none}
.acc-page .provision-dialog .modal-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:16px}
@media(max-width:1100px){.acc-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
    .acc-title-icon{display:none}
    .acc-page-header .wp-page-title{font-size:24px}
    .acc-summary{grid-template-columns:1fr}
    .acc-header-actions,.acc-page .accounts-create-btn{width:100%}
    .acc-header-actions button{flex:1}
    .acc-card-header,.acc-toolbar,.acc-page .accounts-bulk,.acc-page .accounts-pagination{padding-left:18px;padding-right:18px}
    .acc-page .provision-dialog .form-row-2{grid-template-columns:1fr}
}

.acc-page .accounts-card-header{justify-content:flex-start;align-items:flex-start}
.acc-page .accounts-results{margin:0;color:#4f5668;font-size:13px}
.acc-page .account-name-copy strong{display:block}
.acc-page .account-name-domain{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.acc-page .account-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.acc-page .account-ip{padding:2px 7px;border-radius:6px;background:#f4f1fb;color:#5f34c8;font-size:11px}
.acc-page .wp-page-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px}
.row-menu.users-actions-popover{min-width:220px;padding:8px;border:1px solid #e6e8ef;border-radius:12px;background:#fff;box-shadow:0 16px 40px rgba(31,35,48,.16)}
.row-menu.users-actions-popover button{width:100%;justify-content:flex-start;border:0;border-radius:8px;padding:8px 10px;background:transparent;color:#2f3645;font-size:13px}
.row-menu.users-actions-popover button:hover{background:#f6f2fe;color:#5f34c8}
