/* ==========================================================================
   NewHorizon Healthcare Theme — main.css
   Custom component styles to complement Tailwind CDN utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --nh-blue:        #3b559a;
  --nh-blue-dark:   #2d4179;
  --nh-blue-light:  #eef1f9;
  --nh-sky:         #0ea5e9;
  --nh-sky-light:   #e0f2fe;
  --nh-teal:        #10b981;
  --nh-teal-light:  #d1fae5;
  --nh-amber:       #f59e0b;
  --nh-amber-light: #fef3c7;
  --nh-purple:      #8b5cf6;
  --nh-purple-light:#ede9fe;
  --nh-red:         #ef4444;
  --nh-red-light:   #fee2e2;
  --nh-gray-50:     #f9fafb;
  --nh-gray-100:    #f3f4f6;
  --nh-gray-200:    #e5e7eb;
  --nh-gray-300:    #d1d5db;
  --nh-gray-400:    #9ca3af;
  --nh-gray-500:    #6b7280;
  --nh-gray-600:    #4b5563;
  --nh-gray-700:    #374151;
  --nh-gray-800:    #1f2937;
  --nh-gray-900:    #111827;
  --nh-white:       #ffffff;
  --nh-font-head:   'Outfit', sans-serif;
  --nh-font-body:   'DM Sans', sans-serif;
  --nh-radius:      0.75rem;
  --nh-radius-lg:   1rem;
  --nh-shadow:      0 1px 3px 0 rgb(0 0 0/0.1), 0 1px 2px -1px rgb(0 0 0/0.1);
  --nh-shadow-md:   0 4px 6px -1px rgb(0 0 0/0.1), 0 2px 4px -2px rgb(0 0 0/0.1);
  --nh-shadow-lg:   0 10px 15px -3px rgb(0 0 0/0.1), 0 4px 6px -4px rgb(0 0 0/0.1);
  --nh-shadow-xl:   0 20px 25px -5px rgb(0 0 0/0.1), 0 8px 10px -6px rgb(0 0 0/0.1);
  --nh-transition:  all 0.2s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--nh-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nh-gray-800);
  background-color: var(--nh-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nh-font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nh-gray-900);
}

a { color: var(--nh-blue); text-decoration: none; transition: var(--nh-transition); }
a:hover { color: var(--nh-blue-dark); }

img { max-width: 100%; height: auto; display: block; }

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.nh-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.nh-section { padding-top: 5rem; padding-bottom: 5rem; }
.nh-section-sm { padding-top: 3rem; padding-bottom: 3rem; }
.nh-section-lg { padding-top: 7rem; padding-bottom: 7rem; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nh-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nh-gray-200);
  transition: var(--nh-transition);
}

.nh-nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--nh-shadow-md);
}

.nh-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nh-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--nh-font-head);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--nh-blue);
  text-decoration: none;
}

.nh-nav__logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--nh-blue), var(--nh-sky));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.nh-nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .nh-nav__links { display: flex; }
}

.nh-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nh-gray-700);
  border-radius: 0.5rem;
  transition: var(--nh-transition);
  cursor: pointer;
  white-space: nowrap;
}

.nh-nav__link:hover,
.nh-nav__link.active {
  color: var(--nh-blue);
  background: var(--nh-blue-light);
}

.nh-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 240px;
  background: white;
  border: 1px solid var(--nh-gray-200);
  border-radius: var(--nh-radius);
  box-shadow: var(--nh-shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--nh-transition);
}

.nh-nav__link:hover .nh-nav__dropdown,
.nh-nav__link:focus-within .nh-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nh-nav__dropdown-item {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--nh-gray-700);
  border-radius: 0.5rem;
  transition: var(--nh-transition);
}

.nh-nav__dropdown-item:hover {
  background: var(--nh-blue-light);
  color: var(--nh-blue);
}

.nh-nav__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .nh-nav__actions { display: flex; }
}

.nh-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: var(--nh-transition);
}

@media (min-width: 1024px) {
  .nh-hamburger { display: none; }
}

.nh-hamburger:hover { background: var(--nh-gray-100); }

.nh-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--nh-gray-700);
  border-radius: 2px;
  transition: var(--nh-transition);
}

.nh-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nh-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nh-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nh-mobile-menu {
  display: block;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--nh-gray-200);
  box-shadow: var(--nh-shadow-lg);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}

.nh-mobile-menu.open { max-height: 90vh; overflow-y: auto; }

.nh-mobile-menu__inner { padding: 1.5rem; }

.nh-mobile-menu__link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--nh-gray-700);
  border-radius: 0.5rem;
  transition: var(--nh-transition);
}

.nh-mobile-menu__link:hover {
  background: var(--nh-blue-light);
  color: var(--nh-blue);
}

.nh-mobile-menu__divider {
  height: 1px;
  background: var(--nh-gray-200);
  margin: 1rem 0;
}

/* Page offset for fixed nav */
.nh-page-content { padding-top: 4.5rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.nh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  font-family: var(--nh-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.625rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--nh-transition);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  line-height: 1.4;
}

.nh-btn:focus-visible {
  outline: 3px solid var(--nh-sky);
  outline-offset: 2px;
}

.nh-btn--primary {
  background: var(--nh-blue);
  color: white;
  border-color: var(--nh-blue);
}

.nh-btn--primary:hover {
  background: var(--nh-blue-dark);
  border-color: var(--nh-blue-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(59 85 154/0.35);
}

.nh-btn--secondary {
  background: transparent;
  color: var(--nh-blue);
  border-color: var(--nh-blue);
}

.nh-btn--secondary:hover {
  background: var(--nh-blue);
  color: white;
  transform: translateY(-1px);
}

.nh-btn--sky {
  background: var(--nh-sky);
  color: white;
  border-color: var(--nh-sky);
}

.nh-btn--sky:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(14 165 233/0.35);
}

.nh-btn--teal {
  background: var(--nh-teal);
  color: white;
  border-color: var(--nh-teal);
}

.nh-btn--teal:hover {
  background: #059669;
  border-color: #059669;
  color: white;
  transform: translateY(-1px);
}

.nh-btn--ghost {
  background: transparent;
  color: var(--nh-gray-600);
  border-color: var(--nh-gray-300);
}

.nh-btn--ghost:hover {
  background: var(--nh-gray-100);
  color: var(--nh-gray-800);
  border-color: var(--nh-gray-400);
}

.nh-btn--danger {
  background: var(--nh-red);
  color: white;
  border-color: var(--nh-red);
}

.nh-btn--danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: white;
}

.nh-btn--sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; border-radius: 0.5rem; }
.nh-btn--lg { padding: 0.875rem 2rem; font-size: 1.0625rem; border-radius: 0.75rem; }
.nh-btn--xl { padding: 1.125rem 2.5rem; font-size: 1.125rem; border-radius: 0.875rem; }

.nh-btn:disabled,
.nh-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.nh-btn--loading { position: relative; color: transparent !important; }

.nh-btn--loading::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1.125rem;
  height: 1.125rem;
  margin: -0.5625rem 0 0 -0.5625rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: nh-spin 0.7s linear infinite;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.nh-card {
  background: white;
  border-radius: var(--nh-radius-lg);
  box-shadow: var(--nh-shadow);
  border: 1px solid var(--nh-gray-200);
  overflow: hidden;
}

.nh-card--hover {
  transition: var(--nh-transition);
  cursor: pointer;
}

.nh-card--hover:hover {
  box-shadow: var(--nh-shadow-lg);
  transform: translateY(-3px);
  border-color: var(--nh-blue);
}

.nh-card__header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nh-card__body { padding: 1.5rem; }
.nh-card__footer {
  padding: 1rem 1.5rem;
  background: var(--nh-gray-50);
  border-top: 1px solid var(--nh-gray-200);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.nh-form-group {
  margin-bottom: 1.5rem;
}

.nh-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nh-gray-700);
  margin-bottom: 0.5rem;
}

.nh-label .required { color: var(--nh-red); margin-left: 0.2rem; }

.nh-input,
.nh-select,
.nh-textarea {
  width: 100%;
  padding: 0.6875rem 1rem;
  font-family: var(--nh-font-body);
  font-size: 0.9375rem;
  color: var(--nh-gray-800);
  background: white;
  border: 1.5px solid var(--nh-gray-300);
  border-radius: 0.625rem;
  transition: var(--nh-transition);
  appearance: none;
  -webkit-appearance: none;
}

.nh-input:focus,
.nh-select:focus,
.nh-textarea:focus {
  outline: none;
  border-color: var(--nh-blue);
  box-shadow: 0 0 0 3px rgb(59 85 154/0.12);
}

.nh-input.error,
.nh-select.error,
.nh-textarea.error {
  border-color: var(--nh-red);
  box-shadow: 0 0 0 3px rgb(239 68 68/0.12);
}

.nh-input::placeholder,
.nh-textarea::placeholder { color: var(--nh-gray-400); }

.nh-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.nh-textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }

.nh-input-wrap { position: relative; }

.nh-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nh-gray-400);
  pointer-events: none;
  font-size: 1rem;
}

.nh-input--icon-left { padding-left: 2.75rem; }

.nh-input-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--nh-gray-400);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: var(--nh-transition);
}

.nh-input-toggle:hover { color: var(--nh-gray-700); }

.nh-field-error {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--nh-red);
  font-weight: 500;
}

.nh-field-hint {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--nh-gray-500);
}

.nh-checkbox-group,
.nh-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nh-checkbox-label,
.nh-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--nh-gray-700);
}

.nh-checkbox-label input[type="checkbox"],
.nh-radio-label input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1875rem;
  accent-color: var(--nh-blue);
  flex-shrink: 0;
  cursor: pointer;
}

/* Password strength */
.nh-strength-bar {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.nh-strength-segment {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--nh-gray-200);
  transition: var(--nh-transition);
}

.nh-strength-segment.active-weak    { background: var(--nh-red); }
.nh-strength-segment.active-fair    { background: var(--nh-amber); }
.nh-strength-segment.active-good    { background: var(--nh-sky); }
.nh-strength-segment.active-strong  { background: var(--nh-teal); }

.nh-strength-label {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
  transition: var(--nh-transition);
}

/* Multi-step form */
.nh-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.nh-step {
  display: flex;
  align-items: center;
  flex: 1;
}

.nh-step__circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid var(--nh-gray-300);
  background: white;
  color: var(--nh-gray-400);
  flex-shrink: 0;
  transition: var(--nh-transition);
  position: relative;
  z-index: 1;
}

.nh-step.active .nh-step__circle,
.nh-step.complete .nh-step__circle {
  border-color: var(--nh-blue);
  background: var(--nh-blue);
  color: white;
}

.nh-step__label {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nh-gray-500);
  margin-top: 0.375rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .nh-step__label { display: block; }
}

.nh-step.active .nh-step__label  { color: var(--nh-blue); }
.nh-step.complete .nh-step__label { color: var(--nh-teal); }

.nh-step__line {
  flex: 1;
  height: 2px;
  background: var(--nh-gray-200);
  transition: var(--nh-transition);
}

.nh-step.complete + .nh-step .nh-step__line,
.nh-step.complete .nh-step__line { background: var(--nh-blue); }

.nh-step-panel { display: none; }
.nh-step-panel.active { display: block; }

