/* ============================================================
   Simpatico HR Platform — Module Design System
   New modules stylesheet (does not override existing CSS)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── Custom Properties ── */
:root {
  --hr-bg-base:       #080c14;
  --hr-bg-surface:    #0d1320;
  --hr-bg-elevated:   #111827;
  --hr-bg-card:       #141e2e;
  --hr-border:        #1e2d45;
  --hr-border-light:  #253450;

  --hr-primary:       #00c4ff;
  --hr-primary-dim:   rgba(0,196,255,.12);
  --hr-primary-glow:  rgba(0,196,255,.25);
  --hr-gold:          #f0a500;
  --hr-gold-dim:      rgba(240,165,0,.12);
  --hr-success:       #10b981;
  --hr-warning:       #f59e0b;
  --hr-danger:        #ef4444;
  --hr-purple:        #a78bfa;

  --hr-text-primary:  #f1f5f9;
  --hr-text-secondary:#94a3b8;
  --hr-text-muted:    #475569;
  --hr-text-accent:   #00c4ff;

  --hr-font-display:  'Outfit', sans-serif;
  --hr-font-body:     'IBM Plex Sans', sans-serif;
  --hr-font-mono:     'IBM Plex Mono', monospace;

  --hr-radius:        10px;
  --hr-radius-lg:     16px;
  --hr-radius-xl:     24px;
  --hr-shadow:        0 4px 24px rgba(0,0,0,.4);
  --hr-shadow-glow:   0 0 40px rgba(0,196,255,.08);

  --hr-transition:    .3s cubic-bezier(.4, 0, .2, 1);
  --hr-spring:        .5s cubic-bezier(.175, .885, .32, 1.275);
}

/* ── ADVANCED ENTERPRISE THEME (High-Context Indigo) ── */
[data-theme="enterprise"] {
  --hr-bg-base:       #f8fafc;
  --hr-bg-surface:    #ffffff;
  --hr-bg-elevated:   #f1f5f9;
  --hr-bg-card:       #ffffff;
  --hr-border:        #e2e8f0;
  --hr-border-light:  #f1f5f9;

  --hr-primary:       #4f46e5; /* Premium Indigo */
  --hr-primary-dim:   rgba(79, 70, 229, 0.08);
  --hr-primary-glow:  rgba(79, 70, 229, 0.15);
  --hr-gold:          #f59e0b;
  --hr-gold-dim:      rgba(245, 158, 11, 0.1);
  --hr-success:       #10b981;
  --hr-warning:       #f59e0b;
  --hr-danger:        #ef4444;
  --hr-purple:        #8b5cf6;

  --hr-text-primary:  #0f172a; /* Slate Dark */
  --hr-text-secondary:#475569;
  --hr-text-muted:    #94a3b8;
  --hr-text-accent:   #4f46e5;

  --hr-shadow:        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --hr-shadow-lg:     0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --hr-shadow-glow:   0 0 30px rgba(79, 70, 229, 0.05);

  --sidebar-bg:       linear-gradient(180deg, #0f172a, #1e293b);
  --sidebar-text:     #94a3b8;
  --sidebar-active:   #ffffff;
}

/* ── Reset for module pages ── */
.hr-module * { box-sizing: border-box; margin: 0; padding: 0; }
.hr-module {
  font-family: var(--hr-font-body);
  background: var(--hr-bg-base);
  color: var(--hr-text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

/* ── Layout Shell ── */
.hr-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.hr-topbar {
  flex-shrink: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--hr-bg-surface);
  border-bottom: 1px solid var(--hr-border);
  position: relative;
  z-index: 1001;
}

.hr-topbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--hr-font-display);
  font-weight: 700; font-size: 17px;
  color: var(--hr-text-primary);
  text-decoration: none;
}
.hr-topbar-brand span { color: var(--hr-primary); }

.hr-topbar-right {
  display: flex; align-items: center; gap: 16px;
}

.hr-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--hr-primary), var(--hr-purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: 2px solid var(--hr-border);
}

/* ── Sidebar ── */
.hr-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--sidebar-bg, var(--hr-bg-surface));
  border-right: 1px solid var(--hr-border);
  padding: 16px 0;
  overflow-y: auto;
  position: sticky; top: 0px; height: 100%;
  transition: var(--hr-transition);
}

[data-theme="enterprise"] .hr-sidebar {
  width: 240px; flex-shrink: 0;
  grid-row: 2;
  grid-column: 1;
  border-right: none;
  box-shadow: 4px 0 24px rgba(0,0,0,0.02);
}

.hr-nav-section {
  padding: 8px 16px 4px;
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--hr-text-muted);
}

