/* ==========================================================================
   Huseniyah Punch — Admin Panel Stylesheet
   Design: Dark sidebar, white topbar, light body
   Font: Inter (Google Fonts)
   ========================================================================== */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors — Brand */
  --hp-primary:        #2563eb;
  --hp-primary-hover:  #1d4ed8;
  --hp-primary-light:  rgba(37, 99, 235, .10);

  /* Colors — Sidebar */
  --hp-sidebar-bg:     #0f172a;
  --hp-sidebar-width:  260px;
  --hp-sidebar-link:   #94a3b8;
  --hp-sidebar-link-hover: #e2e8f0;
  --hp-sidebar-section: #64748b;
  --hp-sidebar-active-bg: rgba(37, 99, 235, .15);
  --hp-sidebar-active-text: #60a5fa;

  /* Colors — Topbar */
  --hp-topbar-bg:      #ffffff;
  --hp-topbar-height:  64px;
  --hp-topbar-border:  #e2e8f0;

  /* Colors — Body */
  --hp-body-bg:        #f1f5f9;
  --hp-text:           #1e293b;
  --hp-text-muted:     #64748b;

  /* Colors — Semantic */
  --hp-success:        #16a34a;
  --hp-success-light:  rgba(22,163,74,.10);
  --hp-danger:         #dc2626;
  --hp-danger-light:   rgba(220,38,38,.10);
  --hp-warning:        #ea580c;
  --hp-warning-light:  rgba(234,88,12,.10);
  --hp-info:           #0284c7;
  --hp-info-light:     rgba(2,132,199,.10);

  /* Spacing / Radius */
  --hp-radius:         10px;
  --hp-radius-sm:      6px;
  --hp-shadow:         0 1px 3px rgba(0,0,0,.06);
  --hp-shadow-lg:      0 4px 12px rgba(0,0,0,.08);
  --hp-transition:     .25s cubic-bezier(.4,0,.2,1);

  /* Font */
  --hp-font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--hp-font);
  font-size: .875rem;
  color: var(--hp-text);
  background: var(--hp-body-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.hp-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--hp-sidebar-width);
  background: var(--hp-sidebar-bg);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  transition: transform var(--hp-transition);
  overflow: hidden;
}

/* ---- Sidebar Brand ---- */
.hp-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.hp-sidebar-brand-icon {
  width: 38px;
  height: 38px;
  background: var(--hp-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
}

.hp-sidebar-brand-text h5 {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
}

.hp-sidebar-brand-text small {
  font-size: .7rem;
  color: var(--hp-sidebar-section);
  letter-spacing: .3px;
}

/* ---- Sidebar Navigation ---- */
.hp-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 16px;
}

.hp-sidebar-nav::-webkit-scrollbar { width: 4px; }
.hp-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 2px; }

.hp-nav-section {
  padding: 18px 20px 6px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hp-sidebar-section);
  white-space: nowrap;
}

.hp-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  color: var(--hp-sidebar-link);
  font-size: .8125rem;
  font-weight: 500;
  border-radius: 0;
  transition: all var(--hp-transition);
  position: relative;
  white-space: nowrap;
}

.hp-nav-link i {
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  opacity: .7;
  transition: opacity var(--hp-transition);
}

.hp-nav-link:hover {
  color: var(--hp-sidebar-link-hover);
  background: rgba(255,255,255,.04);
}

.hp-nav-link:hover i { opacity: 1; }

.hp-nav-link.active {
  color: var(--hp-sidebar-active-text);
  background: var(--hp-sidebar-active-bg);
}

.hp-nav-link.active i { opacity: 1; }

.hp-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--hp-primary);
  border-radius: 0 3px 3px 0;
}

/* ---- Sidebar Footer ---- */
.hp-sidebar-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: .5px;
}

.hp-sidebar-footer-info {
  flex: 1;
  min-width: 0;
}

.hp-sidebar-footer-info .name {
  color: #e2e8f0;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-sidebar-footer-info .role {
  color: var(--hp-sidebar-section);
  font-size: .7rem;
}

.hp-sidebar-footer .btn-logout {
  color: var(--hp-sidebar-link);
  font-size: 1.1rem;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color var(--hp-transition);
  flex-shrink: 0;
}