/* --------------------------------------------------------------------------
   Badges / Tags
   -------------------------------------------------------------------------- */
.nh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}

.nh-badge--blue   { background: var(--nh-blue-light);   color: var(--nh-blue); }
.nh-badge--sky    { background: var(--nh-sky-light);    color: #0369a1; }
.nh-badge--teal   { background: var(--nh-teal-light);   color: #065f46; }
.nh-badge--amber  { background: var(--nh-amber-light);  color: #92400e; }
.nh-badge--red    { background: var(--nh-red-light);    color: #991b1b; }
.nh-badge--purple { background: var(--nh-purple-light); color: #5b21b6; }
.nh-badge--gray   { background: var(--nh-gray-100);     color: var(--nh-gray-600); }

/* --------------------------------------------------------------------------
   Status Indicators
   -------------------------------------------------------------------------- */
.nh-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.nh-status::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.nh-status--approved::before,
.nh-status--confirmed::before,
.nh-status--active::before   { background: var(--nh-teal); }
.nh-status--pending::before  { background: var(--nh-amber); }
.nh-status--rejected::before,
.nh-status--cancelled::before { background: var(--nh-red); }
.nh-status--draft::before    { background: var(--nh-gray-400); }

.nh-status--approved  { color: #065f46; }
.nh-status--confirmed { color: #065f46; }
.nh-status--active    { color: #065f46; }
.nh-status--pending   { color: #92400e; }
.nh-status--rejected  { color: #991b1b; }
.nh-status--cancelled { color: #991b1b; }
.nh-status--draft     { color: var(--nh-gray-500); }

/* --------------------------------------------------------------------------
   Alerts / Notices
   -------------------------------------------------------------------------- */
.nh-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--nh-radius);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.nh-alert__icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.nh-alert__content { flex: 1; }
.nh-alert__title { font-weight: 700; margin-bottom: 0.2rem; }

.nh-alert--info    { background: var(--nh-sky-light);    color: #0c4a6e;  border: 1px solid #bae6fd; }
.nh-alert--success { background: var(--nh-teal-light);   color: #064e3b;  border: 1px solid #6ee7b7; }
.nh-alert--warning { background: var(--nh-amber-light);  color: #78350f;  border: 1px solid #fcd34d; }
.nh-alert--error   { background: var(--nh-red-light);    color: #7f1d1d;  border: 1px solid #fca5a5; }

/* --------------------------------------------------------------------------
   Toast Notifications
   -------------------------------------------------------------------------- */
#nh-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 360px;
}

.nh-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--nh-gray-900);
  color: white;
  border-radius: var(--nh-radius);
  box-shadow: var(--nh-shadow-xl);
  pointer-events: auto;
  animation: nh-toast-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  border-left: 4px solid var(--nh-gray-600);
}

.nh-toast.removing { animation: nh-toast-out 0.25s ease forwards; }

.nh-toast--success { border-left-color: var(--nh-teal); }
.nh-toast--error   { border-left-color: var(--nh-red); }
.nh-toast--warning { border-left-color: var(--nh-amber); }
.nh-toast--info    { border-left-color: var(--nh-sky); }

.nh-toast__icon { font-size: 1.125rem; flex-shrink: 0; margin-top: 0.05rem; }
.nh-toast__body { flex: 1; font-size: 0.875rem; line-height: 1.5; }
.nh-toast__title { font-weight: 700; margin-bottom: 0.2rem; }

.nh-toast__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: var(--nh-transition);
}

.nh-toast__close:hover { color: white; }

/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */
.nh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nh-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nh-modal {
  background: white;
  border-radius: var(--nh-radius-lg);
  box-shadow: var(--nh-shadow-xl);
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s ease;
  opacity: 0;
}

.nh-modal-overlay.open .nh-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.nh-modal--sm  { max-width: 420px; }
.nh-modal--lg  { max-width: 800px; }
.nh-modal--xl  { max-width: 1000px; }

.nh-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--nh-gray-200);
}

.nh-modal__title {
  font-family: var(--nh-font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--nh-gray-900);
}

.nh-modal__close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nh-gray-100);
  border: none;
  border-radius: 0.5rem;
  color: var(--nh-gray-500);
  cursor: pointer;
  font-size: 1.125rem;
  transition: var(--nh-transition);
}

.nh-modal__close:hover { background: var(--nh-gray-200); color: var(--nh-gray-900); }

.nh-modal__body  { padding: 1.5rem; }
.nh-modal__footer {
  padding: 1rem 1.5rem;
  background: var(--nh-gray-50);
  border-top: 1px solid var(--nh-gray-200);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.nh-table-wrap { overflow-x: auto; border-radius: var(--nh-radius-lg); border: 1px solid var(--nh-gray-200); }

.nh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.nh-table th {
  padding: 0.875rem 1.25rem;
  background: var(--nh-gray-50);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nh-gray-500);
  text-align: left;
  border-bottom: 1px solid var(--nh-gray-200);
  white-space: nowrap;
}

.nh-table td {
  padding: 1rem 1.25rem;
  color: var(--nh-gray-700);
  border-bottom: 1px solid var(--nh-gray-100);
  vertical-align: middle;
}

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

.nh-table tbody tr:hover td { background: var(--nh-gray-50); }

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */
.nh-tabs {
  display: flex;
  /* border-bottom: 2px solid var(--nh-gray-200); */
  gap: 0;
  /* overflow-x: auto; */
}

.nh-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--nh-gray-500);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--nh-transition);
  white-space: nowrap;
}

.nh-tab:hover { color: var(--nh-blue); }

.nh-tab.active {
  color: var(--nh-blue);
  border-bottom-color: var(--nh-blue);
}

.nh-tab-panel { display: none; padding-top: 1.5rem; }
.nh-tab-panel.active { display: block; }

/* --------------------------------------------------------------------------
   Avatar
   -------------------------------------------------------------------------- */
.nh-avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--nh-blue-light);
  color: var(--nh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nh-font-head);
  font-weight: 700;
  flex-shrink: 0;
}

.nh-avatar--xs  { width: 1.75rem; height: 1.75rem; font-size: 0.6875rem; }
.nh-avatar--sm  { width: 2.25rem; height: 2.25rem; font-size: 0.8125rem; }
.nh-avatar--md  { width: 3rem;    height: 3rem;    font-size: 1rem; }
.nh-avatar--lg  { width: 4rem;    height: 4rem;    font-size: 1.25rem; }
.nh-avatar--xl  { width: 6rem;    height: 6rem;    font-size: 1.75rem; }
.nh-avatar--2xl { width: 8rem;    height: 8rem;    font-size: 2.25rem; }

/* --------------------------------------------------------------------------
   Shift Cards
   -------------------------------------------------------------------------- */
.nh-shift-card {
  background: white;
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-gray-200);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: var(--nh-transition);
}

.nh-shift-card:hover {
  box-shadow: var(--nh-shadow-md);
  border-color: var(--nh-blue);
  transform: translateX(2px);
}

.nh-shift-card__accent { width: 4px; height: 100%; border-radius: 2px; }

.nh-shift-card__time {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--nh-gray-900);
  font-family: var(--nh-font-head);
}

.nh-shift-card__date {
  font-size: 0.8125rem;
  color: var(--nh-gray-500);
  margin-top: 0.1rem;
}

.nh-shift-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--nh-gray-600);
}

/* --------------------------------------------------------------------------
   GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
:root {
  --nh-primary: #3b559a;
  --nh-sky: #0ea5e9;
  --nh-teal: #10b981;
  --nh-amber: #f59e0b;
  --nh-red: #ef4444;
  --nh-navy: #1e3a8a;
  --nh-text: #334155;
  --nh-text-muted: #64748b;
  --nh-surface: #f8fafc;
  --nh-border: #e2e8f0;
  --nh-radius: 8px;
  --nh-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --nh-shadow-float: 0 10px 40px rgba(0,0,0,0.08);
  --nh-shadow-lift: 0 8px 24px rgba(59,85,154,0.1);
  --nh-font-head: 'Inter', system-ui, -apple-system, sans-serif;
  --nh-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--nh-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nh-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fix email overflow for long email addresses */
a[href^="mailto:"],
.email-address,
.nh-contact-detail__value,
td:has(a[href^="mailto:"]) {
  word-break: break-all;
  overflow-wrap: break-word;
}

.nh-stat__change {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.nh-stat__change--up   { color: var(--nh-teal); }
.nh-stat__change--down { color: var(--nh-red); }

/* --------------------------------------------------------------------------
   FullCalendar Overrides
   -------------------------------------------------------------------------- */
#nh-calendar .fc {
  font-family: var(--nh-font-body);
}

#nh-calendar .fc-toolbar-title {
  font-family: var(--nh-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nh-gray-900);
}

#nh-calendar .fc-button {
  background: white !important;
  border: 1.5px solid var(--nh-gray-300) !important;
  color: var(--nh-gray-700) !important;
  font-family: var(--nh-font-body) !important;
  font-weight: 600 !important;
  border-radius: 0.5rem !important;
  padding: 0.4rem 0.875rem !important;
  font-size: 0.875rem !important;
  box-shadow: none !important;
  transition: var(--nh-transition) !important;
}

#nh-calendar .fc-button:hover {
  background: var(--nh-gray-50) !important;
  border-color: var(--nh-blue) !important;
  color: var(--nh-blue) !important;
}

#nh-calendar .fc-button-active,
#nh-calendar .fc-button.fc-button-active {
  background: var(--nh-blue) !important;
  border-color: var(--nh-blue) !important;
  color: white !important;
}

#nh-calendar .fc-col-header-cell {
  background: var(--nh-gray-50);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nh-gray-500);
  padding: 0.625rem 0;
}

#nh-calendar .fc-daygrid-day-number,
#nh-calendar .fc-timegrid-axis-cushion {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nh-gray-700);
}

#nh-calendar .fc-daygrid-day.fc-day-today,
#nh-calendar .fc-timegrid-col.fc-day-today {
  background: rgb(59 85 154/0.05) !important;
}

#nh-calendar .fc-event {
  border-radius: 0.375rem !important;
  border: none !important;
  padding: 0.125rem 0.375rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

#nh-calendar .fc-event:hover { opacity: 0.85; }

#nh-calendar .fc-event-time { font-weight: 700; }

#nh-calendar .fc-toolbar { flex-wrap: wrap; gap: 0.5rem; }

/* --------------------------------------------------------------------------
   Profile
   -------------------------------------------------------------------------- */
.nh-profile-header {
  background: linear-gradient(135deg, var(--nh-blue) 0%, #4c6bb8 100%);
  color: white;
  padding: 3rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.nh-profile-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cg fill='%23ffffff' fill-opacity='0.04'%3e%3ccircle cx='30' cy='30' r='28'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");
  background-size: 60px;
}

.nh-profile-body {
  margin-top: -4rem;
  position: relative;
  z-index: 1;
}

.nh-profile-card {
  background: white;
  border-radius: var(--nh-radius-lg);
  box-shadow: var(--nh-shadow-xl);
  overflow: hidden;
}

.nh-profile-photo-wrap {
  position: relative;
  display: inline-block;
}

.nh-profile-photo-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--nh-transition);
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
}

.nh-profile-photo-wrap:hover .nh-profile-photo-overlay { opacity: 1; }

