
:root{
  --hr-sidebar-w:270px;
  --hr-topbar-h:74px;
  --hr-bg:#f1f5f9;
  --hr-text:#0f172a;
  --hr-muted:#64748b;
  --hr-primary:#db2777;
  --hr-primary-2:#7c3aed;
  --hr-sidebar:#190716;
  --hr-shadow-soft:0 8px 24px rgba(15,23,42,.06);
}
*{box-sizing:border-box}
html,body{min-height:100%;width:100%;overflow-x:hidden!important}
body{
  margin:0;
  background:
    radial-gradient(circle at 18% 0%,rgba(219,39,119,.12),transparent 32%),
    radial-gradient(circle at 100% 10%,rgba(124,58,237,.10),transparent 34%),
    linear-gradient(180deg,#fff8fb 0%,#f1f5f9 100%)!important;
  color:var(--hr-text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px;
}
.wrapper{min-height:100vh!important;background:transparent!important;overflow-x:hidden!important}
.main-sidebar.hr-sidebar{
  position:fixed!important;top:0!important;left:0!important;bottom:0!important;
  width:var(--hr-sidebar-w)!important;min-width:var(--hr-sidebar-w)!important;max-width:var(--hr-sidebar-w)!important;
  height:100vh!important;margin:0!important;
  background:radial-gradient(circle at 40% 0%,rgba(219,39,119,.30),transparent 28%),linear-gradient(180deg,#190716 0%,#1f1022 56%,#0f0614 100%)!important;
  color:#fff;border:0!important;box-shadow:22px 0 45px rgba(15,23,42,.16);
  z-index:1040;overflow:hidden;
}
.main-header.hr-topbar{
  position:fixed!important;top:0!important;left:var(--hr-sidebar-w)!important;right:0!important;
  height:var(--hr-topbar-h)!important;margin:0!important;width:auto!important;
  background:rgba(255,255,255,.92)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border:0!important;border-bottom:1px solid rgba(226,232,240,.75)!important;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
  padding:0 28px;z-index:1030;border-radius:0!important;
}
.content-wrapper{
  margin-left:var(--hr-sidebar-w)!important;
  padding-top:var(--hr-topbar-h)!important;
  min-height:100vh!important;background:transparent!important;width:auto!important;
}
.main-footer{
  margin-left:var(--hr-sidebar-w)!important;
  border:0!important;background:rgba(255,255,255,.92)!important;
  border-top:1px solid rgba(226,232,240,.75)!important;
  color:#64748b;font-weight:700;padding:14px 28px!important;
}
.hr-brand{height:92px;display:flex!important;align-items:center;gap:13px;padding:18px!important;color:#fff!important;text-decoration:none!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.hr-brand-logo{width:50px!important;height:50px!important;min-width:50px;border-radius:18px!important;object-fit:contain;background:#fff;padding:6px;margin:0!important;float:none!important;opacity:1!important;max-height:none!important;box-shadow:0 12px 26px rgba(0,0,0,.24)}
.hr-brand-title{display:block;font-weight:950;font-size:18px;line-height:1;letter-spacing:-.35px;color:#fff}
.hr-brand-sub{display:block;font-size:11px;color:#fbcfe8;font-weight:900;text-transform:uppercase;letter-spacing:.75px;margin-top:6px}
.hr-sidebar .sidebar{height:calc(100vh - 92px);overflow-y:auto;overflow-x:hidden;padding:10px 14px 26px}
.hr-sidebar .sidebar::-webkit-scrollbar{width:5px}
.hr-sidebar .sidebar::-webkit-scrollbar-thumb{background:rgba(244,114,182,.32);border-radius:999px}
.hr-user-card{margin:8px 0 14px;border-radius:20px;padding:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10)}
.hr-user-name{color:#fff;font-size:14px;font-weight:900;line-height:1.2}
.hr-user-role{margin-top:4px;color:#cbd5e1;font-size:12px;font-weight:700}
.hr-sidebar .nav-header{color:#d5b0c7!important;font-size:11px;font-weight:950;letter-spacing:.9px;text-transform:uppercase;padding:16px 8px 7px!important;margin:0!important;background:transparent!important}
.hr-sidebar .nav-link{min-height:42px;color:#efd7e5!important;border-radius:14px!important;margin:3px 0!important;padding:10px 12px!important;font-weight:800;font-size:14px;display:flex!important;align-items:center;position:relative;background:transparent!important;transition:background .16s ease,color .16s ease,transform .16s ease}
.hr-sidebar .nav-link .nav-icon{width:24px;min-width:24px;text-align:center;margin-right:10px;color:#f472b6!important;font-size:15px}
.hr-sidebar .nav-link p{margin:0;width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}
.hr-sidebar .nav-link:hover{color:#fff!important;background:rgba(255,255,255,.08)!important;transform:translateX(2px)}
.hr-sidebar .nav-link.active{color:#fff!important;background:linear-gradient(135deg,#db2777 0%,#7c3aed 100%)!important;box-shadow:0 14px 28px rgba(219,39,119,.24)}
.hr-sidebar .nav-link:hover .nav-icon,.hr-sidebar .nav-link.active .nav-icon{color:#fff!important}
.hr-top-title{color:#0f172a;font-size:18px;font-weight:950;line-height:1;letter-spacing:-.3px}
.hr-top-sub{margin-top:5px;color:#64748b;font-size:12px;font-weight:800}
.hr-icon-btn{width:42px;height:42px;border:0;border-radius:16px;background:#f1f5f9;color:#1f2937;display:inline-flex;align-items:center;justify-content:center;transition:all .16s ease}
.hr-icon-btn:hover{background:#fce7f3;color:#db2777;transform:translateY(-1px)}
.hr-host-pill{display:inline-flex;align-items:center;gap:8px;background:#f8fafc;color:#0f172a;font-weight:850;border-radius:999px;padding:9px 12px;box-shadow:inset 0 0 0 1px #edf2f7}
.content-header{padding:24px 28px 0!important;margin-top:0!important}
.content-header h1,.content-header .m-0{font-size:28px!important;font-weight:950!important;color:#0f172a!important;letter-spacing:-.65px}
.breadcrumb{background:transparent!important;margin:0!important}
.breadcrumb a{color:#db2777!important;font-weight:850;text-decoration:none}
.content{padding:24px 28px 36px!important}
.content .container-fluid{max-width:1680px}
.hr-dashboard-wrap{padding:24px 28px 40px}
.hr-dashboard-hero{position:relative;overflow:hidden;border-radius:28px;padding:28px 30px;background:radial-gradient(circle at 85% 20%,rgba(255,255,255,.22),transparent 22%),linear-gradient(135deg,#190716 0%,#db2777 52%,#7c3aed 100%);color:#fff;box-shadow:0 24px 54px rgba(219,39,119,.23);margin-bottom:24px}
.hr-dashboard-hero h2{margin:0;color:#fff;font-weight:950;font-size:31px;line-height:1.1;letter-spacing:-.75px}
.hr-dashboard-hero p{margin:9px 0 0;color:#fce7f3;font-size:14px;font-weight:750}
.hr-hero-badge{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:999px;color:#111827;background:rgba(255,255,255,.95);font-size:12px;font-weight:900}
.hr-stat-card{height:100%;border-radius:24px;padding:22px;background:rgba(255,255,255,.96);box-shadow:var(--hr-shadow-soft);border:1px solid rgba(226,232,240,.70);transition:all .18s ease}
.hr-stat-card:hover{transform:translateY(-3px);box-shadow:0 20px 44px rgba(15,23,42,.11)}
.hr-stat-icon{width:50px;height:50px;border-radius:17px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fce7f3,#f3e8ff);color:#db2777;font-size:20px;margin-bottom:16px}
.hr-stat-value{color:#0f172a;font-size:31px;font-weight:950;line-height:1;letter-spacing:-.45px}
.hr-stat-label{margin-top:6px;color:#64748b;font-size:13px;font-weight:850}
.hr-action-card{height:100%;display:flex;align-items:center;gap:14px;padding:16px;border-radius:20px;background:#f8fafc;text-decoration:none;color:#0f172a;border:1px solid #eef2f7;transition:all .16s ease}
.hr-action-card:hover{background:#fff1f7;color:#db2777;transform:translateY(-2px)}
.hr-action-icon{width:42px;height:42px;border-radius:15px;background:#fff;color:#db2777;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.card,.small-box,.info-box{border:1px solid rgba(226,232,240,.70)!important;border-radius:24px!important;background:rgba(255,255,255,.96)!important;box-shadow:var(--hr-shadow-soft)!important;overflow:hidden}
.card-header{background:#fff!important;border-bottom:1px solid #eef2f7!important;padding:16px 18px!important}
.card-title{margin:0!important;color:#0f172a!important;font-weight:950!important;font-size:18px!important}
.card-body{padding:18px!important}
.bg-primary,.bg-info,.bg-success,.bg-warning,.bg-danger,.bg-purple,.bg-dark{background:#fff!important;color:#0f172a!important}
.btn{border-radius:14px!important;font-weight:850!important;padding:.58rem .9rem!important}
.btn-primary,.btn-success,.btn-info{background:linear-gradient(135deg,#db2777,#7c3aed)!important;border:0!important;color:#fff!important;box-shadow:0 12px 24px rgba(219,39,119,.16)}
.btn-danger{background:linear-gradient(135deg,#dc2626,#f97316)!important;border:0!important;color:#fff!important}
.btn-warning{background:linear-gradient(135deg,#d97706,#f97316)!important;border:0!important;color:#fff!important}
.form-control,.custom-select,.form-select,select,textarea,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"]{border-radius:13px!important;border:1px solid #dbe3ef!important;background:#fff!important;min-height:42px;box-shadow:none!important}
.form-control:focus,.form-select:focus,select:focus,textarea:focus{border-color:#f472b6!important;box-shadow:0 0 0 .2rem rgba(219,39,119,.10)!important}
label{color:#334155;font-weight:850!important}
.table{border-collapse:separate!important;border-spacing:0!important;width:100%!important}
.table thead th{border:0!important;background:#fff1f7!important;color:#334155!important;font-size:12px;font-weight:950!important;text-transform:uppercase;padding:12px!important}
.table tbody td{border-color:#eef2f7!important;color:#111827;vertical-align:middle!important;padding:12px!important}
.table tbody tr:hover{background:#fff8fb!important}
.table-responsive,.table-responsive-sm,.table-responsive-md{border-radius:18px}
.badge{border-radius:999px!important;padding:.42rem .65rem!important;font-weight:900!important}
.alert{border:0!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(15,23,42,.06)}
.hr-login-page{min-height:100vh;display:flex;align-items:center;background:linear-gradient(135deg,#190716 0%,#db2777 48%,#111827 100%)}
.hr-login-shell{width:100%;max-width:1100px;margin:auto;padding:24px}
.hr-login-card{border-radius:32px;overflow:hidden;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.hr-login-visual{min-height:520px;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.25),transparent 25%),linear-gradient(135deg,#db2777,#7c3aed);color:#fff;padding:42px;display:flex;flex-direction:column;justify-content:space-between}
.hr-login-visual h1{font-size:38px;font-weight:950;letter-spacing:-1px}
.hr-login-visual p{font-size:15px;color:#fce7f3;font-weight:700}
.hr-login-box{padding:42px}
.hr-login-logo{width:76px;height:76px;border-radius:22px;background:#fff;object-fit:contain;padding:8px;box-shadow:0 18px 36px rgba(0,0,0,.18)}
.hr-mobile-backdrop{display:none}
@media(max-width:991.98px){
  .main-sidebar.hr-sidebar{transform:translateX(-100%)!important;transition:transform .22s ease}
  body.hr-sidebar-open .main-sidebar.hr-sidebar{transform:translateX(0)!important}
  body.hr-sidebar-open .hr-mobile-backdrop{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:1035}
  .main-header.hr-topbar{left:0!important;padding:0 16px}
  .content-wrapper,.main-footer{margin-left:0!important}
  .content,.content-header,.hr-dashboard-wrap{padding-left:16px!important;padding-right:16px!important}
  .hr-dashboard-hero{padding:24px;border-radius:24px}
  .hr-dashboard-hero h2{font-size:25px}
  .hr-login-visual{min-height:auto;padding:30px}
  .hr-login-box{padding:30px}
}