.hr-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  font-size: 14px; font-weight: 500;
  color: var(--sidebar-text, var(--hr-text-secondary));
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: var(--hr-spring);
  cursor: pointer;
  margin: 2px 8px;
  border-radius: 8px;
}
.hr-nav-item:hover { 
  color: var(--sidebar-active, var(--hr-text-primary)); 
  background: rgba(255,255,255,.08);
  transform: translateX(4px);
}
.hr-nav-item.active {
  color: #fff; 
  background: var(--hr-primary);
  box-shadow: 0 4px 12px var(--hr-primary-glow);
}
.hr-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.8; }
.hr-nav-badge {
  margin-left: auto;
  background: var(--hr-primary-dim);
  color: var(--hr-primary);
  font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 20px;
}

/* ── Main Content Area ── */
.hr-main {
  grid-row: 2;
  grid-column: 2;
  padding: 28px 32px;
  overflow-y: auto;
}

.hr-page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}

.hr-page-title {
  font-family: var(--hr-font-display);
  font-size: 26px; font-weight: 700;
  color: var(--hr-text-primary);
  line-height: 1.2;
}
.hr-page-title small {
  display: block; font-size: 13px; font-weight: 400;
  color: var(--hr-text-secondary); margin-top: 3px;
}

.hr-page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Buttons ── */
.hr-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: var(--hr-radius);
  font-family: var(--hr-font-body); font-size: 13.5px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent;
  transition: var(--hr-transition); text-decoration: none;
  white-space: nowrap;
}
.hr-btn svg { width: 15px; height: 15px; }

.hr-btn-primary {
  background: var(--hr-primary); color: #000;
  border-color: var(--hr-primary);
}
.hr-btn-primary:hover { filter: brightness(1.1); box-shadow: 0 0 20px var(--hr-primary-glow); }

.hr-btn-secondary {
  background: var(--hr-bg-elevated); color: var(--hr-text-primary);
  border-color: var(--hr-border);
}
.hr-btn-secondary:hover { border-color: var(--hr-border-light); background: var(--hr-bg-card); }

.hr-btn-ghost {
  background: transparent; color: var(--hr-text-secondary);
  border-color: var(--hr-border);
}
.hr-btn-ghost:hover { color: var(--hr-text-primary); background: rgba(255,255,255,.04); }

.hr-btn-danger {
  background: rgba(239,68,68,.1); color: var(--hr-danger);
  border-color: rgba(239,68,68,.3);
}
.hr-btn-danger:hover { background: rgba(239,68,68,.2); }

.hr-btn-sm { padding: 5px 12px; font-size: 12px; }
.hr-btn-lg { padding: 12px 28px; font-size: 15px; }

/* ── Stats Cards ── */
.hr-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.hr-stat-card {
  background: var(--hr-bg-card);
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius-lg);
  padding: 20px;
  position: relative; overflow: hidden;
  transition: var(--hr-transition);
}
.hr-stat-card:hover { border-color: var(--hr-border-light); transform: translateY(-1px); }
.hr-stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--card-accent, var(--hr-primary));
}

.hr-stat-card .label {
  font-size: 12px; font-weight: 500; color: var(--hr-text-secondary);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 10px;
}
.hr-stat-card .value {
  font-family: var(--hr-font-display);
  font-size: 32px; font-weight: 700; color: var(--hr-text-primary);
  line-height: 1;
}
.hr-stat-card .trend {
  font-size: 12px; margin-top: 8px;
  display: flex; align-items: center; gap: 4px;
}
.hr-stat-card .trend.up { color: var(--hr-success); }
.hr-stat-card .trend.down { color: var(--hr-danger); }
.hr-stat-card .trend.neutral { color: var(--hr-text-muted); }
.hr-stat-card .icon {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--icon-bg, var(--hr-primary-dim));
  color: var(--card-accent, var(--hr-primary));
}
.hr-stat-card .icon svg { width: 18px; height: 18px; }

/* ── Table ── */
.hr-table-wrap {
  background: var(--hr-bg-card);
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius-lg);
  overflow: hidden;
}

.hr-table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hr-border);
}

.hr-table-title {
  font-family: var(--hr-font-display);
  font-size: 15px; font-weight: 600;
  color: var(--hr-text-primary);
}

.hr-table-controls { display: flex; gap: 10px; align-items: center; }