/* --------------------------------------------------------------------------
   Dashboard / Admin
   -------------------------------------------------------------------------- */
.nh-admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 4.5rem);
}

@media (max-width: 1023px) {
  .nh-admin-layout { grid-template-columns: 1fr; }
}

.nh-sidebar {
  background: var(--nh-gray-900);
  color: white;
  padding: 1.5rem;
  position: sticky;
  top: 4.5rem;
  height: calc(100vh - 4.5rem);
  overflow-y: auto;
}

.nh-sidebar__section { margin-bottom: 2rem; }

.nh-sidebar__section-label {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nh-gray-500);
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.nh-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6875rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nh-gray-400);
  border-radius: 0.625rem;
  transition: var(--nh-transition);
  margin-bottom: 0.125rem;
  text-decoration: none;
}

.nh-sidebar__link:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.nh-sidebar__link.active {
  background: var(--nh-blue);
  color: white;
}

.nh-sidebar__link .icon { font-size: 1.0625rem; width: 1.25rem; text-align: center; flex-shrink: 0; }

.nh-admin-main { padding: 2rem; background: var(--nh-gray-50); }

/* --------------------------------------------------------------------------
   File Upload / Photo Dropzone
   -------------------------------------------------------------------------- */
.nh-dropzone {
  border: 2px dashed var(--nh-gray-300);
  border-radius: var(--nh-radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--nh-transition);
}

.nh-dropzone:hover,
.nh-dropzone.drag-over {
  border-color: var(--nh-blue);
  background: var(--nh-blue-light);
}

.nh-dropzone__icon { font-size: 2.5rem; color: var(--nh-gray-400); margin-bottom: 0.75rem; }
.nh-dropzone__title { font-weight: 700; color: var(--nh-gray-700); }
.nh-dropzone__sub { font-size: 0.875rem; color: var(--nh-gray-500); margin-top: 0.25rem; }

/* --------------------------------------------------------------------------
   Search / Filter bar
   -------------------------------------------------------------------------- */
.nh-search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  background: white;
  border: 1px solid var(--nh-gray-200);
  border-radius: var(--nh-radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.nh-search-field {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.nh-search-field input {
  padding-left: 2.5rem;
}

.nh-search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nh-gray-400);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.nh-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2rem;
}

.nh-page-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1.5px solid var(--nh-gray-300);
  background: white;
  color: var(--nh-gray-700);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--nh-transition);
  text-decoration: none;
}

.nh-page-btn:hover { border-color: var(--nh-blue); color: var(--nh-blue); }
.nh-page-btn.active { background: var(--nh-blue); border-color: var(--nh-blue); color: white; }
.nh-page-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   Auth Cards
   -------------------------------------------------------------------------- */
.nh-auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--nh-gray-50);
}

@media (min-width: 1024px) {
  .nh-auth-layout { grid-template-columns: 1fr 1fr; }
}

.nh-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.nh-auth-box {
  width: 100%;
  max-width: 480px;
}

.nh-auth-aside {
  display: none;
  background: linear-gradient(145deg, var(--nh-blue) 0%, #1e3a7c 50%, #0f2456 100%);
  color: white;
  padding: 3rem;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) { .nh-auth-aside { display: flex; } }

.nh-auth-aside::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px;
  right: -200px;
}

.nh-auth-aside::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -100px;
  left: -100px;
}

/* --------------------------------------------------------------------------
   Homepage Sections
   -------------------------------------------------------------------------- */
.nh-hero {
  background: linear-gradient(135deg, var(--nh-blue) 0%, #1e3a7c 60%, #0f2456 100%);
  color: white;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.nh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cg fill='%23ffffff' fill-opacity='0.03'%3e%3cpolygon points='50 0 100 25 100 75 50 100 0 75 0 25'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");
  background-size: 100px;
}

.nh-hero-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: nh-float 8s ease-in-out infinite;
}

.nh-feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.nh-service-card {
  background: white;
  border-radius: var(--nh-radius-lg);
  padding: 2rem;
  border: 1px solid var(--nh-gray-200);
  transition: var(--nh-transition);
  text-align: center;
}

.nh-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nh-shadow-xl);
  border-color: var(--nh-blue);
}

.nh-service-card__icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--nh-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--nh-transition);
}

.nh-service-card:hover .nh-service-card__icon {
  background: var(--nh-blue);
  color: white;
}

.nh-stats-strip {
  background: var(--nh-blue);
  color: white;
  padding: 3rem 0;
}

.nh-stats-strip__number {
  font-family: var(--nh-font-head);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.nh-stats-strip__label {
  font-size: 0.9375rem;
  opacity: 0.8;
  margin-top: 0.375rem;
}

.nh-process-step {
  text-align: center;
  padding: 1.5rem;
}

.nh-process-step__num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--nh-blue);
  color: white;
  font-family: var(--nh-font-head);
  font-size: 1.375rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
}

.nh-process-step__num::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--nh-blue), var(--nh-gray-200));
  margin-left: 0.5rem;
}

.nh-process-step:last-child .nh-process-step__num::after { display: none; }

.nh-testimonial {
  background: white;
  border-radius: var(--nh-radius-lg);
  padding: 2rem;
  border: 1px solid var(--nh-gray-200);
  position: relative;
}

.nh-testimonial::before {
  content: '"';
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--nh-blue-light);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Skeleton Loaders
   -------------------------------------------------------------------------- */
.nh-skeleton {
  background: linear-gradient(90deg, var(--nh-gray-200) 25%, var(--nh-gray-100) 50%, var(--nh-gray-200) 75%);
  background-size: 200% 100%;
  animation: nh-shimmer 1.5s infinite;
  border-radius: 0.375rem;
}

/* --------------------------------------------------------------------------
   Empty States
   -------------------------------------------------------------------------- */
.nh-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--nh-gray-500);
}

.nh-empty__icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.5; }
.nh-empty__title { font-family: var(--nh-font-head); font-size: 1.25rem; font-weight: 700; color: var(--nh-gray-700); margin-bottom: 0.5rem; }
.nh-empty__text { font-size: 0.9375rem; max-width: 360px; margin: 0 auto 1.5rem; }

/* --------------------------------------------------------------------------
   Utility helpers
   -------------------------------------------------------------------------- */
.nh-divider {
  height: 1px;
  background: var(--nh-gray-200);
  margin: 1.5rem 0;
}