.hp-sidebar-footer .btn-logout:hover { color: var(--hp-danger); }

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.hp-topbar {
  position: fixed;
  top: 0;
  left: var(--hp-sidebar-width);
  right: 0;
  height: var(--hp-topbar-height);
  background: var(--hp-topbar-bg);
  border-bottom: 1px solid var(--hp-topbar-border);
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  transition: left var(--hp-transition);
}

.hp-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hp-topbar-toggle {
  display: none;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: var(--hp-radius-sm);
  padding: 6px 10px;
  font-size: 1.15rem;
  color: var(--hp-text);
  cursor: pointer;
  transition: all var(--hp-transition);
}

.hp-topbar-toggle:hover {
  background: var(--hp-body-bg);
}

.hp-topbar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hp-text);
  margin: 0;
}

.hp-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-topbar-badge {
  position: relative;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--hp-text-muted);
  padding: 6px;
  cursor: pointer;
  transition: color var(--hp-transition);
}

.hp-topbar-badge:hover { color: var(--hp-text); }

.hp-topbar-badge .dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hp-danger);
  border: 2px solid var(--hp-topbar-bg);
}

.hp-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border-radius: var(--hp-radius-sm);
  cursor: pointer;
  transition: background var(--hp-transition);
  border: none;
  background: none;
}

.hp-topbar-user:hover { background: var(--hp-body-bg); }

.hp-topbar-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
}

.hp-topbar-user-name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--hp-text);
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.hp-main {
  margin-left: var(--hp-sidebar-width);
  padding-top: var(--hp-topbar-height);
  min-height: 100vh;
  transition: margin-left var(--hp-transition);
}

.hp-content {
  padding: 24px;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.hp-card {
  background: #fff;
  border: none;
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  transition: box-shadow var(--hp-transition), transform var(--hp-transition);
}

.hp-card:hover {
  box-shadow: var(--hp-shadow-lg);
}

.hp-card .card-header {
  background: transparent;
  border-bottom: 1px solid #f1f5f9;
  padding: 16px 20px;
  font-weight: 600;
  font-size: .875rem;
}

.hp-card .card-body {
  padding: 20px;
}

/* ---- Stat Cards ---- */
.hp-stat-card {
  background: #fff;
  border: none;
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--hp-transition), transform .2s ease;
}

.hp-stat-card:hover {
  box-shadow: var(--hp-shadow-lg);
  transform: translateY(-2px);
}

.hp-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hp-stat-icon.bg-success { background: var(--hp-success-light); color: var(--hp-success); }
.hp-stat-icon.bg-danger  { background: var(--hp-danger-light);  color: var(--hp-danger); }
.hp-stat-icon.bg-warning { background: var(--hp-warning-light); color: var(--hp-warning); }
.hp-stat-icon.bg-primary { background: var(--hp-primary-light); color: var(--hp-primary); }
.hp-stat-icon.bg-info    { background: var(--hp-info-light);    color: var(--hp-info); }

.hp-stat-body {
  flex: 1;
  min-width: 0;
}

.hp-stat-label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--hp-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.hp-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--hp-text);
  line-height: 1.15;
}

.hp-stat-trend {
  font-size: .75rem;
  font-weight: 500;
  margin-top: 4px;
}

.hp-stat-trend.up   { color: var(--hp-success); }
.hp-stat-trend.down { color: var(--hp-danger); }

/* ==========================================================================
   TABLES
   ========================================================================== */
.hp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.hp-table thead th {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hp-text-muted);
  padding: 12px 16px;
  white-space: nowrap;
}

.hp-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: .8125rem;
  vertical-align: middle;
  color: var(--hp-text);
}

.hp-table tbody tr {
  transition: background var(--hp-transition);
}

.hp-table tbody tr:hover {
  background: #f8fafc;
}

.hp-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   BADGES
   ========================================================================== */
.hp-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: capitalize;
  line-height: 1;
  gap: 4px;
}