.hr-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--hr-bg-elevated); border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius); padding: 6px 12px;
  transition: var(--hr-transition);
}
.hr-search:focus-within { border-color: var(--hr-primary); }
.hr-search svg { width: 14px; height: 14px; color: var(--hr-text-muted); flex-shrink: 0; }
.hr-search input {
  background: none; border: none; outline: none;
  font-family: var(--hr-font-body); font-size: 13px;
  color: var(--hr-text-primary); width: 200px;
}
.hr-search input::placeholder { color: var(--hr-text-muted); }

.hr-table { width: 100%; border-collapse: collapse; }
.hr-table th {
  text-align: left; padding: 12px 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--hr-text-muted);
  border-bottom: 1px solid var(--hr-border);
  background: var(--hr-bg-elevated);
}
.hr-table td {
  padding: 14px 20px; font-size: 13.5px;
  color: var(--hr-text-secondary);
  border-bottom: 1px solid rgba(30,45,69,.5);
  vertical-align: middle;
}
.hr-table tr:last-child td { border-bottom: none; }
.hr-table tr:hover td { background: rgba(255,255,255,.02); }
.hr-table td .primary-text { color: var(--hr-text-primary); font-weight: 500; }

/* ── Badges ── */
.hr-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
}
.hr-badge-active   { background: rgba(16,185,129,.12); color: #10b981; }
.hr-badge-inactive { background: rgba(71,85,105,.2);   color: #64748b; }
.hr-badge-pending  { background: rgba(245,158,11,.12); color: #f59e0b; }
.hr-badge-danger   { background: rgba(239,68,68,.12);  color: #ef4444; }
.hr-badge-info     { background: var(--hr-primary-dim); color: var(--hr-primary); }
.hr-badge-purple   { background: rgba(167,139,250,.12); color: #a78bfa; }
.hr-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ── Cards ── */
.hr-card {
  background: var(--hr-bg-card);
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius-lg);
  padding: 24px;
  transition: var(--hr-transition);
}
.hr-card:hover { border-color: var(--hr-border-light); }

.hr-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.hr-card-head h3 {
  font-family: var(--hr-font-display);
  font-size: 15px; font-weight: 600;
  color: var(--hr-text-primary);
}

/* ── Grid helpers ── */
.hr-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hr-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hr-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media(max-width:1024px) { .hr-grid-3 { grid-template-columns: 1fr 1fr; } }
@media(max-width:768px) {
  .hr-grid-2, .hr-grid-3, .hr-grid-4 { grid-template-columns: 1fr; }
  .hr-shell { grid-template-columns: 1fr; }
  .hr-sidebar {
  width: 240px; flex-shrink: 0;
  grid-row: 2;
  grid-column: 1; display: none; }
  .hr-main {
  grid-row: 2;
  grid-column: 2; padding: 20px 16px; }
}

/* ── Forms ── */
.hr-form-group { margin-bottom: 18px; }
.hr-label {
  display: block; margin-bottom: 6px;
  font-size: 12.5px; font-weight: 500; color: var(--hr-text-secondary);
}
.hr-input, .hr-select, .hr-textarea {
  width: 100%;
  background: var(--hr-bg-elevated); border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius); padding: 10px 14px;
  font-family: var(--hr-font-body); font-size: 13.5px;
  color: var(--hr-text-primary); outline: none;
  transition: var(--hr-transition);
}
.hr-input:focus, .hr-select:focus, .hr-textarea:focus {
  border-color: var(--hr-primary);
  box-shadow: 0 0 0 3px var(--hr-primary-dim);
}
.hr-textarea { resize: vertical; min-height: 100px; }
.hr-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* ── Progress ── */
.hr-progress-wrap { margin-bottom: 8px; }
.hr-progress-info { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 12px; }
.hr-progress-bar {
  height: 5px; background: var(--hr-border); border-radius: 10px; overflow: hidden;
}
.hr-progress-fill {
  height: 100%; border-radius: 10px;
  background: var(--hr-primary);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* ── Tabs ── */
.hr-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--hr-border); margin-bottom: 24px; }
.hr-tab {
  padding: 10px 18px; font-size: 13.5px; font-weight: 500;
  color: var(--hr-text-muted); cursor: pointer; border: none;
  background: none; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: var(--hr-transition);
  font-family: var(--hr-font-body);
}
.hr-tab:hover { color: var(--hr-text-secondary); }
.hr-tab.active { color: var(--hr-primary); border-bottom-color: var(--hr-primary); }

/* ── Modal ── */
.hr-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: all .2s;
}
.hr-modal-overlay.open { display: flex !important; opacity: 1 !important; visibility: visible !important; pointer-events: all !important; }

.hr-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.hr-main-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.hr-main {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
  background: var(--hr-bg-base);
}

.hr-modal {
  background: var(--hr-bg-elevated);
  border: 1px solid var(--hr-border-light);
  border-radius: var(--hr-radius-xl);
  padding: 28px;
  width: 90%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--hr-shadow), var(--hr-shadow-glow);
  transform: scale(.96) translateY(10px);
  transition: transform .2s;
}
.hr-modal-overlay.open .hr-modal { transform: scale(1) translateY(0); }