.nh-text-gradient {
  background: linear-gradient(135deg, var(--nh-sky) 0%, var(--nh-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes nh-spin {
  to { transform: rotate(360deg); }
}

@keyframes nh-toast-in {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

@keyframes nh-toast-out {
  from { transform: translateX(0);   opacity: 1; }
  to   { transform: translateX(110%); opacity: 0; }
}

@keyframes nh-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes nh-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

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

.nh-fade-up { animation: nh-fade-up 0.6s ease forwards; }
.nh-fade-up--delay-1 { animation-delay: 0.1s; opacity: 0; }
.nh-fade-up--delay-2 { animation-delay: 0.2s; opacity: 0; }
.nh-fade-up--delay-3 { animation-delay: 0.3s; opacity: 0; }
.nh-fade-up--delay-4 { animation-delay: 0.4s; opacity: 0; }

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .nh-nav,
  .nh-mobile-menu,
  #nh-toast-container,
  .nh-modal-overlay { display: none !important; }
  .nh-page-content { padding-top: 0; }
  body { background: white; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.nh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nh-border, #e2e8f0);
  transition: all 0.2s ease;
}
.nh-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nh-header-spacer {
  height: 4.5rem;
}

/* Logo */
.nh-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.nh-logo-wordmark {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.nh-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nh-logo-text {
  display: flex;
  flex-direction: column;
}
.nh-logo-name {
  font-family: var(--nh-font-head, 'Inter', sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nh-primary, #3b559a);
  line-height: 1.1;
}
.nh-logo-tagline {
  font-size: 0.8125rem;
  color: var(--nh-text-muted, #64748b);
  font-weight: 500;
}

/* Desktop Navigation */
.nh-nav-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .nh-nav-desktop {
    display: flex;
  }
}
.nh-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nh-nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nh-text, #334155);
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  background: none;
  border: none;
}
.nh-nav-link:hover,
.nh-nav-link.active {
  color: var(--nh-primary, #3b559a);
  background: rgba(59,85,154,0.08);
}
.nh-nav-chevron {
  transition: transform 0.2s ease;
}
.nh-nav-chevron.rotated {
  transform: rotate(180deg);
}

/* Dropdown */
.nh-nav-dropdown {
  position: relative;
}
.nh-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: white;
  border: 1px solid var(--nh-border, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  z-index: 100;
}
.nh-dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  text-decoration: none;
  color: var(--nh-text, #334155);
}
.nh-dropdown-link:hover {
  background: rgba(59,85,154,0.08);
  color: var(--nh-primary, #3b559a);
}
.nh-dropdown-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.nh-dropdown-link strong {
  display: block;
  font-weight: 600;
  color: var(--nh-navy, #1a2d5a);
}
.nh-dropdown-link small {
  display: block;
  font-size: 0.75rem;
  color: var(--nh-text-muted, #64748b);
  margin-top: 0.125rem;
}

/* Header Actions */
.nh-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nh-avatar-xs {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  object-fit: cover;
}

/* Hamburger */
.nh-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}
@media (min-width: 1024px) {
  .nh-hamburger { display: none; }
}
.nh-hamburger:hover { background: var(--nh-surface, #f8fafc); }
.nh-hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--nh-text, #334155);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.nh-hamburger-line.open:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nh-hamburger-line.open:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nh-hamburger-line.open:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nh-nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--nh-border, #e2e8f0);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  padding: 1.5rem;
}
@media (min-width: 1024px) {
  .nh-nav-mobile { display: none !important; }
}
.nh-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nh-nav-mobile-link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--nh-text, #334155);
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  text-decoration: none;
}
.nh-nav-mobile-link:hover {
  background: rgba(59,85,154,0.08);
  color: var(--nh-primary, #3b559a);
}
.nh-nav-mobile-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nh-border, #e2e8f0);
}

/* Button variants for header */
.nh-btn-ghost {
  background: transparent;
  color: var(--nh-text, #334155);
  border: 1.5px solid var(--nh-border, #e2e8f0);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}
.nh-btn-ghost:hover {
  background: var(--nh-surface, #f8fafc);
  border-color: var(--nh-primary, #3b559a);
  color: var(--nh-primary, #3b559a);
}
.nh-btn-sm {
  padding: 0.375rem 0.875rem !important;
  font-size: 0.8125rem !important;
}
.w-full { width: 100%; }
.text-center { text-align: center; }
.mb-3 { margin-bottom: 0.75rem; }

/* ==========================================================================
   EXTENDED STYLES — Phase 3 Addition
   Inter font, premium design system, all missing classes
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESIGN SYSTEM UPDATE — Inter font + refined token aliases
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400;1,14..32,500&display=swap');

:root {
  /* Override fonts to Inter */
  --nh-font-head: 'Inter', sans-serif;
  --nh-font-body: 'Inter', sans-serif;
  --nh-font-heading: 'Inter', sans-serif;

  /* Semantic aliases used throughout templates */
  --nh-primary:     #3b559a;
  --nh-primary-dk:  #2d4179;
  --nh-navy:        #1a2d5a;
  --nh-sky:         #0ea5e9;
  --nh-teal:        #10b981;
  --nh-amber:       #f59e0b;
  --nh-surface:     #f8fafc;
  --nh-border:      #e2e8f0;
  --nh-text:        #334155;
  --nh-text-muted:  #64748b;
  --nh-white:       #ffffff;

  /* Refined shadows */
  --nh-shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --nh-shadow-lift: 0 8px 32px rgba(59,85,154,.14);
  --nh-shadow-float:0 20px 60px rgba(59,85,154,.18);

  /* Spacing */
  --nh-space-section: 5.5rem;
}

/* Apply Inter globally */
body, button, input, select, textarea {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   BUTTON ALIASES — single-dash compatibility
   -------------------------------------------------------------------------- */
.nh-btn-primary  { background: var(--nh-primary); color: white; border: 2px solid var(--nh-primary); display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1.375rem; font-weight: 600; border-radius: .625rem; font-size: .9375rem; transition: all .2s; text-decoration: none; cursor: pointer; }
.nh-btn-primary:hover { background: var(--nh-primary-dk); border-color: var(--nh-primary-dk); color: white; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(59,85,154,.35); }
.nh-btn-lg      { padding: .875rem 2rem !important; font-size: 1.0625rem !important; border-radius: .75rem !important; }
.nh-btn-sm      { padding: .375rem .875rem !important; font-size: .8125rem !important; border-radius: .5rem !important; }
.nh-btn-ghost   { background: transparent; color: #4b5563; border: 2px solid #d1d5db; display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1.375rem; font-weight: 600; border-radius: .625rem; font-size: .9375rem; transition: all .2s; cursor: pointer; text-decoration: none; }
.nh-btn-ghost:hover { background: #f3f4f6; color: #1f2937; border-color: #9ca3af; }

/* White button variants for dark hero sections */
.nh-btn--white {
  background: white;
  color: var(--nh-primary);
  border-color: white;
}
.nh-btn--white:hover {
  background: #f1f5ff;
  color: var(--nh-primary-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.nh-btn--white-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.6);
}
.nh-btn--white-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: white;
  color: white;
}
.nh-btn--outline {
  background: transparent;
  color: var(--nh-primary);
  border: 2px solid var(--nh-primary);
}
.nh-btn--outline:hover {
  background: var(--nh-primary);
  color: white;
  transform: translateY(-1px);
}
.nh-btn--success { background: var(--nh-teal); color: white; border-color: var(--nh-teal); }
.nh-btn--success:hover { background: #059669; border-color: #059669; color: white; }
.nh-btn--icon {
  width: 2rem; height: 2rem; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--nh-surface); border: 1px solid var(--nh-border);
  border-radius: .5rem; font-size: .875rem; cursor: pointer; transition: all .15s;
  color: var(--nh-text);
}
.nh-btn--icon:hover { background: var(--nh-border); }
.nh-btn--icon-success { background: #dcfce7; border-color: #86efac; color: #166534; }
.nh-btn--icon-danger  { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.nh-btn--full { width: 100%; justify-content: center; }
.nh-btn-white-on-blue  { background: white; color: var(--nh-primary); border: 2px solid white; display: inline-flex; align-items: center; gap: .5rem; padding: .875rem 2rem; font-weight: 700; border-radius: .75rem; font-size: 1rem; transition: all .2s; text-decoration: none; }
.nh-btn-white-on-blue:hover  { background: #dbeafe; transform: translateY(-1px); }
.nh-btn-white-on-teal  { background: white; color: #065f46; border: 2px solid white; display: inline-flex; align-items: center; gap: .5rem; padding: .875rem 2rem; font-weight: 700; border-radius: .75rem; font-size: 1rem; transition: all .2s; text-decoration: none; }
.nh-btn-white-on-teal:hover  { background: #d1fae5; transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   PAGE STRUCTURE
   -------------------------------------------------------------------------- */
.nh-page-main {
  min-height: 60vh;
  padding-top: 4.5rem; /* nav offset */
}

.nh-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .nh-page-layout { grid-template-columns: 1fr 300px; }
}
.nh-page-layout__main  { min-width: 0; }
.nh-page-layout__sidebar { min-width: 0; }

.nh-page-header {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--nh-border);
  background: linear-gradient(160deg, #f8faff 0%, #fff 100%);
}
.nh-page-header__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--nh-navy);
  letter-spacing: -0.03em;
  margin-top: .5rem;
}
.nh-page-header__sub {
  font-size: 1.0625rem;
  color: var(--nh-text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-top: .75rem;
}

.nh-page-header--compliance {
  background: linear-gradient(160deg, #f0f4ff 0%, #fff 70%);
}

/* Page Hero (with featured image) */
.nh-page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  overflow: hidden;
}
.nh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,45,90,.82) 0%, rgba(59,85,154,.65) 100%);
}
.nh-page-hero__content {
  position: relative;
  z-index: 1;
  color: white;
}
.nh-page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  margin-top: .5rem;
}
.nh-page-content-section { padding: 3.5rem 0; }

/* Article */
.nh-page-article__content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--nh-text);
}
.nh-page-article__content h2 { font-size: 1.5rem; font-weight: 700; color: var(--nh-navy); margin: 2.5rem 0 1rem; letter-spacing: -0.02em; }
.nh-page-article__content h3 { font-size: 1.2rem; font-weight: 700; color: var(--nh-navy); margin: 2rem 0 .75rem; }
.nh-page-article__content p  { margin-bottom: 1.25rem; }
.nh-page-article__content ul,
.nh-page-article__content ol { margin: 0 0 1.25rem 1.5rem; }
.nh-page-article__content li { margin-bottom: .5rem; }
.nh-page-links { margin: 2rem 0; display: flex; gap: .5rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   SECTION HELPERS
   -------------------------------------------------------------------------- */
.nh-section--alt,
.nh-section-alt { background: var(--nh-surface); }
.nh-section-dark { background: var(--nh-navy); }

.nh-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.nh-section-header__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nh-primary);
  background: rgba(59,85,154,.08);
  padding: .3rem .875rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.nh-section-header__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--nh-navy);
  letter-spacing: -0.03em;
  margin-bottom: .875rem;
}
.nh-section-header__sub {
  font-size: 1rem;
  color: var(--nh-text-muted);
  line-height: 1.75;
}
/* Light section variant */
.nh-section-header-light .nh-section-header__title,
.nh-title-light  { color: white !important; }
.nh-eyebrow-light,
.nh-section-header-light .nh-section-header__tag {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

/* Aligned left */
.nh-section-header--left { text-align: left; margin-left: 0; }

/* --------------------------------------------------------------------------
   CARD EXTENSIONS
   -------------------------------------------------------------------------- */
.nh-card {
  padding: 1.75rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--nh-border);
  box-shadow: var(--nh-shadow-card);
}
.nh-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nh-navy);
  letter-spacing: -0.01em;
}
.nh-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.nh-card__section-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--nh-text-muted);
  margin-bottom: 1rem;
}
.nh-card--contact  { background: linear-gradient(135deg, #f0f4ff 0%, #fff 100%); border-color: rgba(59,85,154,.15); }
.nh-card--profile-nudge { background: linear-gradient(135deg, #fffbeb 0%, #fff 100%); border-color: rgba(245,158,11,.2); }
.nh-card--shift-header { padding: 2rem; }

/* --------------------------------------------------------------------------
   FORM SYSTEM EXTENSIONS
   -------------------------------------------------------------------------- */
.nh-form-field { display: flex; flex-direction: column; gap: .4rem; }
.nh-form-field--full { grid-column: 1 / -1; }
.nh-form-field--actions { flex-direction: row; align-items: flex-end; gap: .5rem; }
.nh-form-label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--nh-text);
  letter-spacing: .01em;
}
.nh-required { color: #ef4444; margin-left: .15rem; }
.nh-form-input {
  width: 100%;
  padding: .625rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  color: var(--nh-text);
  background: white;
  border: 1.5px solid var(--nh-border);
  border-radius: .625rem;
  transition: all .2s;
  appearance: none;
}
.nh-form-input:focus {
  outline: none;
  border-color: var(--nh-primary);
  box-shadow: 0 0 0 3px rgba(59,85,154,.1);
}
.nh-form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right .75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
}
.nh-form-textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.nh-form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.nh-form-grid--2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* --------------------------------------------------------------------------
   STATUS BADGES
   -------------------------------------------------------------------------- */
.nh-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 99px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nh-status-badge--confirmed { background: #dcfce7; color: #166534; }
.nh-status-badge--pending   { background: #fef9c3; color: #854d0e; }
.nh-status-badge--cancelled { background: #fee2e2; color: #991b1b; }
.nh-status-badge--draft     { background: #f1f5f9; color: #64748b; }

/* --------------------------------------------------------------------------
   LINK UTILITIES
   -------------------------------------------------------------------------- */
.nh-link { color: var(--nh-primary); font-weight: 600; text-decoration: none; transition: color .15s; }
.nh-link:hover { color: var(--nh-primary-dk); text-decoration: underline; }
.nh-link--sm { font-size: .8125rem; }
.nh-text-muted { color: var(--nh-text-muted); }
.nh-text-sm    { font-size: .875rem; }

/* --------------------------------------------------------------------------
   ALERTS / NOTICES
   -------------------------------------------------------------------------- */
.nh-alert { padding: 1rem 1.25rem; border-radius: 12px; font-size: .9375rem; margin-bottom: 1rem; }
.nh-alert--warning { background: #fffbeb; color: #78350f; border: 1px solid #fcd34d; }
.nh-alert--success { background: #f0fdf4; color: #14532d; border: 1px solid #86efac; }
.nh-alert--danger  { background: #fff1f2; color: #881337; border: 1px solid #fda4af; }
.nh-alert--info    { background: #eff6ff; color: #1e3a8a; border: 1px solid #93c5fd; }

/* --------------------------------------------------------------------------
   EMPTY STATES
   -------------------------------------------------------------------------- */
.nh-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.nh-empty-state--sm { padding: 2.5rem 1.5rem; }
.nh-empty-state__icon { font-size: 3rem; margin-bottom: 1rem; opacity: .5; }
.nh-empty-state h3 { font-size: 1.1rem; font-weight: 700; color: var(--nh-navy); margin-bottom: .5rem; }
.nh-empty-state p  { font-size: .9rem; color: var(--nh-text-muted); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   AVATAR
   -------------------------------------------------------------------------- */
.nh-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nh-primary) 0%, var(--nh-sky) 100%);
  color: white;
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
  letter-spacing: .01em;
}
.nh-avatar--sm  { width: 32px; height: 32px; font-size: .75rem; }
.nh-avatar--lg  { width: 52px; height: 52px; font-size: 1.1rem; }
.nh-avatar--xl  { width: 68px; height: 68px; font-size: 1.35rem; }
.nh-avatar--img { object-fit: cover; }

/* --------------------------------------------------------------------------
   BREADCRUMB
   -------------------------------------------------------------------------- */
.nh-breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  color: var(--nh-text-muted);
  margin-bottom: 1rem;
}
.nh-breadcrumb a { color: var(--nh-primary); font-weight: 500; }
.nh-breadcrumb span[aria-current] { color: var(--nh-text); }

/* --------------------------------------------------------------------------
   PAGINATION
   -------------------------------------------------------------------------- */
.nh-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  padding: 1.5rem 0;
}
.nh-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--nh-text);
  border: 1px solid var(--nh-border);
  text-decoration: none;
  transition: all .15s;
  background: white;
}
.nh-pagination__item:hover { border-color: var(--nh-primary); color: var(--nh-primary); }
.nh-pagination__item--active { background: var(--nh-primary); color: white !important; border-color: var(--nh-primary); }

/* --------------------------------------------------------------------------
   CALENDAR DOT
   -------------------------------------------------------------------------- */
.nh-cal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--nh-primary);
  flex-shrink: 0;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   SERVICE PAGES — HERO
   -------------------------------------------------------------------------- */
.nh-service-hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.nh-service-hero--providers {
  background: linear-gradient(145deg, #1a2d5a 0%, #3b559a 55%, #0ea5e9 100%);
}
.nh-service-hero--staff {
  background: linear-gradient(145deg, #0f4c75 0%, #1a6fa8 55%, #10b981 100%);
}
.nh-service-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.nh-service-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 1rem 0;
}
.nh-service-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.nh-service-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.nh-badge--white-outline {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1.5px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1);
  padding: .3rem .875rem;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(4px);
}

.nh-badge--primary { background: rgba(59,85,154,.1); color: var(--nh-primary); display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .625rem; font-size: .75rem; font-weight: 600; border-radius: 99px; }
.nh-badge--ghost   { background: var(--nh-surface); color: var(--nh-text-muted); border: 1px solid var(--nh-border); display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .625rem; font-size: .75rem; font-weight: 600; border-radius: 99px; }
.nh-badge--white   { background: white; color: var(--nh-primary); display: inline-flex; align-items: center; padding: .3rem .875rem; font-size: .8rem; font-weight: 700; border-radius: 99px; }

/* --------------------------------------------------------------------------
   TRUST BAR
   -------------------------------------------------------------------------- */
.nh-trust-bar {
  background: white;
  border-top: 1px solid var(--nh-border);
  border-bottom: 1px solid var(--nh-border);
  padding: 2.25rem 0;
}
.nh-trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2rem;
  text-align: center;
}
.nh-trust-item__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--nh-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.nh-trust-item__label {
  font-size: .78rem;
  color: var(--nh-text-muted);
  margin-top: .35rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   SERVICES GRID
   -------------------------------------------------------------------------- */
.nh-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.nh-service-card {
  padding: 2rem;
  border: 1px solid var(--nh-border);
  border-radius: 16px;
  background: white;
  transition: all .25s;
}
.nh-service-card:hover {
  border-color: var(--nh-primary);
  box-shadow: var(--nh-shadow-lift);
  transform: translateY(-3px);
}
.nh-service-card__icon { font-size: 2.25rem; margin-bottom: 1.25rem; display: block; }
.nh-service-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--nh-navy); margin-bottom: .5rem; letter-spacing: -0.01em; }
.nh-service-card__desc  { font-size: .9rem; color: var(--nh-text-muted); line-height: 1.7; }

/* --------------------------------------------------------------------------
   STAFF / ROLES GRID
   -------------------------------------------------------------------------- */
.nh-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .nh-staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .nh-staff-grid {
    grid-template-columns: 1fr;
  }
}
.nh-staff-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--nh-border);
  border-radius: 16px;
  background: white;
  text-align: center;
  transition: all .25s;
}
.nh-staff-card:hover { border-color: var(--nh-primary); box-shadow: var(--nh-shadow-lift); transform: translateY(-3px); }
.nh-staff-card-icon  { font-size: 2.5rem; margin-bottom: 1rem; }
.nh-staff-card-title { font-size: 1rem; font-weight: 700; color: var(--nh-navy); margin-bottom: .5rem; }
.nh-staff-card-desc  { font-size: .875rem; color: var(--nh-text-muted); line-height: 1.65; margin-bottom: 1rem; }
.nh-staff-skills { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.nh-skill-tag {
  padding: .2rem .6rem;
  background: var(--nh-surface);
  border: 1px solid var(--nh-border);
  border-radius: 99px;
  font-size: .725rem;
  font-weight: 600;
  color: var(--nh-text-muted);
}

.nh-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.nh-role-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1.5px solid var(--nh-border);
  border-radius: 14px;
  transition: all .2s;
}
.nh-role-pill:hover { border-color: var(--nh-primary); box-shadow: 0 4px 16px rgba(59,85,154,.1); }
.nh-role-pill__icon  { font-size: 1.5rem; flex-shrink: 0; }
.nh-role-pill__title { font-weight: 700; font-size: .9rem; color: var(--nh-navy); letter-spacing: -0.01em; }
.nh-role-pill__sub   { font-size: .775rem; color: var(--nh-text-muted); margin-top: .1rem; }

/* --------------------------------------------------------------------------
   STEPS / PROCESS
   -------------------------------------------------------------------------- */
.nh-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.nh-step {
  padding: 2rem 1.5rem;
  position: relative;
}
.nh-step__num {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--nh-primary);
  opacity: .1;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: .5rem;
}
.nh-step__body  { flex: 1; }
.nh-step__title { font-size: 1.0625rem; font-weight: 700; color: var(--nh-navy); margin-bottom: .5rem; letter-spacing: -0.01em; }
.nh-step__desc  { font-size: .9rem; color: var(--nh-text-muted); line-height: 1.7; }
.nh-step__connector { display: none; }

.nh-join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}
.nh-join-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.nh-join-step__bubble {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nh-primary), var(--nh-sky));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59,85,154,.3);
}
.nh-join-step__body  { flex: 1; }
.nh-join-step__title { font-size: 1rem; font-weight: 700; color: var(--nh-navy); margin-bottom: .4rem; letter-spacing: -0.01em; }
.nh-join-step__desc  { font-size: .875rem; color: var(--nh-text-muted); line-height: 1.65; }

