
/* HRVruddhi M10.2 Unified Design System — Employer + Employee portals */
:root{
 --hrv-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
 --hrv-text:#1f2937;--hrv-muted:#667085;--hrv-border:#dfe5e1;--hrv-surface:#fff;
 --hrv-soft:#f7f9f7;--hrv-primary:#6DBB45;--hrv-primary-dark:#579c35;
 --hrv-danger:#b42318;--hrv-warning:#9a6700;--hrv-radius:10px;--hrv-shadow:0 1px 3px rgba(16,24,40,.07);
 --hrv-control-h:38px;--hrv-field-max:420px;
}
.hrvp-wrap,.hrve-shell,.hrve-profile-page,.hrv-portal,.hrv-dashboard,.hrv-employer-dashboard{
 font-family:var(--hrv-font)!important;color:var(--hrv-text);font-size:13px;line-height:1.45;
}
.hrvp-wrap h1,.hrve-shell h1,.hrv-portal h1{font-size:24px!important;line-height:1.25!important;margin:0 0 6px!important;font-weight:700!important;letter-spacing:-.02em}
.hrvp-wrap h2,.hrve-shell h2,.hrv-portal h2{font-size:18px!important;line-height:1.3!important;font-weight:700!important}
.hrvp-wrap h3,.hrve-shell h3,.hrv-portal h3{font-size:15px!important;font-weight:700!important}
.hrvp-wrap label,.hrve-shell label,.hrv-portal label{font-size:12px!important;font-weight:600;color:#344054}
.hrvp-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.hrvp-wrap select,.hrvp-wrap textarea,
.hrve-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.hrve-shell select,.hrve-shell textarea,
.hrv-portal input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.hrv-portal select,.hrv-portal textarea{
 width:100%!important;max-width:var(--hrv-field-max)!important;min-width:0!important;
 border:1px solid #cfd8d2!important;border-radius:8px!important;background:#fff!important;
 color:var(--hrv-text)!important;font:inherit!important;box-sizing:border-box!important;
 box-shadow:none!important;outline:none!important;
}
.hrvp-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.hrvp-wrap select,.hrve-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.hrve-shell select,.hrv-portal input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.hrv-portal select{
 height:var(--hrv-control-h)!important;min-height:var(--hrv-control-h)!important;padding:7px 10px!important;
}
.hrvp-wrap textarea,.hrve-shell textarea,.hrv-portal textarea{min-height:78px!important;padding:9px 10px!important;resize:vertical}
.hrvp-wrap input:focus,.hrvp-wrap select:focus,.hrvp-wrap textarea:focus,
.hrve-shell input:focus,.hrve-shell select:focus,.hrve-shell textarea:focus,
.hrv-portal input:focus,.hrv-portal select:focus,.hrv-portal textarea:focus{
 border-color:var(--hrv-primary)!important;box-shadow:0 0 0 3px rgba(109,187,69,.13)!important;
}
.hrvp-wrap .button,.hrvp-wrap button,.hrv-btn,.pms-primary,.pms-btn,
.hrve-shell button,.hrve-shell .button,.hrv-portal button,.hrv-portal .button{
 min-height:36px!important;height:auto!important;border-radius:8px!important;padding:7px 13px!important;
 font-size:12px!important;font-weight:650!important;line-height:1.2!important;box-sizing:border-box!important;
 box-shadow:none!important;text-decoration:none!important;
}
.hrv-btn-primary,.pms-primary,.hrvp-wrap .button-primary{
 background:var(--hrv-primary)!important;border-color:var(--hrv-primary)!important;color:#fff!important;
}
.hrv-btn-primary:hover,.pms-primary:hover,.hrvp-wrap .button-primary:hover{background:var(--hrv-primary-dark)!important;border-color:var(--hrv-primary-dark)!important}
.hrv-card,.pms-card,.hrve-card,.hrv-panel,.hrv-section-card,.owner-card{
 background:var(--hrv-surface)!important;border:1px solid var(--hrv-border)!important;border-radius:12px!important;
 box-shadow:var(--hrv-shadow)!important;padding:16px!important;
}
.hrv-grid-2,.pms-grid-2{gap:16px!important}
.hrv-table,.pms-table,.hrvp-wrap .widefat{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid var(--hrv-border)!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important}
.hrv-table th,.pms-table th,.hrvp-wrap .widefat th{background:#f6f8f6!important;color:#475467!important;font-size:11px!important;font-weight:700!important;padding:10px!important;text-align:left}
.hrv-table td,.pms-table td,.hrvp-wrap .widefat td{padding:10px!important;font-size:12px!important;vertical-align:middle!important;border-top:1px solid #edf0ed!important}
.hrv-table small,.pms-table small,.hrvp-wrap small,.hrve-shell small{display:block;color:var(--hrv-muted);font-size:10px!important;margin-top:2px}
.hrv-status,.owner-status,.m10-pill{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:3px 8px!important;border-radius:999px!important;font-size:10px!important;font-weight:700!important}
.hrv-form-grid,.pms-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(220px,var(--hrv-field-max)))!important;gap:13px 16px!important;align-items:start!important}
.hrv-form-grid>label,.pms-form-grid>label{display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important}
.hrv-field-help,.description{color:var(--hrv-muted)!important;font-size:10px!important;font-weight:400!important}
.hrv-responsive-table{overflow:auto!important;border-radius:10px}
.hrvp-wrap select[multiple],.hrve-shell select[multiple],.hrv-portal select[multiple]{height:auto!important;min-height:96px!important}
.hrv-page-head,.hrve-profile-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;margin-bottom:16px!important}
@media(max-width:900px){
 :root{--hrv-field-max:100%}
 .hrv-form-grid,.pms-form-grid{grid-template-columns:1fr!important}
 .hrvp-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.hrvp-wrap select,.hrvp-wrap textarea,
 .hrve-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.hrve-shell select,.hrve-shell textarea,
 .hrv-portal input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.hrv-portal select,.hrv-portal textarea{max-width:100%!important}
}
@media(max-width:600px){
 .hrv-card,.pms-card,.hrve-card,.hrv-panel,.hrv-section-card{padding:12px!important}
 .hrv-page-head,.hrve-profile-head{align-items:flex-start!important;flex-direction:column!important}
 .hrv-table th,.hrv-table td,.pms-table th,.pms-table td{padding:8px!important}
}