.hp-badge-present    { background: var(--hp-success-light); color: var(--hp-success); }
.hp-badge-absent     { background: var(--hp-danger-light);  color: var(--hp-danger); }
.hp-badge-late       { background: var(--hp-warning-light); color: var(--hp-warning); }
.hp-badge-holiday    { background: var(--hp-primary-light); color: var(--hp-primary); }
.hp-badge-week_off,
.hp-badge-week-off   { background: rgba(100,116,139,.1);   color: #475569; }
.hp-badge-paid_leave,
.hp-badge-paid-leave { background: var(--hp-info-light);    color: var(--hp-info); }
.hp-badge-unpaid_leave,
.hp-badge-unpaid-leave { background: rgba(100,116,139,.1);  color: #64748b; }
.hp-badge-tour       { background: var(--hp-info-light);    color: var(--hp-info); }
.hp-badge-half_day,
.hp-badge-half-day   { background: var(--hp-warning-light); color: var(--hp-warning); }

/* ==========================================================================
   ALERTS
   ========================================================================== */
.hp-alert {
  border: none;
  border-radius: var(--hp-radius);
  padding: 14px 20px;
  font-size: .8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  animation: hpSlideDown .35s ease;
}

.hp-alert i { font-size: 1.15rem; flex-shrink: 0; }

.hp-alert-success { background: var(--hp-success-light); color: var(--hp-success); }
.hp-alert-danger,
.hp-alert-error   { background: var(--hp-danger-light);  color: var(--hp-danger); }
.hp-alert-warning { background: var(--hp-warning-light); color: var(--hp-warning); }
.hp-alert-info    { background: var(--hp-info-light);    color: var(--hp-info); }

.hp-alert .btn-close {
  filter: none;
  opacity: .5;
  font-size: .65rem;
  margin-left: auto;
  padding: 8px;
}

.hp-alert .btn-close:hover { opacity: 1; }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.hp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: .8rem;
}

.hp-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.hp-breadcrumb li + li::before {
  content: '\F285';
  font-family: 'bootstrap-icons';
  font-size: .55rem;
  color: var(--hp-text-muted);
}

.hp-breadcrumb a {
  color: var(--hp-text-muted);
  font-weight: 500;
  transition: color var(--hp-transition);
}

.hp-breadcrumb a:hover { color: var(--hp-primary); }
.hp-breadcrumb .active { color: var(--hp-text); font-weight: 600; }

/* ==========================================================================
   PAGE HEADER
   ========================================================================== */
.hp-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hp-page-header h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hp-text);
}

.hp-page-header p {
  margin: 2px 0 0;
  font-size: .8rem;
  color: var(--hp-text-muted);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-hp-primary {
  background: var(--hp-primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--hp-radius-sm);
  font-size: .8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--hp-transition);
  cursor: pointer;
}

.btn-hp-primary:hover {
  background: var(--hp-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

.btn-hp-primary:active {
  transform: translateY(0);
}

.btn-hp-outline {
  background: transparent;
  color: var(--hp-text);
  border: 1px solid #e2e8f0;
  padding: 9px 18px;
  border-radius: var(--hp-radius-sm);
  font-size: .8125rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--hp-transition);
  cursor: pointer;
}

.btn-hp-outline:hover {
  border-color: var(--hp-primary);
  color: var(--hp-primary);
  background: var(--hp-primary-light);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-content.hp-modal {
  border: none;
  border-radius: var(--hp-radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

.hp-modal .modal-header {
  border-bottom: 1px solid #f1f5f9;
  padding: 18px 24px;
}

.hp-modal .modal-title {
  font-size: .95rem;
  font-weight: 700;
}

.hp-modal .modal-body {
  padding: 24px;
}

.hp-modal .modal-footer {
  border-top: 1px solid #f1f5f9;
  padding: 14px 24px;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.hp-form-control {
  border: 1px solid #e2e8f0;
  border-radius: var(--hp-radius-sm);
  padding: 10px 14px;
  font-size: .8125rem;
  font-family: var(--hp-font);
  color: var(--hp-text);
  transition: border-color var(--hp-transition), box-shadow var(--hp-transition);
  width: 100%;
}

.hp-form-control:focus {
  outline: none;
  border-color: var(--hp-primary);
  box-shadow: 0 0 0 3px var(--hp-primary-light);
}

.hp-form-control::placeholder {
  color: #94a3b8;
}

.hp-form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--hp-text);
  margin-bottom: 6px;
}

/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */
.hp-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  padding: 24px;
}

.hp-login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  padding: 40px 36px 32px;
}

.hp-login-logo {
  width: 64px;
  height: 64px;
  background: var(--hp-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #fff;
}

.hp-login-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hp-text);
}

.hp-login-subtitle {
  text-align: center;
  margin-bottom: 32px;
  font-size: .85rem;
  color: var(--hp-text-muted);
  font-weight: 500;
}