/* Alternate process track (index.php style) */
.nh-process-track  { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.nh-process-step   { text-align: center; padding: 2rem 1.5rem; }
.nh-process-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nh-primary), var(--nh-sky));
  color: white;
  font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(59,85,154,.3);
}
.nh-process-title   { font-size: 1rem; font-weight: 700; color: var(--nh-navy); margin-bottom: .5rem; }
.nh-process-desc    { font-size: .875rem; color: var(--nh-text-muted); line-height: 1.65; }
.nh-process-connector { display: none; }
.nh-process-cta     { text-align: center; margin-top: 2.5rem; }

/* --------------------------------------------------------------------------
   CTA BANNER
   -------------------------------------------------------------------------- */
.nh-cta-banner {
  background: linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-primary) 60%, var(--nh-sky) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.nh-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.nh-cta-banner__content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.nh-cta-banner__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: .875rem;
}
.nh-cta-banner__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.nh-cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.nh-cta-content { text-align: center; }

/* --------------------------------------------------------------------------
   COMPLIANCE SECTION STYLES
   -------------------------------------------------------------------------- */
.nh-compliance-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .nh-compliance-intro { grid-template-columns: 1fr auto; }
}
.nh-compliance-intro__text h2 {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--nh-navy);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.nh-compliance-intro__text p {
  font-size: .9375rem;
  color: var(--nh-text);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.nh-compliance-intro__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.nh-compliance-badge {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border: 1px solid var(--nh-border);
  border-radius: 14px;
  box-shadow: var(--nh-shadow-card);
  transition: all .2s;
}
.nh-compliance-badge:hover { transform: translateY(-2px); box-shadow: var(--nh-shadow-lift); }
.nh-compliance-badge__icon  { font-size: 2rem; margin-bottom: .625rem; }
.nh-compliance-badge__label { font-size: .775rem; font-weight: 700; color: var(--nh-navy); line-height: 1.4; }

.nh-compliance-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .nh-compliance-split { grid-template-columns: 1fr 1fr; }
}
.nh-compliance-split__text { flex: 1; }
.nh-compliance-split__visual { flex: 1; display: flex; justify-content: center; }

.nh-compliance-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .625rem; }
.nh-compliance-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; color: var(--nh-text); line-height: 1.5; }
.nh-compliance-item__tick { color: var(--nh-teal); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

.nh-compliance-card {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--nh-border);
  box-shadow: var(--nh-shadow-float);
  overflow: hidden;
}
.nh-compliance-card__header { background: linear-gradient(135deg, var(--nh-navy), var(--nh-primary)); padding: 1.5rem; }
.nh-compliance-card__badge  { font-size: .825rem; font-weight: 700; color: #86efac; margin-bottom: .35rem; }
.nh-compliance-card__title  { color: white; font-weight: 700; font-size: 1rem; }
.nh-compliance-card__body   { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .875rem; }

.nh-compliance-row { display: flex; align-items: flex-start; gap: .75rem; }
.nh-compliance-row__tick  { color: var(--nh-teal); font-weight: 700; flex-shrink: 0; }
.nh-compliance-row__label { font-weight: 600; font-size: .875rem; color: var(--nh-navy); }
.nh-compliance-row__date  { font-size: .775rem; color: var(--nh-text-muted); margin-top: .1rem; }

.nh-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .nh-checklist-grid {
    grid-template-columns: 1fr;
  }
}
.nh-checklist-section {
  background: white;
  border: 1px solid var(--nh-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--nh-shadow-card);
  transition: all .2s;
}
.nh-checklist-section:hover { box-shadow: var(--nh-shadow-lift); border-color: rgba(59,85,154,.2); }
.nh-checklist-section__header { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--nh-border); }
.nh-checklist-section__icon   { font-size: 1.625rem; }
.nh-checklist-section__title  { font-size: 1rem; font-weight: 700; color: var(--nh-navy); letter-spacing: -0.01em; }
.nh-checklist-items  { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.nh-checklist-item   { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--nh-text); line-height: 1.5; }
.nh-checklist-item__tick { color: var(--nh-teal); font-weight: 700; flex-shrink: 0; font-size: .9rem; }

.nh-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .875rem;
}
.nh-doc-chip {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1.125rem 1.25rem;
  border: 1.5px solid var(--nh-border);
  border-radius: 12px;
  background: white;
  transition: all .2s;
}
.nh-doc-chip:hover { border-color: var(--nh-primary); background: #f8faff; }
.nh-doc-chip__icon  { font-size: 1.375rem; flex-shrink: 0; }
.nh-doc-chip__label { font-size: .875rem; font-weight: 600; color: var(--nh-navy); }
.nh-doc-chip__note  { font-size: .75rem; color: var(--nh-text-muted); margin-top: .1rem; }
.nh-doc-chip__req   { margin-left: auto; font-size: .7rem; font-weight: 700; color: var(--nh-primary); background: rgba(59,85,154,.08); padding: .2rem .5rem; border-radius: 99px; flex-shrink: 0; }

.nh-privacy-note {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--nh-border);
  border-radius: 16px;
  padding: 2rem;
  max-width: 740px;
  margin: 0 auto;
  box-shadow: var(--nh-shadow-card);
}
.nh-privacy-note__icon { font-size: 2.5rem; flex-shrink: 0; }
.nh-privacy-note__text h3 { font-size: 1.05rem; font-weight: 700; color: var(--nh-navy); margin-bottom: .5rem; }
.nh-privacy-note__text p  { font-size: .9rem; color: var(--nh-text-muted); line-height: 1.7; margin-bottom: .75rem; }

