
:root{--blue:#356ae6;--orange:#f97316;--green:#10b981;--purple:#a855f7;--bg:#f5f7fb;--border:#dfe5ef;--text:#182235;--muted:#73819a}
.prohr-shell,.prohr-live-wrap{margin-top:16px}
.prohr-app{display:grid;grid-template-columns:280px 1fr;min-height:calc(100vh - 40px);background:var(--bg);border:1px solid var(--border);border-radius:18px;overflow:hidden;font-family:Arial,sans-serif}
.prohr-sidebar{background:#fff;border-right:1px solid var(--border);padding:22px 18px;display:flex;flex-direction:column}
.prohr-brand{display:flex;align-items:center;gap:12px;font-size:30px;font-weight:800;color:var(--text);line-height:1;padding:6px 10px 24px}
.prohr-brand-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:var(--blue);color:#fff;font-size:18px}
.prohr-nav{display:flex;flex-direction:column;gap:10px}
.prohr-nav-item{text-decoration:none;padding:14px 16px;border-radius:14px;color:#5d6b82;font-weight:700}
.prohr-nav-item.active,.prohr-nav-item:hover{background:var(--blue);color:#fff}
.prohr-sidebar-footer{margin-top:auto}
.prohr-user-box{background:#f3f6fb;border:1px solid var(--border);border-radius:14px;padding:16px;color:var(--text)}
.prohr-logout-link{display:inline-block;margin-top:12px;color:#dc2626;text-decoration:none;font-weight:700}
.prohr-main{padding:22px 28px 28px}
.prohr-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.prohr-search{width:380px;max-width:100%;background:#fff;border:1px solid var(--border);border-radius:10px;padding:11px 14px}
.prohr-account{text-align:right;color:var(--text)}
.prohr-account strong{display:block}
.prohr-account span{display:block;font-size:12px;color:var(--muted)}
.prohr-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}
.prohr-head h1{margin:0;font-size:28px;color:var(--text)}
.prohr-head p{margin:6px 0 0;color:var(--muted)}
.prohr-grid{display:grid;gap:18px;margin-bottom:18px}
.prohr-grid.four{grid-template-columns:repeat(4,1fr)}
.prohr-grid.two{grid-template-columns:1.2fr 1fr}
.prohr-grid.two-wide{grid-template-columns:1fr 1.8fr}
.prohr-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px;box-shadow:0 1px 3px rgba(16,24,40,.04)}
.prohr-card h3{margin:0 0 14px;color:var(--text);font-size:18px}
.prohr-big{font-size:34px;font-weight:800;color:var(--text);margin:10px 0}
.small-muted{font-size:12px;color:var(--muted)}
.stat{border-left:4px solid var(--blue)}
.blue{border-left-color:var(--blue)} .orange{border-left-color:var(--orange)} .green{border-left-color:var(--green)} .purple{border-left-color:var(--purple)}
.prohr-input{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:12px;padding:12px 14px;background:#fff;margin-bottom:12px}
.prohr-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:12px;border:1px solid var(--border);background:#fff;color:var(--text);text-decoration:none;font-weight:700;cursor:pointer}
.prohr-btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.prohr-btn.approve{background:#22c55e;border-color:#22c55e;color:#fff}
.prohr-btn.reject{background:#fff;border-color:#fca5a5;color:#dc2626}
.prohr-btn.danger{background:#fff;border-color:#fca5a5;color:#dc2626}
.prohr-table{width:100%;border-collapse:collapse}
.prohr-table th,.prohr-table td{padding:14px 10px;border-top:1px solid var(--border);vertical-align:top;text-align:left}
.prohr-table th{font-size:12px;text-transform:uppercase;color:var(--muted)}
.emp-cell{display:flex;align-items:center;gap:10px}
.emp-cell img{width:38px;height:38px;border-radius:50%;object-fit:cover}
.emp-cell span{display:block;font-size:12px;color:var(--muted)}
.action-links{display:flex;gap:10px;flex-wrap:wrap;font-size:12px}
.action-links a{color:#e11d48;text-decoration:none}
.badge{display:inline-block;padding:7px 12px;border-radius:999px;font-size:11px;font-weight:800;text-transform:uppercase}
.badge.active,.badge.present,.badge.approved{background:#dcfce7;color:#16a34a}
.badge['on-leave']{}
.badge.on-leave,.badge.late,.badge.pending{background:#ffedd5;color:#d97706}
.badge.inactive,.badge.absent,.badge.rejected{background:#fee2e2;color:#dc2626}
.focus-box{padding:16px;border:1px solid var(--border);border-radius:12px;background:#f8fafc}
.prohr-avatar{width:80px;height:80px;border-radius:50%;object-fit:cover;margin-bottom:14px}
.prohr-avatar.large{width:96px;height:96px}
.detail-list p{margin:8px 0;color:var(--text)}
.leave-item{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--border);padding:16px 0}
.leave-item:first-child{border-top:none;padding-top:0}
.leave-reason{margin-top:8px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fafcff;color:var(--muted)}
.leave-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.schedule-table .sched-box{min-width:95px;padding:10px;border:1px solid #cdddf9;border-radius:12px;background:#f7fbff;text-align:center;font-size:12px}
.sched-links{margin-top:6px;font-size:11px}
.simple-list{list-style:none;padding:0;margin:0}
.simple-list li{padding:12px 0;border-top:1px solid var(--border)}
.simple-list li:first-child{border-top:none}
.top-gap{margin-top:12px}
code{display:inline-block;background:#f4f7fb;border:1px solid var(--border);padding:8px 10px;border-radius:8px}
.prohr-login-wrap{display:flex;align-items:center;justify-content:center;min-height:70vh;background:#f5f7fb;padding:30px}
.prohr-login-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:30px;box-shadow:0 10px 30px rgba(17,24,39,.08)}
.prohr-login-logo{font-size:30px;font-weight:800;color:var(--text)}
.prohr-login-card h2{margin:10px 0;color:var(--text)}
.prohr-login-card p{color:var(--muted)}
.prohr-login-form p{margin-bottom:12px}
.prohr-login-form label{display:block;margin-bottom:6px;font-weight:600;color:#374151}
.prohr-login-form input[type=text],.prohr-login-form input[type=password]{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--border);border-radius:12px}
.prohr-login-form .login-submit input{width:100%;background:var(--blue);border:1px solid var(--blue);color:#fff;padding:12px 16px;border-radius:12px;font-weight:700;cursor:pointer}
@media (max-width:1200px){.prohr-grid.four,.prohr-grid.two,.prohr-grid.two-wide{grid-template-columns:1fr}}
@media (max-width:900px){.prohr-app{grid-template-columns:1fr}.prohr-sidebar{border-right:none;border-bottom:1px solid var(--border)}.prohr-topbar{flex-direction:column;align-items:stretch}.prohr-search{width:100%}}