.hp-login-field {
  margin-bottom: 20px;
}

.hp-login-field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--hp-text);
  margin-bottom: 8px;
}

.hp-login-field .input-wrap {
  position: relative;
}

.hp-login-field .input-wrap input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: var(--hp-radius-sm);
  padding: 11px 44px 11px 14px;
  font-size: .875rem;
  font-family: var(--hp-font);
  color: var(--hp-text);
  transition: border-color var(--hp-transition), box-shadow var(--hp-transition);
}

.hp-login-field .input-wrap input:focus {
  outline: none;
  border-color: var(--hp-primary);
  box-shadow: 0 0 0 3px var(--hp-primary-light);
}

.hp-login-field .input-wrap .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--hp-text-muted);
  cursor: pointer;
  font-size: 1.05rem;
  padding: 4px;
  display: flex;
  align-items: center;
}

.hp-login-field .input-wrap .toggle-password:hover {
  color: var(--hp-text);
}

.hp-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hp-login-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--hp-primary);
  cursor: pointer;
}

.hp-login-remember label {
  font-size: .8125rem;
  color: var(--hp-text-muted);
  cursor: pointer;
  user-select: none;
}

.hp-login-btn {
  width: 100%;
  padding: 12px;
  background: var(--hp-primary);
  color: #fff;
  border: none;
  border-radius: var(--hp-radius-sm);
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--hp-font);
  cursor: pointer;
  transition: all var(--hp-transition);
}

.hp-login-btn:hover {
  background: var(--hp-primary-hover);
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
  transform: translateY(-1px);
}

.hp-login-btn:active { transform: translateY(0); }

.hp-login-footer {
  text-align: center;
  margin-top: 32px;
  font-size: .7rem;
  color: #94a3b8;
  line-height: 1.6;
}

.hp-login-alert {
  background: var(--hp-danger-light);
  color: var(--hp-danger);
  border: none;
  border-radius: var(--hp-radius);
  padding: 12px 16px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hp-login-alert i { font-size: 1rem; }

/* ==========================================================================
   OVERLAY (Mobile sidebar)
   ========================================================================== */
.hp-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.5);
  z-index: 1035;
  opacity: 0;
  transition: opacity var(--hp-transition);
  backdrop-filter: blur(2px);
}

.hp-sidebar-overlay.show {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes hpSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hp-animate-in {
  animation: hpFadeIn .4s ease;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-muted-hp { color: var(--hp-text-muted) !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.letter-spacing-1 { letter-spacing: 1px !important; }
.rounded-hp { border-radius: var(--hp-radius) !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
  .hp-sidebar {
    transform: translateX(-100%);
  }

  .hp-sidebar.show {
    transform: translateX(0);
  }

  .hp-topbar {
    left: 0;
  }

  .hp-topbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hp-main {
    margin-left: 0;
  }

  .hp-content {
    padding: 16px;
  }

  .hp-stat-card {
    padding: 16px;
  }

  .hp-stat-value {
    font-size: 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .hp-login-card {
    padding: 32px 24px 24px;
  }

  .hp-page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hp-topbar {
    padding: 0 16px;
  }

  .hp-topbar-user-name {
    display: none;
  }
}

/* ==========================================================================
   DROPDOWN ENHANCEMENTS
   ========================================================================== */
.dropdown-menu.hp-dropdown {
  border: 1px solid #e2e8f0;
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-lg);
  padding: 6px;
  min-width: 180px;
  animation: hpSlideDown .2s ease;
}

.hp-dropdown .dropdown-item {
  font-size: .8125rem;
  padding: 8px 14px;
  border-radius: var(--hp-radius-sm);
  color: var(--hp-text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--hp-transition);
}

.hp-dropdown .dropdown-item:hover {
  background: var(--hp-body-bg);
  color: var(--hp-primary);
}

.hp-dropdown .dropdown-item i {
  font-size: .95rem;
  width: 18px;
  text-align: center;
  color: var(--hp-text-muted);
}

.hp-dropdown .dropdown-divider {
  border-color: #f1f5f9;
  margin: 4px 0;
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */
.hp-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--hp-text-muted);
}

.hp-empty-state i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: .4;
}

.hp-empty-state p {
  font-size: .85rem;
  margin: 0;
}