/* --------------------------------------------------------------------------
   TESTIMONIALS (EXTENDED)
   -------------------------------------------------------------------------- */
.nh-testimonial-feature {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.nh-testimonial-feature__quote {
  font-size: 7rem;
  color: var(--nh-primary);
  opacity: .12;
  line-height: .7;
  font-family: Georgia, serif;
  margin-bottom: 1rem;
  user-select: none;
}
.nh-testimonial-feature__text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--nh-navy);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-weight: 400;
}
.nh-testimonial-feature__author { display: flex; align-items: center; justify-content: center; gap: .875rem; }
.nh-testimonial-feature__name   { font-weight: 700; color: var(--nh-navy); font-size: .9375rem; }
.nh-testimonial-feature__role   { font-size: .825rem; color: var(--nh-text-muted); margin-top: .1rem; }
.nh-testimonial-footer  { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .5rem; }
.nh-testimonial-stars   { color: #f59e0b; letter-spacing: .05em; font-size: .9rem; }

/* --------------------------------------------------------------------------
   FOOTER EXTENSIONS
   -------------------------------------------------------------------------- */
.nh-footer-top    { padding: 4rem 0 3rem; }
.nh-footer-col    { min-width: 0; }
.nh-footer-contact { display: flex; flex-direction: column; gap: .625rem; }
.nh-footer-logo-link { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; color: white; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 1rem; }
.nh-footer-accreditation { margin-top: 1.25rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   SIDEBAR
   -------------------------------------------------------------------------- */
.nh-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.nh-sidebar-widget {
  background: white;
  border: 1px solid var(--nh-border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--nh-shadow-card);
}
.nh-sidebar-widget__title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--nh-text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--nh-border);
}
.nh-sidebar-cta {
  background: linear-gradient(135deg, var(--nh-primary) 0%, #1a6fa8 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  color: white;
}
.nh-sidebar-cta__icon  { font-size: 2.5rem; margin-bottom: 1rem; }
.nh-sidebar-cta__title { font-size: 1.1rem; font-weight: 800; color: white; letter-spacing: -0.02em; margin-bottom: .625rem; }
.nh-sidebar-cta__text  { font-size: .875rem; color: rgba(255,255,255,.8); line-height: 1.6; margin-bottom: 1.25rem; }

/* --------------------------------------------------------------------------
   DASHBOARD — EMPLOYEE VIEW
   -------------------------------------------------------------------------- */
.nh-employee-dashboard { padding: 2.5rem 0 4rem; }

.nh-dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.nh-dash-welcome__left   { display: flex; align-items: center; gap: 1.25rem; }
.nh-dash-welcome__photo  { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid white; box-shadow: var(--nh-shadow-lift); }
.nh-dash-welcome__name   { font-size: 1.625rem; font-weight: 800; color: var(--nh-navy); letter-spacing: -0.03em; margin-bottom: .25rem; }
.nh-dash-welcome__meta   { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--nh-text-muted); }
.nh-dash-welcome__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.nh-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.nh-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--nh-border);
  box-shadow: var(--nh-shadow-card);
}
.nh-stat-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}
.nh-stat-card__body { min-width: 0; }
.nh-stat-card__value { font-size: 1.75rem; font-weight: 800; color: var(--nh-navy); line-height: 1; letter-spacing: -0.04em; }
.nh-stat-card__label { font-size: .775rem; color: var(--nh-text-muted); margin-top: .2rem; font-weight: 500; }

/* Inline stat (3-col strip in manage-employees) */
.nh-stats-strip { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.nh-stats-strip--3 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.nh-stat-card--inline { padding: 1.5rem; border-radius: 14px; background: white; border: 1px solid var(--nh-border); }
.nh-stat-card--inline .nh-stat-card__value { font-size: 2rem; font-weight: 900; letter-spacing: -0.05em; margin-bottom: .25rem; }
.nh-stat-card--inline .nh-stat-card__label { font-size: .8rem; color: var(--nh-text-muted); }

.nh-dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .nh-dash-grid { grid-template-columns: 1fr 300px; }
}
.nh-dash-grid__main { min-width: 0; }
.nh-dash-grid__side { display: flex; flex-direction: column; gap: 1.25rem; }

/* Quick links */
.nh-quick-links { display: flex; flex-direction: column; gap: .25rem; }
.nh-quick-link {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .625rem .875rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--nh-text);
  font-size: .9rem;
  font-weight: 500;
  transition: all .15s;
}
.nh-quick-link:hover { background: var(--nh-surface); color: var(--nh-primary); }
.nh-quick-link__icon { font-size: 1.1rem; width: 26px; text-align: center; flex-shrink: 0; }
.nh-quick-link__arrow { margin-left: auto; color: var(--nh-text-muted); font-size: .9rem; }

/* Profile completeness nudge */
.nh-profile-nudge { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.nh-profile-nudge__text h3 { font-weight: 700; font-size: 1rem; color: var(--nh-navy); margin-bottom: .35rem; letter-spacing: -0.01em; }
.nh-profile-nudge__text p  { font-size: .875rem; color: var(--nh-text-muted); }
.nh-profile-nudge__right   { display: flex; align-items: center; gap: 1.25rem; }
.nh-progress-ring          { position: relative; display: flex; align-items: center; justify-content: center; }
.nh-progress-ring__pct     { position: absolute; font-size: .75rem; font-weight: 800; color: var(--nh-navy); letter-spacing: -0.03em; }

/* Contact rows */
.nh-contact-row {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .625rem 0;
  text-decoration: none;
  color: var(--nh-primary);
  font-size: .9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--nh-border);
  transition: color .15s;
}
.nh-contact-row:hover { color: var(--nh-primary-dk); }
.nh-contact-row:last-child { border-bottom: none; }

/* --------------------------------------------------------------------------
   SHIFT LIST & ROWS
   -------------------------------------------------------------------------- */
.nh-shift-list { display: flex; flex-direction: column; }

.nh-shift-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .875rem;
  margin: 0 -.875rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background .15s;
  color: inherit;
  border-bottom: 1px solid var(--nh-border);
}
.nh-shift-row:last-child { border-bottom: none; }
.nh-shift-row:hover { background: var(--nh-surface); }

.nh-shift-row__date-col { flex-shrink: 0; }
.nh-shift-row__info { flex: 1; min-width: 0; }
.nh-shift-row__cal  { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--nh-text-muted); margin-bottom: .2rem; flex-wrap: wrap; }
.nh-shift-row__time { font-size: .9375rem; font-weight: 700; color: var(--nh-navy); display: flex; align-items: center; gap: .625rem; letter-spacing: -0.01em; }
.nh-shift-row__dur  { font-size: .75rem; color: var(--nh-text-muted); font-weight: 500; }
.nh-shift-row__status { flex-shrink: 0; }
.nh-shift-row__arrow  { color: var(--nh-text-muted); font-size: .9rem; flex-shrink: 0; }

.nh-shift-date-badge {
  text-align: center;
  border-left: 3px solid var(--nh-primary);
  padding-left: .875rem;
  min-width: 48px;
}
.nh-shift-date-badge__day { display: block; font-size: .675rem; text-transform: uppercase; letter-spacing: .07em; color: var(--nh-text-muted); font-weight: 600; }
.nh-shift-date-badge__num { display: block; font-size: 1.5rem; font-weight: 900; color: var(--nh-navy); line-height: 1; letter-spacing: -0.04em; }
.nh-shift-date-badge__mon { display: block; font-size: .675rem; color: var(--nh-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }

.nh-badge--today    { background: #dcfce7; color: #166534; font-size: .65rem; padding: .2rem .5rem; border-radius: 99px; font-weight: 700; }
.nh-badge--tomorrow { background: #fef9c3; color: #854d0e; font-size: .65rem; padding: .2rem .5rem; border-radius: 99px; font-weight: 700; }

/* --------------------------------------------------------------------------
   SHIFT DATE DISPLAY (manage-shifts table)
   -------------------------------------------------------------------------- */
.nh-shift-date { display: flex; align-items: center; gap: .875rem; }
.nh-shift-date__day { font-size: .75rem; font-weight: 700; color: var(--nh-text-muted); text-transform: uppercase; letter-spacing: .07em; width: 28px; text-align: center; flex-shrink: 0; }
.nh-shift-date__date { font-weight: 700; color: var(--nh-navy); font-size: .9rem; }
.nh-shift-date__time { font-size: .8rem; color: var(--nh-text-muted); margin-top: .1rem; }

/* --------------------------------------------------------------------------
   DATA TABLES
   -------------------------------------------------------------------------- */
.nh-data-table-wrap {
  background: white;
  border: 1px solid var(--nh-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--nh-shadow-card);
}
.nh-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.nh-data-table thead { background: var(--nh-surface); }
.nh-data-table th {
  padding: .875rem 1rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--nh-text-muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--nh-border);
}
.nh-data-table td {
  padding: .875rem 1rem;
  color: var(--nh-text);
  vertical-align: middle;
  border-bottom: 1px solid var(--nh-border);
}
.nh-data-table tr:last-child td { border-bottom: none; }
.nh-data-table tbody tr:hover { background: #fafbff; }
.nh-data-table__check  { width: 40px; }
.nh-data-table__actions { width: 120px; text-align: right; }
.nh-data-table__actions .nh-btn--icon { margin-left: .25rem; }

.nh-table-employee { display: flex; align-items: center; gap: .875rem; }
.nh-table-employee__name { font-weight: 600; color: var(--nh-navy); }
.nh-table-employee__meta { font-size: .75rem; color: var(--nh-text-muted); margin-top: .1rem; }

/* --------------------------------------------------------------------------
   FILTER BAR
   -------------------------------------------------------------------------- */
.nh-filter-bar {
  background: white;
  border: 1px solid var(--nh-border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--nh-shadow-card);
}
.nh-filter-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  align-items: end;
}

/* --------------------------------------------------------------------------
   BULK ACTION BAR
   -------------------------------------------------------------------------- */
.nh-bulk-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: .875rem 1.25rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.nh-bulk-bar__count { font-size: .875rem; font-weight: 700; color: #1e40af; }
.nh-bulk-bar__actions { display: flex; gap: .625rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   ADMIN PAGE HEADERS
   -------------------------------------------------------------------------- */
.nh-admin-page { padding: 2rem 0 4rem; }
.nh-container--wide { max-width: 1400px; }
.nh-admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.nh-admin-page-title { font-size: 1.75rem; font-weight: 800; color: var(--nh-navy); letter-spacing: -0.03em; }
.nh-admin-page-sub   { font-size: .875rem; color: var(--nh-text-muted); margin-top: .35rem; }
.nh-admin-page-actions { display: flex; gap: .75rem; align-items: center; }

/* --------------------------------------------------------------------------
   POST NAVIGATION
   -------------------------------------------------------------------------- */
.nh-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--nh-border);
}
.nh-post-nav__item {
  padding: 1.25rem;
  border: 1px solid var(--nh-border);
  border-radius: 14px;
  text-decoration: none;
  transition: all .2s;
  background: white;
}
.nh-post-nav__item:hover { border-color: var(--nh-primary); box-shadow: var(--nh-shadow-lift); transform: translateY(-2px); }
.nh-post-nav__item--prev { text-align: left; }
.nh-post-nav__item--next { text-align: right; }
.nh-post-nav__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--nh-text-muted); margin-bottom: .35rem; }
.nh-post-nav__title { font-size: .9375rem; font-weight: 700; color: var(--nh-navy); line-height: 1.4; }

