/* AvtoMaydon v20 — unified staff management */
.v20-employee-page{display:grid;gap:20px;color:#123e32}
.v20-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.v20-employee-stat{position:relative;display:grid;gap:6px;overflow:hidden;padding:22px 24px;background:#fff;border:1px solid #d5e8df;border-radius:17px;box-shadow:0 8px 25px rgba(3,63,44,.035)}
.v20-employee-stat::before{content:"";position:absolute;top:0;left:0;bottom:0;width:4px;background:linear-gradient(#009a76,#b9efda)}
.v20-employee-stat span{font-size:12px;font-weight:750;color:#507b6c}
.v20-employee-stat strong{font-size:35px;line-height:1.2;letter-spacing:-1.8px;color:#034d3e}
.v20-employee-stat small{font-size:11px;color:#73998b}
.v20-employee-panel{background:#fff;border:1px solid #d5e8df;border-radius:20px;overflow:hidden;box-shadow:0 12px 35px rgba(3,63,44,.045)}
.v20-employee-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:28px 30px 18px}
.v20-employee-eyebrow{display:block;margin-bottom:8px;letter-spacing:1.8px;color:#00956e;font-size:10px;font-weight:800}
.v20-employee-heading h2{font-size:22px;line-height:1.25;letter-spacing:-.7px;margin:0 0 7px;color:#093c32}
.v20-employee-heading p{margin:0;color:#668b7f;font-size:12px}
.v20-new-employee{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:0;border-radius:11px;background:linear-gradient(125deg,#00664e,#00a477);color:#fff!important;padding:13px 18px;white-space:nowrap;font-weight:750;font-size:12px;box-shadow:0 5px 12px rgba(0,124,88,.15);cursor:pointer}
.v20-new-employee:hover{filter:brightness(1.08);transform:translateY(-1px)}
.v20-new-employee svg{width:16px;height:16px}
.v20-employee-search{display:flex;align-items:center;gap:9px;margin:0 30px 23px}
.v20-employee-search label{display:flex;align-items:center;gap:9px;flex:1;background:#f7fbf9;border:1px solid #d8e8df;border-radius:11px;padding:0 14px;min-width:0}
.v20-employee-search label:focus-within{border-color:#00a477;box-shadow:0 0 0 3px rgba(3,153,112,.1)}
.v20-employee-search svg{flex-shrink:0;width:18px;height:18px;color:#55977e}
.v20-employee-search input{width:100%;height:46px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#174435;font-size:12px;padding:0!important;margin:0!important}
.v20-employee-search button{background:#03664e;border:1px solid #03664e;color:#fff;border-radius:10px;padding:13px 19px;font-size:12px;font-weight:800;cursor:pointer}
.v20-employee-search a{color:#047a61;font-size:12px;font-weight:750;text-decoration:none;padding:10px}
.v20-employee-table-scroll{overflow-x:auto;margin:0 30px}
.v20-employee-table{width:100%;border-collapse:separate;border-spacing:0;min-width:750px;table-layout:auto}
.v20-employee-table thead th{background:#eef7f3;border-bottom:1px solid #dbece3;border-top:1px solid #dbece3;padding:15px 14px;font-size:11px;font-weight:800;color:#4a7567;text-align:left;white-space:nowrap}
.v20-employee-table thead th:first-child{border-radius:10px 0 0 0}
.v20-employee-table thead th:last-child{border-radius:0 10px 0 0}
.v20-employee-table tbody td{border-bottom:1px solid #eaf0ed;padding:13px 14px;font-size:12px;color:#195041;vertical-align:middle}
.v20-employee-row{cursor:pointer;transition:background-color .16s}
.v20-employee-row:hover{background:#f0fbf5}
.v20-employee-row:focus-visible{outline:2px solid #10a67a;outline-offset:-2px;background:#f0fbf5}
.v20-employee-person{display:flex;align-items:center;gap:11px;min-width:195px}
.v20-employee-avatar{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;background:linear-gradient(135deg,#d5f6e6,#edfaf4);color:#006f51;border-radius:12px;font-size:16px;font-weight:850}
.v20-employee-person strong{display:block;color:#073e32;font-size:12px;line-height:1.3}
.v20-employee-person small{display:block;color:#7c9e91;margin-top:5px;font-size:10px}
.v20-employee-role{display:inline-block;background:#f0f6f3;border:1px solid #d9e9df;border-radius:7px;padding:6px 9px;font-weight:750;color:#275e4d;font-size:11px}
.v20-login-cell{font-weight:750}
.v20-employee-status{display:inline-flex;align-items:center;gap:7px;border-radius:30px;padding:7px 11px;font-size:11px;font-weight:750;white-space:nowrap}
.v20-employee-status i{width:7px;height:7px;border-radius:50%;background:currentColor}
.v20-employee-status.is-active{color:#007b55;background:#e3f7ed}
.v20-employee-status.is-disabled{color:#986b26;background:#fff3dc}
.v20-row-action{display:inline-flex;gap:6px;align-items:center;padding:8px 10px;background:#fff;border:1px solid #d4e7dd;border-radius:8px;color:#007a5b;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}
.v20-row-action:hover{background:#def8e9}
.v20-row-action svg{width:14px;height:14px}
.v20-employee-empty{display:grid;justify-items:center;gap:6px;padding:35px 16px;color:#64887b}
.v20-employee-empty svg{color:#00a377;width:28px;height:28px}
.v20-employee-empty strong{color:#144f3d}
.v20-employee-empty p{margin:0;font-size:12px;text-align:center}
.v20-employee-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:23px 30px}
.v20-employee-pagination p{margin:0;font-size:11px;color:#6c8d7d}
.v20-employee-pagination nav{display:flex;align-items:center;gap:10px}
.v20-employee-pagination nav>a{display:inline-flex;align-items:center;gap:5px;padding:10px 13px;color:#087459;font-weight:750;font-size:12px;border:1px solid #d5e8df;border-radius:9px;text-decoration:none;background:white}
.v20-employee-pagination nav>a:hover:not([aria-disabled="true"]){background:#effbf5;border-color:#8ddbbd}
.v20-employee-pagination nav>a[aria-disabled="true"]{opacity:.36;pointer-events:none;cursor:not-allowed}
.v20-employee-pagination nav>span{font-size:12px;font-weight:800;color:#386959;padding:0 6px;white-space:nowrap}
.v20-employee-pagination svg{width:14px;height:14px}
.v20-employee-dialog{position:fixed;max-width:min(92vw,710px);width:710px;max-height:min(90vh,850px);inset:0;margin:auto;border:1px solid #d5e6df;border-radius:22px;padding:0;background:#fff;box-shadow:0 32px 90px rgba(0,29,22,.3);color:#173f33;overflow-y:auto}
.v20-employee-dialog::backdrop{background:rgba(4,29,22,.61);backdrop-filter:blur(4px)}
.v20-dialog-heading{position:sticky;top:0;z-index:2;display:flex;align-items:start;justify-content:space-between;gap:16px;padding:26px 30px 24px;background:linear-gradient(115deg,#003f34,#008869);color:#fff;border-radius:20px 20px 0 0}
.v20-dialog-heading span{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#b4efd6}
.v20-dialog-heading h2{font-size:24px;line-height:1.2;margin:8px 0;letter-spacing:-.7px;color:white}
.v20-dialog-heading p{font-size:12px;margin:0;color:#d8f6e9}
.v20-dialog-heading>button{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid #73b5a1;border-radius:10px;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}
.v20-dialog-heading>button svg{width:18px;height:18px}
.v20-dialog-body{padding:26px 30px 18px}
.v20-dialog-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.v20-dialog-fields>label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#315d4e;font-weight:750;margin:0}
.v20-dialog-fields>label.v20-wide-field{grid-column:1/-1}
.v20-dialog-fields em{font-style:normal;color:#e68633}
.v20-dialog-fields input,.v20-dialog-fields select{width:100%;min-width:0;box-sizing:border-box;height:45px;border:1px solid #d5e6dd;border-radius:9px;background:#fbfefd;padding:0 13px;font-size:13px;font-weight:550;color:#133d2f;box-shadow:none;margin:0;outline:none}
.v20-dialog-fields input:focus,.v20-dialog-fields select:focus{border-color:#00a377;box-shadow:0 0 0 3px rgba(0,163,119,.1)}
.v20-dialog-fields select:disabled{opacity:.65;cursor:not-allowed}
.v20-password-box{margin-top:23px;padding:21px 20px;background:#f3faf7;border:1px solid #d4e9df;border-radius:13px}
.v20-password-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.v20-password-title>span{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#d9f4e7;color:#007857}
.v20-password-title svg{width:18px;height:18px}
.v20-password-title h3{margin:0;font-size:15px;color:#164a39}
.v20-password-title p{margin:5px 0 0;color:#698c7e;font-size:11px}
.v20-password-visibility{display:flex;align-items:center;gap:8px;margin:15px 0 0;font-size:11px;color:#396b57;cursor:pointer}
.v20-password-visibility input{accent-color:#048760;width:16px;height:16px}
.v20-form-alert{padding:12px 14px;border:1px solid #f7c4b0;background:#fff5f0;border-radius:9px;color:#a33f27;font-size:12px;font-weight:650;margin:18px 0 0}
.v20-form-alert[hidden]{display:none}
.v20-dialog-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:11px;background:#fff;padding:18px 30px 24px;border-top:1px solid #ecf1ed}
.v20-dialog-actions button{min-height:43px;border-radius:10px;padding:11px 18px;font-size:12px;font-weight:800;cursor:pointer}
.v20-dialog-actions button[type="button"]{background:#fff;border:1px solid #d7e7dd;color:#376653}
.v20-dialog-actions button[type="submit"]{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(125deg,#00664e,#009d72);border:1px solid #00815e;color:#fff}
.v20-dialog-actions button[type="submit"]:disabled{opacity:.6;cursor:progress}
.v20-dialog-actions svg{width:16px;height:16px}
@media(max-width:850px){.v20-stats{grid-template-columns:1fr 1fr}.v20-employee-heading{padding:22px 20px}.v20-employee-search{margin:0 20px 16px}.v20-employee-table-scroll{margin:0 20px}.v20-employee-pagination{padding:18px 20px}}
@media(max-width:560px){.v20-stats{grid-template-columns:1fr;gap:10px}.v20-employee-stat{padding:16px 19px}.v20-employee-stat strong{font-size:26px}.v20-employee-heading{align-items:stretch;flex-direction:column}.v20-new-employee{width:100%}.v20-employee-search{flex-wrap:wrap}.v20-employee-search label{flex-basis:100%}.v20-employee-search button{flex:1}.v20-employee-pagination{flex-direction:column}.v20-employee-dialog{max-width:calc(100vw - 14px);max-height:calc(100dvh - 24px);border-radius:16px}.v20-dialog-heading{padding:22px 18px}.v20-dialog-heading h2{font-size:21px}.v20-dialog-body{padding:20px 18px}.v20-dialog-fields{grid-template-columns:1fr;gap:12px}.v20-password-box{padding:17px 14px}.v20-dialog-actions{padding:16px 18px}}