.hr-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.hr-modal-head h2 {
  font-family: var(--hr-font-display);
  font-size: 18px; font-weight: 700;
}
.hr-modal-close {
  background: none; border: none; color: var(--hr-text-muted);
  cursor: pointer; padding: 4px; border-radius: 6px;
  transition: var(--hr-transition);
}
.hr-modal-close:hover { color: var(--hr-text-primary); background: rgba(255,255,255,.06); }

/* ── Toast notifications ── */
.hr-toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.hr-toast {
  background: var(--hr-bg-elevated); border: 1px solid var(--hr-border-light);
  border-radius: var(--hr-radius); padding: 12px 16px;
  font-size: 13.5px; color: var(--hr-text-primary);
  box-shadow: var(--hr-shadow);
  display: flex; align-items: center; gap: 10px;
  animation: slideInToast .3s ease;
  min-width: 280px;
}
.hr-toast.success { border-left: 3px solid var(--hr-success); }
.hr-toast.error   { border-left: 3px solid var(--hr-danger); }
.hr-toast.info    { border-left: 3px solid var(--hr-primary); }

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ── Loading skeleton ── */
.hr-skeleton {
  background: linear-gradient(90deg, var(--hr-border) 25%, var(--hr-border-light) 50%, var(--hr-border) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Profile Avatar ── */
.hr-emp-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hr-font-display); font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}

/* ── Empty state ── */
.hr-empty {
  text-align: center; padding: 60px 20px;
  color: var(--hr-text-muted);
}
.hr-empty svg { width: 48px; height: 48px; margin: 0 auto 16px; opacity: .4; }
.hr-empty p { font-size: 14px; }

/* ── Divider ── */
.hr-divider {
  border: none; border-top: 1px solid var(--hr-border);
  margin: 20px 0;
}

/* ── Chip ── */
.hr-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--hr-bg-elevated); border: 1px solid var(--hr-border);
  border-radius: 20px; padding: 3px 10px;
  font-size: 12px; color: var(--hr-text-secondary);
}

/* ── Utility ── */
.hr-flex { display: flex; }
.hr-items-center { align-items: center; }
.hr-gap-2 { gap: 8px; }
.hr-gap-3 { gap: 12px; }
.hr-gap-4 { gap: 16px; }
.hr-mt-1 { margin-top: 4px; }
.hr-mt-2 { margin-top: 8px; }
.hr-mt-4 { margin-top: 16px; }
.hr-mb-4 { margin-bottom: 16px; }
.hr-text-sm { font-size: 12.5px; }
.hr-text-muted { color: var(--hr-text-muted); }
.hr-text-primary-color { color: var(--hr-primary); }
.hr-font-mono { font-family: var(--hr-font-mono); }
.hr-w-full { width: 100%; }

/* ── PREMIUM SCROLLBARS ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--hr-bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--hr-border-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--hr-text-muted);
}

/* ── IMPROVED HOVERS ── */
/* ── GLASSMORPHISM & PREMIUM UTILS ── */
.hr-glass {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .hr-glass {
  background: rgba(13, 19, 32, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.hr-mesh-gradient {
  background-color: var(--hr-bg-base);
  background-image: 
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.05) 0px, transparent 50%);
}

.hr-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hr-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hr-card-advanced {
  border-radius: var(--hr-radius-lg);
  background: var(--hr-bg-card);
  border: 1px solid var(--hr-border);
  box-shadow: var(--hr-shadow);
  transition: var(--hr-spring);
}

.hr-card-advanced:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--hr-shadow-lg), var(--hr-shadow-glow);
  border-color: var(--hr-primary);
}

/* ── STATUS INDICATORS ── */
.indicator-pill {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
    background: var(--hr-bg-elevated);
    border: 1px solid var(--hr-border);
}

/* ── BUTTON OVERRIDES ── */
.hr-btn-primary {
  padding: 10px 24px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hr-btn-secondary {
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* ── DARK OPTIMIZATIONS ── */
[data-theme="dark"] .hr-nav-item:hover {
  background: var(--hr-primary-dim);
}

/* ── Content Sections ── */
.content-section { display: none; }
.content-section.active, .content-section.animate-in { display: block !important; }

.animate-in { animation: hr-fade-up .4s cubic-bezier(.4, 0, .2, 1); }

@keyframes hr-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