/* --------------------------------------------------------------------------
   RELATED POSTS (sidebar)
   -------------------------------------------------------------------------- */
.nh-related-posts { display: flex; flex-direction: column; gap: 1rem; }
.nh-related-post {
  display: flex;
  gap: .875rem;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
}
.nh-related-post:hover { opacity: .8; }
.nh-related-post__img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.nh-related-post__content { min-width: 0; }
.nh-related-post__title { font-size: .875rem; font-weight: 700; color: var(--nh-navy); line-height: 1.45; margin-bottom: .2rem; }
.nh-related-post__date  { font-size: .75rem; color: var(--nh-text-muted); }

/* --------------------------------------------------------------------------
   ARTICLE STYLES
   -------------------------------------------------------------------------- */
.nh-article-hero {
  background: linear-gradient(160deg, #f0f4ff 0%, #fafbff 100%);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--nh-border);
}
.nh-article-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--nh-navy);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 1rem 0;
}
.nh-article-meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.nh-article-meta__author { display: flex; align-items: center; gap: .75rem; }
.nh-article-meta__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nh-article-meta__name   { display: block; font-weight: 700; font-size: .875rem; color: var(--nh-navy); }
.nh-article-meta__role   { display: block; font-size: .75rem; color: var(--nh-text-muted); }
.nh-article-meta__info   { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--nh-text-muted); }

.nh-article-featured-image { padding: 2rem 0 0; }
.nh-article-featured-image__img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 20px; }

.nh-article-content-section { padding: 3rem 0 5rem; }
.nh-article-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) {
  .nh-article-layout { grid-template-columns: 1fr 300px; }
}
.nh-article-layout__main  { min-width: 0; }
.nh-article-layout__sidebar { min-width: 0; }

.nh-article-body {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: var(--nh-text);
}
.nh-article-body h2 { font-size: 1.5rem; font-weight: 800; color: var(--nh-navy); margin: 2.5rem 0 1rem; letter-spacing: -0.025em; }
.nh-article-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--nh-navy); margin: 2rem 0 .75rem; }
.nh-article-body p  { margin-bottom: 1.5rem; }
.nh-article-body ul,
.nh-article-body ol { margin: 0 0 1.5rem 1.5rem; }
.nh-article-body li { margin-bottom: .625rem; }
.nh-article-body blockquote {
  border-left: 4px solid var(--nh-primary);
  padding: 1rem 1.5rem;
  background: #f8faff;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--nh-navy);
}

.nh-article-tags { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--nh-border); }
.nh-article-tags__label { font-size: .8125rem; font-weight: 700; color: var(--nh-text-muted); }
.nh-article-tag {
  padding: .25rem .75rem;
  border: 1.5px solid var(--nh-border);
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--nh-text);
  text-decoration: none;
  transition: all .15s;
}
.nh-article-tag:hover { border-color: var(--nh-primary); color: var(--nh-primary); background: rgba(59,85,154,.05); }

.nh-author-bio {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--nh-surface);
  border-radius: 16px;
  margin-top: 2.5rem;
}
.nh-author-bio__avatar  { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nh-author-bio__name    { font-size: 1rem; font-weight: 800; color: var(--nh-navy); margin-bottom: .375rem; }
.nh-author-bio__description { font-size: .9rem; color: var(--nh-text-muted); line-height: 1.65; }

.nh-comments-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--nh-border); }

/* --------------------------------------------------------------------------
   SEARCH ARCHIVE
   -------------------------------------------------------------------------- */
.nh-search-header {
  background: linear-gradient(160deg, #f0f4ff 0%, #fafbff 100%);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--nh-border);
}
.nh-search-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--nh-navy); margin-bottom: .5rem; letter-spacing: -0.03em; }
.nh-search-count { font-size: 1rem; color: var(--nh-text-muted); }
.nh-search-form-large {
  max-width: 560px;
  margin-top: 1.5rem;
}
.nh-search-form-large form { display: flex; gap: .625rem; }
.nh-search-form-large .search-field {
  flex: 1;
  padding: .75rem 1.25rem;
  border: 2px solid var(--nh-border);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s;
}
.nh-search-form-large .search-field:focus { border-color: var(--nh-primary); }
.nh-search-form-large .search-submit {
  padding: .75rem 1.5rem;
  background: var(--nh-primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
}
.nh-search-form-large .search-submit:hover { background: var(--nh-primary-dk); transform: translateY(-1px); }

.nh-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.nh-post-card {
  background: white;
  border: 1px solid var(--nh-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--nh-shadow-card);
  transition: all .25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.nh-post-card:hover { box-shadow: var(--nh-shadow-lift); transform: translateY(-3px); border-color: rgba(59,85,154,.2); }
.nh-post-card__image { width: 100%; height: 200px; object-fit: cover; }
.nh-post-card__image-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #eef2ff, #e0f2fe); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.nh-post-card__body  { padding: 1.5rem; }
.nh-post-card__cat   { font-size: .725rem; font-weight: 700; color: var(--nh-primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .625rem; }
.nh-post-card__title { font-size: 1.0625rem; font-weight: 800; color: var(--nh-navy); line-height: 1.35; margin-bottom: .75rem; letter-spacing: -0.02em; }
.nh-post-card__excerpt { font-size: .875rem; color: var(--nh-text-muted); line-height: 1.65; margin-bottom: 1rem; }
.nh-post-card__meta { display: flex; align-items: center; gap: .625rem; font-size: .775rem; color: var(--nh-text-muted); }

/* --------------------------------------------------------------------------
   ABOUT / CONTACT / STAFF PAGE HELPERS
   -------------------------------------------------------------------------- */
.nh-two-col-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 768px) {
  .nh-two-col-cards {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   ECG LINE (404)
   -------------------------------------------------------------------------- */
.nh-ecg-line { width: 300px; height: 60px; margin: 0 auto; overflow: hidden; }
.nh-ecg-path {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: nh-ecg-draw 2s ease-out infinite;
}
@keyframes nh-ecg-draw {
  0%   { stroke-dashoffset: 800; }
  60%, 100% { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   NAV DROPDOWN TOGGLE
   -------------------------------------------------------------------------- */
.nh-nav-dropdown-toggle { cursor: pointer; }

/* --------------------------------------------------------------------------
   CONTACT ROW (single.php sidebar)
   -------------------------------------------------------------------------- */
.nh-contact-row { display: flex; align-items: center; gap: .75rem; }

/* --------------------------------------------------------------------------
   MISC SECTION HELPERS (index.php compatibility)
   -------------------------------------------------------------------------- */
.nh-section-alt { background: var(--nh-surface); }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.nh-footer {
  background: linear-gradient(135deg, #1a2d5a 0%, #0f1d3d 100%);
  color: #cbd5e1;
}
.nh-footer-top {
  padding: 4rem 0 3rem;
}
.nh-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .nh-footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
  }
}
.nh-footer-brand { min-width: 0; }
.nh-footer-logo-link {
  text-decoration: none;
  display: inline-block;
}
.nh-footer-logo {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(59, 85, 154, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.nh-footer-logo-mark {
  display: block;
  width: 98px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}
@media (max-width: 768px) {
  .nh-footer-logo {
    width: 122px;
    height: 122px;
  }
  .nh-footer-logo-mark {
    width: 88px;
  }
}
.nh-footer-desc {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 320px;
}
.nh-footer-accreditation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.nh-badge-accent {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.1);
  color: #e2e8f0;
  border-radius: 4px;
}
.nh-footer-col { min-width: 0; }
.nh-footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 1.25rem;
}
.nh-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nh-footer-links li {
  margin-bottom: 0.625rem;
}
.nh-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.nh-footer-links a:hover {
  color: white;
}
.nh-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nh-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}
.nh-footer-contact li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  opacity: 0.6;
}
.nh-footer-contact a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nh-footer-contact a:hover {
  color: white;
}
.nh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
}
.nh-footer-bottom p {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0.25rem 0;
}

/* --------------------------------------------------------------------------
   AUTH / REGISTER FORMS
   -------------------------------------------------------------------------- */
.nh-auth-wrap {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}
.nh-auth-wrap-register {
  padding-top: 2rem;
}
.nh-register-header {
  text-align: center;
  max-width: 600px;
  margin-bottom: 2rem;
}
.nh-auth-logo {
  margin-bottom: 1.25rem;
}
.nh-auth-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--nh-navy, #1a2d5a);
  margin-bottom: 0.5rem;
}
.nh-auth-subtitle {
  font-size: 0.9375rem;
  color: var(--nh-text-muted, #64748b);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}
.nh-register-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 2rem;
}
.nh-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.nh-progress-step span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nh-text-muted, #64748b);
}
.nh-progress-step.active span,
.nh-progress-step.completed span {
  color: var(--nh-primary, #3b559a);
}
.nh-progress-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.nh-progress-step.active .nh-progress-dot {
  background: var(--nh-primary, #3b559a);
  color: white;
  box-shadow: 0 0 0 4px rgba(59,85,154,0.2);
}
.nh-progress-step.completed .nh-progress-dot {
  background: var(--nh-teal, #10b981);
  color: white;
}
.nh-progress-line {
  width: 3rem;
  height: 2px;
  background: #e2e8f0;
  margin: 0 0.5rem;
  margin-bottom: 1.5rem;
}
.nh-register-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 2rem;
  width: 100%;
  max-width: 640px;
}
.nh-register-step {
  border: none;
  padding: 0;
  margin: 0;
}
.nh-fieldset-legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.nh-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .nh-form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.nh-form-field {
  margin-bottom: 1.25rem;
}
.nh-form-field--full {
  grid-column: 1 / -1;
}
.nh-label,
.nh-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nh-navy, #1a2d5a);
  margin-bottom: 0.375rem;
}
.nh-required {
  color: #ef4444;
}
.nh-input,
.nh-select,
.nh-textarea,
.nh-form-input,
.nh-form-select,
.nh-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--nh-text, #334155);
  background: white;
  border: 1.5px solid var(--nh-border, #e2e8f0);
  border-radius: 10px;
  transition: all 0.15s ease;
  font-family: inherit;
}
.nh-input:focus,
.nh-select:focus,
.nh-textarea:focus,
.nh-form-input:focus {
  outline: none;
  border-color: var(--nh-primary, #3b559a);
  box-shadow: 0 0 0 3px rgba(59,85,154,0.15);
}
.nh-input::placeholder,
.nh-form-input::placeholder {
  color: #94a3b8;
}
.nh-help-text {
  font-size: 0.75rem;
  color: var(--nh-text-muted, #64748b);
  margin-top: 0.375rem;
}
.nh-form-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--nh-navy, #1a2d5a);
  margin: 1.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--nh-border, #e2e8f0);
}
.nh-input-wrap {
  position: relative;
}
.nh-input-toggle-pw {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--nh-text-muted, #64748b);
}
.nh-info-box {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #1e40af;
  line-height: 1.6;
}
.nh-info-box svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.nh-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--nh-text, #334155);
  line-height: 1.5;
  cursor: pointer;
}
.nh-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  accent-color: var(--nh-primary, #3b559a);
}
.nh-step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nh-border, #e2e8f0);
}
.nh-auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nh-border, #e2e8f0);
  font-size: 0.875rem;
  color: var(--nh-text-muted, #64748b);
}
.nh-link {
  color: var(--nh-primary, #3b559a);
  text-decoration: none;
  font-weight: 600;
}
.nh-link:hover {
  text-decoration: underline;
}
.nh-password-strength {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

/* Alert styles */
.nh-alert {
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.nh-alert-error,
.nh-alert--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.nh-alert-success,
.nh-alert--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* --------------------------------------------------------------------------
   PAGE LAYOUTS
   -------------------------------------------------------------------------- */
.nh-page-main {
  min-height: calc(100vh - 4.5rem);
}
.nh-page-header {
  background: linear-gradient(135deg, #1a2d5a 0%, #3b559a 100%);
  padding: 3rem 0;
  color: white;
}
.nh-page-header__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.nh-page-header__sub {
  font-size: 1rem;
  opacity: 0.85;
  max-width: 600px;
}
.nh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.nh-breadcrumb a {
  color: white;
  text-decoration: none;
}
.nh-breadcrumb a:hover {
  text-decoration: underline;
}
.nh-section {
  padding: 4rem 0;
}
.nh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.nh-card {
  background: white;
  border: 1px solid var(--nh-border, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nh-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--nh-navy, #1a2d5a);
}

/* --------------------------------------------------------------------------
   FORM GRID
   -------------------------------------------------------------------------- */
.nh-form-grid {
  display: grid;
  gap: 1rem;
}
.nh-form-grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .nh-form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   BUTTONS (additional)
   -------------------------------------------------------------------------- */
.nh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  font-family: inherit;
}
.nh-btn-primary,
.nh-btn--primary {
  background: var(--nh-primary, #3b559a);
  color: white;
}
.nh-btn-primary:hover,
.nh-btn--primary:hover {
  background: var(--nh-primary-dk, #2d4179);
}
.nh-btn--danger {
  background: #ef4444;
  color: white;
}
.nh-btn--danger:hover {
  background: #dc2626;
}
.nh-btn--lg,
.nh-btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.nh-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
}

/* --------------------------------------------------------------------------
   SERVICE HERO (for-providers, for-staff pages)
   -------------------------------------------------------------------------- */
.nh-service-hero {
  position: relative;
  padding: 5rem 0;
  color: white;
  margin-top: -4.5rem; /* Remove gap - pull up under fixed header */
  padding-top: 9rem; /* Compensate for header height */
  background: linear-gradient(135deg, var(--nh-navy, #1a2d5a) 0%, var(--nh-primary, #3b559a) 100%);
}
.nh-service-hero--providers,
.nh-service-hero--about,
.nh-service-hero--contact,
.nh-service-hero--compliance,
.nh-service-hero--staff-page,
.nh-service-hero--services {
  background: linear-gradient(135deg, var(--nh-navy, #1a2d5a) 0%, var(--nh-primary, #3b559a) 100%);
}
.nh-service-hero--staff {
  background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
}
.nh-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.nh-service-hero__content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}
.nh-service-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: var(--nh-font-heading, 'Inter', sans-serif);
  color: white;
  margin: 1rem 0;
  line-height: 1.15;
}
.nh-service-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.nh-service-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Badge variants */
.nh-badge--white-outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
  background: rgba(255,255,255,0.1);
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Trust bar */
.nh-trust-bar {
  background: white;
  border-bottom: 1px solid var(--nh-border, #e2e8f0);
  padding: 2rem 0;
}
.nh-trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}
.nh-trust-item__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nh-primary, #3b559a);
  font-family: var(--nh-font-heading, 'Inter', sans-serif);
}
.nh-trust-item__label {
  font-size: 0.8rem;
  color: var(--nh-text-muted, #64748b);
  margin-top: 0.25rem;
}

/* Services grid */
.nh-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.nh-service-card {
  padding: 2rem;
  background: white;
  border: 1px solid var(--nh-border, #e2e8f0);
  border-radius: 16px;
  transition: all 0.25s ease;
}
.nh-service-card:hover {
  border-color: var(--nh-primary, #3b559a);
  box-shadow: 0 8px 24px rgba(59,85,154,0.1);
  transform: translateY(-4px);
}
.nh-service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.nh-service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nh-navy, #1a2d5a);
  margin-bottom: 0.5rem;
}
.nh-service-card__desc {
  font-size: 0.9rem;
  color: var(--nh-text-muted, #64748b);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   PAGE HEADER (About Us, Contact, etc.) - IMPROVED CONTRAST
   -------------------------------------------------------------------------- */
.nh-page-header {
  background: linear-gradient(135deg, #1a2d5a 0%, #3b559a 100%);
  padding: 3rem 0;
  color: white;
  position: relative;
}
.nh-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.nh-page-header .nh-container {
  position: relative;
  z-index: 1;
}
.nh-page-header__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nh-page-header__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  line-height: 1.6;
}
.nh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
}
.nh-breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s;
}
.nh-breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   SECTION HEADERS
   -------------------------------------------------------------------------- */
.nh-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.nh-section-header__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(59,85,154,0.1);
  color: var(--nh-primary, #3b559a);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.nh-section-header__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--nh-navy, #1a2d5a);
  margin-bottom: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.nh-section-header__sub {
  font-size: 1rem;
  color: var(--nh-text-muted, #64748b);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Section variants */
.nh-section--alt {
  background: var(--nh-surface, #f8fafc);
}

/* --------------------------------------------------------------------------
   CTA BANNER
   -------------------------------------------------------------------------- */
.nh-cta-banner {
  background: linear-gradient(135deg, #1a2d5a 0%, #3b559a 100%);
  padding: 4rem 0;
  color: white;
  text-align: center;
}
.nh-cta-banner__content {
  max-width: 600px;
  margin: 0 auto;
}
.nh-cta-banner__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: white;
}
.nh-cta-banner__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.nh-cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button variants for CTA */
.nh-btn--white {
  background: white;
  color: var(--nh-navy, #1a2d5a);
  border: 2px solid white;
}
.nh-btn--white:hover {
  background: rgba(255,255,255,0.9);
}
.nh-btn--white-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.nh-btn--white-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.nh-btn--outline {
  background: transparent;
  color: var(--nh-primary, #3b559a);
  border: 2px solid var(--nh-border, #e2e8f0);
}
.nh-btn--outline:hover {
  border-color: var(--nh-primary, #3b559a);
  background: rgba(59,85,154,0.05);
}

/* --------------------------------------------------------------------------
   IMPACT/STATS GRID
   -------------------------------------------------------------------------- */
.nh-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.nh-impact-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border: 1px solid var(--nh-border, #e2e8f0);
  border-radius: 16px;
  transition: all 0.25s ease;
}
.nh-impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nh-impact-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.nh-impact-card__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nh-primary, #3b559a);
  font-family: var(--nh-font-heading, 'Inter', sans-serif);
}
.nh-impact-card__label {
  font-size: 0.875rem;
  color: var(--nh-text-muted, #64748b);
  margin-top: 0.25rem;
}

/* Two column cards */
.nh-two-col-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   MICRO-INTERACTIONS & ANIMATIONS (from 404 page)
   -------------------------------------------------------------------------- */
/* Fade up on scroll */
.nh-animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.nh-animate-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.nh-animate-delay-1 { transition-delay: 0.1s; }
.nh-animate-delay-2 { transition-delay: 0.2s; }
.nh-animate-delay-3 { transition-delay: 0.3s; }
.nh-animate-delay-4 { transition-delay: 0.4s; }

/* Hover lift effect */
.nh-hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nh-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* Pulse animation for icons */
@keyframes nh-gentle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.nh-pulse-hover:hover {
  animation: nh-gentle-pulse 0.6s ease-in-out;
}

/* Float animation */
@keyframes nh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.nh-float {
  animation: nh-float 3s ease-in-out infinite;
}

/* Counter animation placeholder */
.nh-counter[data-target] {
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   UTILITY: Hide on extra small screens (below 500px)
   -------------------------------------------------------------------------- */
@media (max-width: 500px) {
  .nh-hide-xs {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   LOGIN PAGE IMPROVEMENTS
   -------------------------------------------------------------------------- */
.nh-auth-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.nh-auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 900px) {
  .nh-auth-card {
    padding: 4rem 3rem;
  }
}
.nh-auth-header {
  text-align: center;
  margin-bottom: 2rem;
}
.nh-auth-logo {
  margin-bottom: 1.5rem;
}
.nh-auth-logo svg {
  width: 56px;
  height: 56px;
}
.nh-auth-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--nh-navy, #1a2d5a);
  margin-bottom: 0.5rem;
}
.nh-auth-subtitle {
  font-size: 0.9375rem;
  color: var(--nh-text-muted, #64748b);
}
.nh-auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nh-border, #e2e8f0);
}
.nh-auth-footer p {
  font-size: 0.875rem;
  color: var(--nh-text-muted, #64748b);
}
.nh-auth-aside {
  display: none;
  background: linear-gradient(135deg, var(--nh-navy, #1a2d5a) 0%, var(--nh-primary, #3b559a) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .nh-auth-aside {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.nh-auth-aside::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -100px;
  right: -100px;
}
.nh-auth-aside::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -50px;
  left: -50px;
}
.nh-auth-aside-content {
  position: relative;
  z-index: 1;
  padding: 3rem;
  max-width: 420px;
}
.nh-auth-aside-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.nh-auth-aside-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.nh-auth-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.nh-auth-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.nh-benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.nh-auth-benefits strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.nh-auth-benefits p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.5;
}

/* Form field improvements */
.nh-form-field {
  margin-bottom: 1.25rem;
}
.nh-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nh-navy, #1a2d5a);
  margin-bottom: 0.5rem;
}
.nh-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.nh-link-sm {
  font-size: 0.8125rem;
  color: var(--nh-primary, #3b559a);
  text-decoration: none;
}
.nh-link-sm:hover {
  text-decoration: underline;
}
.nh-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nh-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--nh-text-muted, #64748b);
  pointer-events: none;
}
.nh-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 2px solid var(--nh-border, #e2e8f0);
  border-radius: 10px;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}
.nh-input:focus {
  outline: none;
  border-color: var(--nh-primary, #3b559a);
  box-shadow: 0 0 0 3px rgba(59,85,154,0.1);
}
.nh-input::placeholder {
  color: #94a3b8;
}
.nh-input-toggle-pw {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--nh-text-muted, #64748b);
  cursor: pointer;
  padding: 0.25rem;
}
.nh-input-toggle-pw:hover {
  color: var(--nh-primary, #3b559a);
}
.nh-form-check {
  margin-bottom: 1.5rem;
}
.nh-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--nh-text, #334155);
  cursor: pointer;
}
.nh-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--nh-primary, #3b559a);
}
.nh-alert {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.nh-alert-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.nh-link {
  color: var(--nh-primary, #3b559a);
  font-weight: 600;
  text-decoration: none;
}
.nh-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   END OF EXTENSION STYLES
   ========================================================================== */
