/* ============================================================
   Nimbus Framework - main.css
   Custom Bootstrap-like CSS framework for web hosting sites
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (THEMING)
   ============================================================ */

:root {
  /* Brand Colors */
  --hu-primary: #2563eb;
  --hu-primary-hover: #1d4ed8;
  --hu-primary-active: #1e40af;
  --hu-primary-light: #dbeafe;
  --hu-primary-lighter: #eff6ff;
  --hu-primary-dark: #1e3a8a;

  --hu-secondary: #6b7280;
  --hu-secondary-hover: #4b5563;
  --hu-secondary-light: #f3f4f6;

  --hu-success: #16a34a;
  --hu-success-hover: #15803d;
  --hu-success-light: #dcfce7;
  --hu-success-lighter: #f0fdf4;
  --hu-success-dark: #166534;

  --hu-warning: #f59e0b;
  --hu-warning-hover: #d97706;
  --hu-warning-light: #fef3c7;
  --hu-warning-lighter: #fffbeb;
  --hu-warning-dark: #92400e;

  --hu-danger: #dc2626;
  --hu-danger-hover: #b91c1c;
  --hu-danger-light: #fee2e2;
  --hu-danger-lighter: #fef2f2;
  --hu-danger-dark: #991b1b;

  --hu-info: #0ea5e9;
  --hu-info-hover: #0284c7;
  --hu-info-light: #e0f2fe;
  --hu-info-lighter: #f0f9ff;
  --hu-info-dark: #075985;

  /* Neutral Palette */
  --hu-gray-50: #fafafa;
  --hu-gray-100: #f5f5f5;
  --hu-gray-200: #e5e5e5;
  --hu-gray-300: #d4d4d4;
  --hu-gray-400: #a3a3a3;
  --hu-gray-500: #737373;
  --hu-gray-600: #525252;
  --hu-gray-700: #404040;
  --hu-gray-800: #262626;
  --hu-gray-900: #171717;
  --hu-gray-950: #0a0a0a;

  /* Semantic - Light Theme */
  --hu-bg: #ffffff;
  --hu-bg-secondary: #fafafa;
  --hu-bg-tertiary: #f5f5f5;
  --hu-bg-inset: #f3f4f6;
  --hu-bg-subtle: #e5e7eb;
  --hu-text: #171717;
  --hu-text-secondary: #525252;
  --hu-text-muted: #a3a3a3;
  --hu-text-inverse: #ffffff;
  --hu-border: #e5e5e5;
  --hu-border-strong: #d4d4d4;
  --hu-border-subtle: #f0f0f0;
  --hu-ring: rgba(37, 99, 235, 0.4);

  /* Spacing Scale (4px base) */
  --hu-space-0: 0;
  --hu-space-px: 1px;
  --hu-space-0-5: 0.125rem;
  --hu-space-1: 0.25rem;
  --hu-space-1-5: 0.375rem;
  --hu-space-2: 0.5rem;
  --hu-space-2-5: 0.625rem;
  --hu-space-3: 0.75rem;
  --hu-space-3-5: 0.875rem;
  --hu-space-4: 1rem;
  --hu-space-5: 1.25rem;
  --hu-space-6: 1.5rem;
  --hu-space-7: 1.75rem;
  --hu-space-8: 2rem;
  --hu-space-9: 2.25rem;
  --hu-space-10: 2.5rem;
  --hu-space-11: 2.75rem;
  --hu-space-12: 3rem;
  --hu-space-14: 3.5rem;
  --hu-space-16: 4rem;
  --hu-space-20: 5rem;
  --hu-space-24: 6rem;
  --hu-space-28: 7rem;
  --hu-space-32: 8rem;

  /* Typography */
  --hu-font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --hu-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --hu-font-display: 'Inter', var(--hu-font-sans);

  --hu-text-xs: 0.75rem;
  --hu-text-sm: 0.875rem;
  --hu-text-base: 1rem;
  --hu-text-lg: 1.125rem;
  --hu-text-xl: 1.25rem;
  --hu-text-2xl: 1.5rem;
  --hu-text-3xl: 1.875rem;
  --hu-text-4xl: 2.25rem;
  --hu-text-5xl: 3rem;
  --hu-text-6xl: 3.75rem;

  --hu-leading-none: 1;
  --hu-leading-tight: 1.25;
  --hu-leading-snug: 1.375;
  --hu-leading-normal: 1.5;
  --hu-leading-relaxed: 1.625;
  --hu-leading-loose: 2;

  --hu-tracking-tight: -0.025em;
  --hu-tracking-normal: 0;
  --hu-tracking-wide: 0.025em;

  /* Font Weights */
  --hu-font-light: 300;
  --hu-font-normal: 400;
  --hu-font-medium: 500;
  --hu-font-semibold: 600;
  --hu-font-bold: 700;
  --hu-font-extrabold: 800;

  /* Border Radius */
  --hu-radius-none: 0;
  --hu-radius-sm: 0.125rem;
  --hu-radius-md: 0.375rem;
  --hu-radius-lg: 0.5rem;
  --hu-radius-xl: 0.75rem;
  --hu-radius-2xl: 1rem;
  --hu-radius-3xl: 1.5rem;
  --hu-radius-full: 9999px;

  /* Shadows */
  --hu-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --hu-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --hu-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --hu-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --hu-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --hu-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --hu-shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  --hu-shadow-none: 0 0 0 0 transparent;

  /* Ring */
  --hu-ring-width: 3px;
  --hu-ring-offset: 2px;

  /* Transitions */
  --hu-duration-fast: 100ms;
  --hu-duration-base: 150ms;
  --hu-duration-normal: 200ms;
  --hu-duration-slow: 300ms;
  --hu-duration-slower: 500ms;
  --hu-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hu-ease-in: cubic-bezier(0.4, 0, 1, 1);
  --hu-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --hu-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --hu-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --hu-z-behind: -1;
  --hu-z-base: 0;
  --hu-z-dropdown: 100;
  --hu-z-sticky: 200;
  --hu-z-fixed: 300;
  --hu-z-drawer: 400;
  --hu-z-modal-backdrop: 500;
  --hu-z-modal: 600;
  --hu-z-popover: 700;
  --hu-z-tooltip: 800;
  --hu-z-toast: 900;

  /* Layout */
  --hu-container-sm: 640px;
  --hu-container-md: 768px;
  --hu-container-lg: 1024px;
  --hu-container-xl: 1280px;
  --hu-container-2xl: 1440px;
  --hu-container-padding: var(--hu-space-4);
  --hu-header-height: 4rem;
  --hu-sidebar-width: 16rem;
  --hu-sidebar-collapsed-width: 4rem;
}

/* ============================================================
   2. DARK THEME
   ============================================================ */

[data-theme="dark"] {
  --hu-bg: #0a0a0a;
  --hu-bg-secondary: #141414;
  --hu-bg-tertiary: #1a1a1a;
  --hu-bg-inset: #171717;
  --hu-bg-subtle: #262626;
  --hu-text: #fafafa;
  --hu-text-secondary: #a3a3a3;
  --hu-text-muted: #737373;
  --hu-text-inverse: #171717;
  --hu-border: #262626;
  --hu-border-strong: #404040;
  --hu-border-subtle: #1f1f1f;
  --hu-ring: rgba(96, 165, 250, 0.4);

  --hu-primary: #60a5fa;
  --hu-primary-hover: #93bbfd;
  --hu-primary-active: #3b82f6;
  --hu-primary-light: #1e3a5f;
  --hu-primary-lighter: #172554;
  --hu-primary-dark: #93c5fd;

  --hu-success-light: #14532d;
  --hu-success-lighter: #052e16;
  --hu-warning-light: #713f12;
  --hu-warning-lighter: #422006;
  --hu-danger-light: #7f1d1d;
  --hu-danger-lighter: #450a0a;
  --hu-info-light: #0c4a6e;
  --hu-info-lighter: #082f49;

  --hu-gray-50: #171717;
  --hu-gray-100: #262626;
  --hu-gray-200: #404040;
  --hu-gray-300: #525252;
  --hu-gray-400: #737373;
  --hu-gray-500: #a3a3a3;
  --hu-gray-600: #d4d4d4;
  --hu-gray-700: #e5e5e5;
  --hu-gray-800: #f5f5f5;
  --hu-gray-900: #fafafa;

  --hu-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
  --hu-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --hu-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --hu-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.4);
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hu-header-height) + var(--hu-space-8));
}

body {
  font-family: var(--hu-font-sans);
  font-size: var(--hu-text-base);
  line-height: var(--hu-leading-normal);
  color: var(--hu-text);
  background-color: var(--hu-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--hu-duration-slow) var(--hu-ease),
              color var(--hu-duration-slow) var(--hu-ease);
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}

img, video { height: auto; }

a {
  color: var(--hu-primary);
  text-decoration: none;
  transition: color var(--hu-duration-base) var(--hu-ease);
}

a:hover { color: var(--hu-primary-hover); }

::selection {
  background-color: var(--hu-primary);
  color: var(--hu-text-inverse);
}

:focus-visible {
  outline: var(--hu-ring-width) solid var(--hu-ring);
  outline-offset: var(--hu-ring-offset);
}

table {
  border-collapse: collapse;
  width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--hu-font-bold);
  line-height: var(--hu-leading-tight);
  color: var(--hu-text);
}

h1 { font-size: var(--hu-text-4xl); letter-spacing: var(--hu-tracking-tight); }
h2 { font-size: var(--hu-text-3xl); letter-spacing: var(--hu-tracking-tight); }
h3 { font-size: var(--hu-text-2xl); }
h4 { font-size: var(--hu-text-xl); }
h5 { font-size: var(--hu-text-lg); }
h6 { font-size: var(--hu-text-base); font-weight: var(--hu-font-semibold); }

p { margin-bottom: var(--hu-space-4); color: var(--hu-text-secondary); }
p:last-child { margin-bottom: 0; }

hr {
  border: none;
  border-top: 1px solid var(--hu-border);
  margin: var(--hu-space-8) 0;
}

code, kbd, samp, pre {
  font-family: var(--hu-font-mono);
  font-size: 0.9em;
}

code {
  padding: 0.125em 0.375em;
  font-size: 0.875em;
  background: var(--hu-bg-tertiary);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-md);
  color: var(--hu-danger);
}

kbd {
  padding: 0.125em 0.375em;
  font-size: 0.875em;
  background: var(--hu-bg-tertiary);
  border: 1px solid var(--hu-border);
  border-bottom-width: 2px;
  border-radius: var(--hu-radius-md);
  box-shadow: inset 0 -1px 0 var(--hu-border);
}

pre {
  overflow-x: auto;
  padding: var(--hu-space-4);
  font-size: var(--hu-text-sm);
  line-height: var(--hu-leading-relaxed);
  background: var(--hu-bg-tertiary);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-lg);
}

pre code {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}

blockquote {
  padding-left: var(--hu-space-4);
  border-left: 4px solid var(--hu-primary);
  font-style: italic;
  color: var(--hu-text-secondary);
}

mark {
  padding: 0.125em 0.25em;
  background: var(--hu-warning-light);
  border-radius: var(--hu-radius-sm);
}

small { font-size: var(--hu-text-sm); }

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

/* ============================================================
   4. LAYOUT - Container
   ============================================================ */

.hu-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--hu-container-padding);
  padding-right: var(--hu-container-padding);
}

.hu-container-sm { max-width: var(--hu-container-sm); }
.hu-container-md { max-width: var(--hu-container-md); }
.hu-container-lg { max-width: var(--hu-container-lg); }
.hu-container-xl { max-width: var(--hu-container-xl); }
.hu-container-2xl { max-width: var(--hu-container-2xl); }

/* ============================================================
   5. GRID SYSTEM
   ============================================================ */

.hu-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--hu-space-3) * -1);
  margin-right: calc(var(--hu-space-3) * -1);
}

.hu-row > * {
  padding-left: var(--hu-space-3);
  padding-right: var(--hu-space-3);
  width: 100%;
}

.hu-col-1 { width: 8.333333%; }
.hu-col-2 { width: 16.666667%; }
.hu-col-3 { width: 25%; }
.hu-col-4 { width: 33.333333%; }
.hu-col-5 { width: 41.666667%; }
.hu-col-6 { width: 50%; }
.hu-col-7 { width: 58.333333%; }
.hu-col-8 { width: 66.666667%; }
.hu-col-9 { width: 75%; }
.hu-col-10 { width: 83.333333%; }
.hu-col-11 { width: 91.666667%; }
.hu-col-12 { width: 100%; }

@media (min-width: 640px) {
  .hu-col-sm-1 { width: 8.333333%; }
  .hu-col-sm-2 { width: 16.666667%; }
  .hu-col-sm-3 { width: 25%; }
  .hu-col-sm-4 { width: 33.333333%; }
  .hu-col-sm-5 { width: 41.666667%; }
  .hu-col-sm-6 { width: 50%; }
  .hu-col-sm-7 { width: 58.333333%; }
  .hu-col-sm-8 { width: 66.666667%; }
  .hu-col-sm-9 { width: 75%; }
  .hu-col-sm-10 { width: 83.333333%; }
  .hu-col-sm-11 { width: 91.666667%; }
  .hu-col-sm-12 { width: 100%; }
}

@media (min-width: 768px) {
  .hu-col-md-1 { width: 8.333333%; }
  .hu-col-md-2 { width: 16.666667%; }
  .hu-col-md-3 { width: 25%; }
  .hu-col-md-4 { width: 33.333333%; }
  .hu-col-md-5 { width: 41.666667%; }
  .hu-col-md-6 { width: 50%; }
  .hu-col-md-7 { width: 58.333333%; }
  .hu-col-md-8 { width: 66.666667%; }
  .hu-col-md-9 { width: 75%; }
  .hu-col-md-10 { width: 83.333333%; }
  .hu-col-md-11 { width: 91.666667%; }
  .hu-col-md-12 { width: 100%; }
}

@media (min-width: 1024px) {
  .hu-col-lg-1 { width: 8.333333%; }
  .hu-col-lg-2 { width: 16.666667%; }
  .hu-col-lg-3 { width: 25%; }
  .hu-col-lg-4 { width: 33.333333%; }
  .hu-col-lg-5 { width: 41.666667%; }
  .hu-col-lg-6 { width: 50%; }
  .hu-col-lg-7 { width: 58.333333%; }
  .hu-col-lg-8 { width: 66.666667%; }
  .hu-col-lg-9 { width: 75%; }
  .hu-col-lg-10 { width: 83.333333%; }
  .hu-col-lg-11 { width: 91.666667%; }
  .hu-col-lg-12 { width: 100%; }
}

@media (min-width: 1280px) {
  .hu-col-xl-1 { width: 8.333333%; }
  .hu-col-xl-2 { width: 16.666667%; }
  .hu-col-xl-3 { width: 25%; }
  .hu-col-xl-4 { width: 33.333333%; }
  .hu-col-xl-5 { width: 41.666667%; }
  .hu-col-xl-6 { width: 50%; }
  .hu-col-xl-7 { width: 58.333333%; }
  .hu-col-xl-8 { width: 66.666667%; }
  .hu-col-xl-9 { width: 75%; }
  .hu-col-xl-10 { width: 83.333333%; }
  .hu-col-xl-11 { width: 91.666667%; }
  .hu-col-xl-12 { width: 100%; }
}

/* Flex-based responsive grid (preferred) */
.hu-grid {
  display: grid;
  gap: var(--hu-space-6);
}

.hu-grid-2 { grid-template-columns: repeat(2, 1fr); }
.hu-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hu-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .hu-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hu-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hu-grid-4, .hu-grid-3, .hu-grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   6. DISPLAY UTILITIES
   ============================================================ */

.hu-hidden { display: none !important; }
.hu-block { display: block; }
.hu-inline-block { display: inline-block; }
.hu-inline { display: inline; }
.hu-flex { display: flex; }
.hu-inline-flex { display: inline-flex; }
.hu-grid-display { display: grid; }
.hu-inline-grid { display: inline-grid; }

@media (min-width: 640px) { .hu-sm-flex { display: flex; } }
@media (min-width: 768px) { .hu-md-flex { display: flex; } }
@media (min-width: 1024px) { .hu-lg-flex { display: flex; } }
@media (min-width: 1280px) { .hu-xl-flex { display: flex; } }

/* ============================================================
   7. FLEXBOX UTILITIES
   ============================================================ */

.hu-flex-row { flex-direction: row; }
.hu-flex-col { flex-direction: column; }
.hu-flex-row-reverse { flex-direction: row-reverse; }
.hu-flex-col-reverse { flex-direction: column-reverse; }
.hu-flex-wrap { flex-wrap: wrap; }
.hu-flex-nowrap { flex-wrap: nowrap; }
.hu-flex-1 { flex: 1 1 0%; }
.hu-flex-auto { flex: 1 1 auto; }
.hu-flex-initial { flex: 0 1 auto; }
.hu-flex-none { flex: none; }
.hu-flex-grow { flex-grow: 1; }
.hu-flex-grow-0 { flex-grow: 0; }
.hu-flex-shrink { flex-shrink: 1; }
.hu-flex-shrink-0 { flex-shrink: 0; }

.hu-items-start { align-items: flex-start; }
.hu-items-end { align-items: flex-end; }
.hu-items-center { align-items: center; }
.hu-items-baseline { align-items: baseline; }
.hu-items-stretch { align-items: stretch; }

.hu-justify-start { justify-content: flex-start; }
.hu-justify-end { justify-content: flex-end; }
.hu-justify-center { justify-content: center; }
.hu-justify-between { justify-content: space-between; }
.hu-justify-around { justify-content: space-around; }
.hu-justify-evenly { justify-content: space-evenly; }

.hu-self-start { align-self: flex-start; }
.hu-self-end { align-self: flex-end; }
.hu-self-center { align-self: center; }
.hu-self-stretch { align-self: stretch; }

/* Gap */
.hu-gap-0 { gap: var(--hu-space-0); }
.hu-gap-1 { gap: var(--hu-space-1); }
.hu-gap-2 { gap: var(--hu-space-2); }
.hu-gap-3 { gap: var(--hu-space-3); }
.hu-gap-4 { gap: var(--hu-space-4); }
.hu-gap-5 { gap: var(--hu-space-5); }
.hu-gap-6 { gap: var(--hu-space-6); }
.hu-gap-8 { gap: var(--hu-space-8); }
.hu-gap-10 { gap: var(--hu-space-10); }
.hu-gap-12 { gap: var(--hu-space-12); }

/* ============================================================
   8. SPACING UTILITIES
   ============================================================ */

/* Margins */
.hu-m-0 { margin: var(--hu-space-0); }
.hu-m-1 { margin: var(--hu-space-1); }
.hu-m-2 { margin: var(--hu-space-2); }
.hu-m-3 { margin: var(--hu-space-3); }
.hu-m-4 { margin: var(--hu-space-4); }
.hu-m-5 { margin: var(--hu-space-5); }
.hu-m-6 { margin: var(--hu-space-6); }
.hu-m-8 { margin: var(--hu-space-8); }
.hu-m-auto { margin: auto; }

.hu-mx-auto { margin-left: auto; margin-right: auto; }
.hu-mt-0 { margin-top: var(--hu-space-0); }
.hu-mt-1 { margin-top: var(--hu-space-1); }
.hu-mt-2 { margin-top: var(--hu-space-2); }
.hu-mt-3 { margin-top: var(--hu-space-3); }
.hu-mt-4 { margin-top: var(--hu-space-4); }
.hu-mt-5 { margin-top: var(--hu-space-5); }
.hu-mt-6 { margin-top: var(--hu-space-6); }
.hu-mt-8 { margin-top: var(--hu-space-8); }
.hu-mt-10 { margin-top: var(--hu-space-10); }
.hu-mt-12 { margin-top: var(--hu-space-12); }
.hu-mt-16 { margin-top: var(--hu-space-16); }
.hu-mt-20 { margin-top: var(--hu-space-20); }
.hu-mt-24 { margin-top: var(--hu-space-24); }
.hu-mb-0 { margin-bottom: var(--hu-space-0); }
.hu-mb-1 { margin-bottom: var(--hu-space-1); }
.hu-mb-2 { margin-bottom: var(--hu-space-2); }
.hu-mb-3 { margin-bottom: var(--hu-space-3); }
.hu-mb-4 { margin-bottom: var(--hu-space-4); }
.hu-mb-5 { margin-bottom: var(--hu-space-5); }
.hu-mb-6 { margin-bottom: var(--hu-space-6); }
.hu-mb-8 { margin-bottom: var(--hu-space-8); }
.hu-mb-10 { margin-bottom: var(--hu-space-10); }
.hu-mb-12 { margin-bottom: var(--hu-space-12); }
.hu-ml-0 { margin-left: var(--hu-space-0); }
.hu-ml-1 { margin-left: var(--hu-space-1); }
.hu-ml-2 { margin-left: var(--hu-space-2); }
.hu-ml-3 { margin-left: var(--hu-space-3); }
.hu-ml-4 { margin-left: var(--hu-space-4); }
.hu-ml-auto { margin-left: auto; }
.hu-mr-0 { margin-right: var(--hu-space-0); }
.hu-mr-1 { margin-right: var(--hu-space-1); }
.hu-mr-2 { margin-right: var(--hu-space-2); }
.hu-mr-3 { margin-right: var(--hu-space-3); }
.hu-mr-4 { margin-right: var(--hu-space-4); }
.hu-mr-auto { margin-right: auto; }

/* Padding */
.hu-p-0 { padding: var(--hu-space-0); }
.hu-p-1 { padding: var(--hu-space-1); }
.hu-p-2 { padding: var(--hu-space-2); }
.hu-p-3 { padding: var(--hu-space-3); }
.hu-p-4 { padding: var(--hu-space-4); }
.hu-p-5 { padding: var(--hu-space-5); }
.hu-p-6 { padding: var(--hu-space-6); }
.hu-p-8 { padding: var(--hu-space-8); }
.hu-p-10 { padding: var(--hu-space-10); }
.hu-p-12 { padding: var(--hu-space-12); }

.hu-px-0 { padding-left: var(--hu-space-0); padding-right: var(--hu-space-0); }
.hu-px-1 { padding-left: var(--hu-space-1); padding-right: var(--hu-space-1); }
.hu-px-2 { padding-left: var(--hu-space-2); padding-right: var(--hu-space-2); }
.hu-px-3 { padding-left: var(--hu-space-3); padding-right: var(--hu-space-3); }
.hu-px-4 { padding-left: var(--hu-space-4); padding-right: var(--hu-space-4); }
.hu-px-5 { padding-left: var(--hu-space-5); padding-right: var(--hu-space-5); }
.hu-px-6 { padding-left: var(--hu-space-6); padding-right: var(--hu-space-6); }
.hu-px-8 { padding-left: var(--hu-space-8); padding-right: var(--hu-space-8); }

.hu-py-0 { padding-top: var(--hu-space-0); padding-bottom: var(--hu-space-0); }
.hu-py-1 { padding-top: var(--hu-space-1); padding-bottom: var(--hu-space-1); }
.hu-py-2 { padding-top: var(--hu-space-2); padding-bottom: var(--hu-space-2); }
.hu-py-3 { padding-top: var(--hu-space-3); padding-bottom: var(--hu-space-3); }
.hu-py-4 { padding-top: var(--hu-space-4); padding-bottom: var(--hu-space-4); }
.hu-py-5 { padding-top: var(--hu-space-5); padding-bottom: var(--hu-space-5); }
.hu-py-6 { padding-top: var(--hu-space-6); padding-bottom: var(--hu-space-6); }
.hu-py-8 { padding-top: var(--hu-space-8); padding-bottom: var(--hu-space-8); }
.hu-py-10 { padding-top: var(--hu-space-10); padding-bottom: var(--hu-space-10); }
.hu-py-12 { padding-top: var(--hu-space-12); padding-bottom: var(--hu-space-12); }
.hu-py-16 { padding-top: var(--hu-space-16); padding-bottom: var(--hu-space-16); }
.hu-py-20 { padding-top: var(--hu-space-20); padding-bottom: var(--hu-space-20); }

.hu-pt-0 { padding-top: var(--hu-space-0); }
.hu-pt-4 { padding-top: var(--hu-space-4); }
.hu-pt-6 { padding-top: var(--hu-space-6); }
.hu-pt-8 { padding-top: var(--hu-space-8); }
.hu-pb-0 { padding-bottom: var(--hu-space-0); }
.hu-pb-4 { padding-bottom: var(--hu-space-4); }
.hu-pb-6 { padding-bottom: var(--hu-space-6); }
.hu-pb-8 { padding-bottom: var(--hu-space-8); }

/* ============================================================
   9. TYPOGRAPHY UTILITIES
   ============================================================ */

.hu-text-xs { font-size: var(--hu-text-xs); line-height: 1rem; }
.hu-text-sm { font-size: var(--hu-text-sm); line-height: 1.25rem; }
.hu-text-base { font-size: var(--hu-text-base); line-height: 1.5rem; }
.hu-text-lg { font-size: var(--hu-text-lg); line-height: 1.75rem; }
.hu-text-xl { font-size: var(--hu-text-xl); line-height: 1.75rem; }
.hu-text-2xl { font-size: var(--hu-text-2xl); line-height: 2rem; }
.hu-text-3xl { font-size: var(--hu-text-3xl); line-height: 2.25rem; }
.hu-text-4xl { font-size: var(--hu-text-4xl); line-height: 2.5rem; }
.hu-text-5xl { font-size: var(--hu-text-5xl); line-height: 1; }
.hu-text-6xl { font-size: var(--hu-text-6xl); line-height: 1; }

.hu-font-light { font-weight: var(--hu-font-light); }
.hu-font-normal { font-weight: var(--hu-font-normal); }
.hu-font-medium { font-weight: var(--hu-font-medium); }
.hu-font-semibold { font-weight: var(--hu-font-semibold); }
.hu-font-bold { font-weight: var(--hu-font-bold); }
.hu-font-extrabold { font-weight: var(--hu-font-extrabold); }

.hu-leading-none { line-height: var(--hu-leading-none); }
.hu-leading-tight { line-height: var(--hu-leading-tight); }
.hu-leading-snug { line-height: var(--hu-leading-snug); }
.hu-leading-normal { line-height: var(--hu-leading-normal); }
.hu-leading-relaxed { line-height: var(--hu-leading-relaxed); }
.hu-leading-loose { line-height: var(--hu-leading-loose); }

.hu-tracking-tight { letter-spacing: var(--hu-tracking-tight); }
.hu-tracking-normal { letter-spacing: var(--hu-tracking-normal); }
.hu-tracking-wide { letter-spacing: var(--hu-tracking-wide); }

.hu-text-left { text-align: left; }
.hu-text-center { text-align: center; }
.hu-text-right { text-align: right; }

.hu-uppercase { text-transform: uppercase; }
.hu-lowercase { text-transform: lowercase; }
.hu-capitalize { text-transform: capitalize; }
.hu-normal-case { text-transform: none; }

.hu-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hu-line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hu-line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hu-whitespace-nowrap { white-space: nowrap; }
.hu-break-words { overflow-wrap: break-word; }
.hu-break-all { word-break: break-all; }

/* ============================================================
   10. COLOR UTILITIES
   ============================================================ */

.hu-text-primary { color: var(--hu-primary); }
.hu-text-success { color: var(--hu-success); }
.hu-text-warning { color: var(--hu-warning); }
.hu-text-danger { color: var(--hu-danger); }
.hu-text-info { color: var(--hu-info); }
.hu-text-secondary { color: var(--hu-text-secondary); }
.hu-text-muted { color: var(--hu-text-muted); }
.hu-text-inverse { color: var(--hu-text-inverse); }
.hu-text-current { color: currentColor; }

.hu-bg-primary { background-color: var(--hu-primary); }
.hu-bg-success { background-color: var(--hu-success); }
.hu-bg-warning { background-color: var(--hu-warning); }
.hu-bg-danger { background-color: var(--hu-danger); }
.hu-bg-info { background-color: var(--hu-info); }
.hu-bg-secondary { background-color: var(--hu-secondary); }
.hu-bg-subtle { background-color: var(--hu-bg-subtle); }
.hu-bg-inset { background-color: var(--hu-bg-inset); }

/* ============================================================
   11. BORDER UTILITIES
   ============================================================ */

.hu-border { border: 1px solid var(--hu-border); }
.hu-border-top { border-top: 1px solid var(--hu-border); }
.hu-border-bottom { border-bottom: 1px solid var(--hu-border); }
.hu-border-left { border-left: 1px solid var(--hu-border); }
.hu-border-right { border-right: 1px solid var(--hu-border); }
.hu-border-0 { border: 0; }
.hu-border-t-0 { border-top: 0; }
.hu-border-b-0 { border-bottom: 0; }
.hu-border-l-0 { border-left: 0; }
.hu-border-r-0 { border-right: 0; }

.hu-border-primary { border-color: var(--hu-primary); }
.hu-border-success { border-color: var(--hu-success); }
.hu-border-warning { border-color: var(--hu-warning); }
.hu-border-danger { border-color: var(--hu-danger); }

.hu-rounded-none { border-radius: var(--hu-radius-none); }
.hu-rounded-sm { border-radius: var(--hu-radius-sm); }
.hu-rounded { border-radius: var(--hu-radius-md); }
.hu-rounded-md { border-radius: var(--hu-radius-md); }
.hu-rounded-lg { border-radius: var(--hu-radius-lg); }
.hu-rounded-xl { border-radius: var(--hu-radius-xl); }
.hu-rounded-2xl { border-radius: var(--hu-radius-2xl); }
.hu-rounded-3xl { border-radius: var(--hu-radius-3xl); }
.hu-rounded-full { border-radius: var(--hu-radius-full); }

.hu-border-t-none { border-top: none; }
.hu-border-b-none { border-bottom: none; }

/* ============================================================
   12. SHADOW UTILITIES
   ============================================================ */

.hu-shadow-none { box-shadow: var(--hu-shadow-none); }
.hu-shadow-xs { box-shadow: var(--hu-shadow-xs); }
.hu-shadow-sm { box-shadow: var(--hu-shadow-sm); }
.hu-shadow { box-shadow: var(--hu-shadow-md); }
.hu-shadow-md { box-shadow: var(--hu-shadow-md); }
.hu-shadow-lg { box-shadow: var(--hu-shadow-lg); }
.hu-shadow-xl { box-shadow: var(--hu-shadow-xl); }
.hu-shadow-2xl { box-shadow: var(--hu-shadow-2xl); }
.hu-shadow-inner { box-shadow: var(--hu-shadow-inner); }

/* ============================================================
   13. OVERFLOW & POSITION
   ============================================================ */

.hu-overflow-auto { overflow: auto; }
.hu-overflow-hidden { overflow: hidden; }
.hu-overflow-visible { overflow: visible; }
.hu-overflow-scroll { overflow: scroll; }
.hu-overflow-x-auto { overflow-x: auto; }
.hu-overflow-y-auto { overflow-y: auto; }

.hu-static { position: static; }
.hu-fixed { position: fixed; }
.hu-absolute { position: absolute; }
.hu-relative { position: relative; }
.hu-sticky { position: sticky; }

.hu-inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.hu-top-0 { top: 0; }
.hu-right-0 { right: 0; }
.hu-bottom-0 { bottom: 0; }
.hu-left-0 { left: 0; }
.hu-z-0 { z-index: var(--hu-z-base); }
.hu-z-10 { z-index: var(--hu-z-dropdown); }
.hu-z-20 { z-index: var(--hu-z-sticky); }
.hu-z-30 { z-index: var(--hu-z-fixed); }
.hu-z-40 { z-index: var(--hu-z-drawer); }
.hu-z-50 { z-index: var(--hu-z-modal); }

/* ============================================================
   14. WIDTH / HEIGHT
   ============================================================ */

.hu-w-full { width: 100%; }
.hu-w-auto { width: auto; }
.hu-w-screen { width: 100vw; }
.hu-w-fit { width: fit-content; }
.hu-min-w-0 { min-width: 0; }
.hu-max-w-full { max-width: 100%; }
.hu-max-w-sm { max-width: var(--hu-container-sm); }
.hu-max-w-md { max-width: var(--hu-container-md); }
.hu-max-w-lg { max-width: var(--hu-container-lg); }
.hu-max-w-xl { max-width: var(--hu-container-xl); }

.hu-h-full { height: 100%; }
.hu-h-auto { height: auto; }
.hu-h-screen { height: 100vh; }
.hu-h-0 { height: 0; }
.hu-min-h-screen { min-height: 100vh; }

/* ============================================================
   15. BUTTONS
   ============================================================ */

.hu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hu-space-2);
  padding: 0.5rem 1rem;
  font-family: var(--hu-font-sans);
  font-size: var(--hu-text-sm);
  font-weight: var(--hu-font-medium);
  line-height: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--hu-radius-md);
  cursor: pointer;
  user-select: none;
  transition: all var(--hu-duration-base) var(--hu-ease);
  outline: none;
  position: relative;
  overflow: hidden;
}

.hu-btn:focus-visible {
  outline: var(--hu-ring-width) solid var(--hu-ring);
  outline-offset: var(--hu-ring-offset);
}

.hu-btn:disabled, .hu-btn.hu-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.hu-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* Sizes */
.hu-btn-xs { padding: 0.25rem 0.5rem; font-size: var(--hu-text-xs); line-height: 1rem; }
.hu-btn-sm { padding: 0.375rem 0.75rem; font-size: var(--hu-text-sm); }
.hu-btn-md { padding: 0.5rem 1rem; }
.hu-btn-lg { padding: 0.625rem 1.25rem; font-size: var(--hu-text-base); }
.hu-btn-xl { padding: 0.75rem 1.5rem; font-size: var(--hu-text-lg); }

/* Variants */
.hu-btn-primary {
  background-color: var(--hu-primary);
  color: var(--hu-text-inverse);
  border-color: var(--hu-primary);
}
.hu-btn-primary:hover {
  background-color: var(--hu-primary-hover);
  border-color: var(--hu-primary-hover);
}
.hu-btn-primary:active {
  background-color: var(--hu-primary-active);
  border-color: var(--hu-primary-active);
}

.hu-btn-secondary {
  background-color: var(--hu-secondary);
  color: var(--hu-text-inverse);
  border-color: var(--hu-secondary);
}
.hu-btn-secondary:hover {
  background-color: var(--hu-secondary-hover);
  border-color: var(--hu-secondary-hover);
}

.hu-btn-success {
  background-color: var(--hu-success);
  color: var(--hu-text-inverse);
  border-color: var(--hu-success);
}
.hu-btn-success:hover {
  background-color: var(--hu-success-hover);
  border-color: var(--hu-success-hover);
}

.hu-btn-danger {
  background-color: var(--hu-danger);
  color: var(--hu-text-inverse);
  border-color: var(--hu-danger);
}
.hu-btn-danger:hover {
  background-color: var(--hu-danger-hover);
  border-color: var(--hu-danger-hover);
}

.hu-btn-warning {
  background-color: var(--hu-warning);
  color: var(--hu-gray-900);
  border-color: var(--hu-warning);
}
.hu-btn-warning:hover {
  background-color: var(--hu-warning-hover);
  border-color: var(--hu-warning-hover);
}

.hu-btn-info {
  background-color: var(--hu-info);
  color: var(--hu-text-inverse);
  border-color: var(--hu-info);
}
.hu-btn-info:hover {
  background-color: var(--hu-info-hover);
  border-color: var(--hu-info-hover);
}

.hu-btn-outline {
  background-color: transparent;
  color: var(--hu-text);
  border-color: var(--hu-border-strong);
}
.hu-btn-outline:hover {
  background-color: var(--hu-bg-tertiary);
}

.hu-btn-outline-primary {
  background-color: transparent;
  color: var(--hu-primary);
  border-color: var(--hu-primary);
}
.hu-btn-outline-primary:hover {
  background-color: var(--hu-primary);
  color: var(--hu-text-inverse);
}

.hu-btn-outline-success {
  background-color: transparent;
  color: var(--hu-success);
  border-color: var(--hu-success);
}
.hu-btn-outline-success:hover {
  background-color: var(--hu-success);
  color: var(--hu-text-inverse);
}

.hu-btn-outline-danger {
  background-color: transparent;
  color: var(--hu-danger);
  border-color: var(--hu-danger);
}
.hu-btn-outline-danger:hover {
  background-color: var(--hu-danger);
  color: var(--hu-text-inverse);
}

.hu-btn-ghost {
  background-color: transparent;
  color: var(--hu-text-secondary);
  border-color: transparent;
}
.hu-btn-ghost:hover {
  background-color: var(--hu-bg-tertiary);
  color: var(--hu-text);
}

.hu-btn-link {
  background-color: transparent;
  color: var(--hu-primary);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.hu-btn-link:hover {
  text-decoration: underline;
  background-color: transparent;
}

/* Block */
.hu-btn-block {
  display: flex;
  width: 100%;
}

/* Icon button */
.hu-btn-icon {
  padding: 0.5rem;
  border-radius: var(--hu-radius-md);
}
.hu-btn-icon svg { width: 1.25rem; height: 1.25rem; }

/* Loading */
.hu-btn.hu-btn-loading { color: transparent; pointer-events: none; }
.hu-btn.hu-btn-loading::after {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: hu-spin 0.6s linear infinite;
}

/* Button group */
.hu-btn-group {
  display: inline-flex;
}
.hu-btn-group .hu-btn {
  border-radius: 0;
}
.hu-btn-group .hu-btn:first-child {
  border-top-left-radius: var(--hu-radius-md);
  border-bottom-left-radius: var(--hu-radius-md);
}
.hu-btn-group .hu-btn:last-child {
  border-top-right-radius: var(--hu-radius-md);
  border-bottom-right-radius: var(--hu-radius-md);
}
.hu-btn-group .hu-btn + .hu-btn {
  margin-left: -1px;
}

/* ============================================================
   16. CARDS
   ============================================================ */

.hu-card {
  background-color: var(--hu-bg);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-xl);
  box-shadow: var(--hu-shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--hu-duration-base) var(--hu-ease),
              border-color var(--hu-duration-base) var(--hu-ease),
              transform var(--hu-duration-base) var(--hu-ease);
}

.hu-card:hover {
  box-shadow: var(--hu-shadow-md);
}

.hu-card-hover:hover {
  box-shadow: var(--hu-shadow-lg);
  transform: translateY(-2px);
  border-color: var(--hu-border-strong);
}

.hu-card-header {
  padding: var(--hu-space-4) var(--hu-space-5);
  border-bottom: 1px solid var(--hu-border);
  background-color: var(--hu-bg-secondary);
}

.hu-card-body {
  padding: var(--hu-space-5);
}

.hu-card-footer {
  padding: var(--hu-space-4) var(--hu-space-5);
  border-top: 1px solid var(--hu-border);
  background-color: var(--hu-bg-secondary);
}

.hu-card-title {
  font-size: var(--hu-text-lg);
  font-weight: var(--hu-font-semibold);
  margin-bottom: var(--hu-space-2);
}

.hu-card-subtitle {
  font-size: var(--hu-text-sm);
  color: var(--hu-text-muted);
  margin-bottom: var(--hu-space-4);
}

.hu-card-text {
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  margin-bottom: var(--hu-space-4);
}

.hu-card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hu-card-img-bottom {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Horizontal card */
.hu-card-horizontal {
  display: flex;
  flex-direction: row;
}
.hu-card-horizontal .hu-card-body { flex: 1; }
.hu-card-horizontal .hu-card-img {
  width: 200px;
  height: auto;
  object-fit: cover;
}

/* Card group */
.hu-card-group {
  display: grid;
  gap: var(--hu-space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ============================================================
   17. FORMS - Inputs
   ============================================================ */

.hu-form-group {
  margin-bottom: var(--hu-space-4);
}

.hu-form-label {
  display: block;
  margin-bottom: var(--hu-space-1-5);
  font-size: var(--hu-text-sm);
  font-weight: var(--hu-font-medium);
  color: var(--hu-text);
}

.hu-form-label .hu-required {
  color: var(--hu-danger);
  margin-left: 2px;
}

.hu-form-hint {
  display: block;
  margin-top: var(--hu-space-1-5);
  font-size: var(--hu-text-xs);
  color: var(--hu-text-muted);
}

.hu-form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: var(--hu-text-sm);
  line-height: 1.5;
  color: var(--hu-text);
  background-color: var(--hu-bg);
  border: 1px solid var(--hu-border-strong);
  border-radius: var(--hu-radius-md);
  appearance: none;
  transition: border-color var(--hu-duration-base) var(--hu-ease),
              box-shadow var(--hu-duration-base) var(--hu-ease);
}

.hu-form-control::placeholder {
  color: var(--hu-text-muted);
}

.hu-form-control:hover {
  border-color: var(--hu-gray-400);
}

.hu-form-control:focus {
  outline: none;
  border-color: var(--hu-primary);
  box-shadow: 0 0 0 var(--hu-ring-width) var(--hu-ring);
}

.hu-form-control:disabled, .hu-form-control[readonly] {
  background-color: var(--hu-bg-tertiary);
  opacity: 0.7;
  cursor: not-allowed;
}

/* Sizes */
.hu-form-control-sm {
  padding: 0.375rem 0.5rem;
  font-size: var(--hu-text-xs);
}
.hu-form-control-lg {
  padding: 0.625rem 1rem;
  font-size: var(--hu-text-base);
}

/* Validation states */
.hu-form-control.hu-is-valid {
  border-color: var(--hu-success);
}
.hu-form-control.hu-is-valid:focus {
  box-shadow: 0 0 0 var(--hu-ring-width) rgba(22, 163, 74, 0.25);
}
.hu-form-control.hu-is-invalid {
  border-color: var(--hu-danger);
}
.hu-form-control.hu-is-invalid:focus {
  box-shadow: 0 0 0 var(--hu-ring-width) rgba(220, 38, 38, 0.25);
}
.hu-valid-feedback {
  display: block;
  margin-top: var(--hu-space-1);
  font-size: var(--hu-text-xs);
  color: var(--hu-success);
}
.hu-invalid-feedback {
  display: block;
  margin-top: var(--hu-space-1);
  font-size: var(--hu-text-xs);
  color: var(--hu-danger);
}

/* Select */
.hu-form-select {
  display: block;
  width: 100%;
  padding: 0.5rem 2.25rem 0.5rem 0.75rem;
  font-size: var(--hu-text-sm);
  line-height: 1.5;
  color: var(--hu-text);
  background-color: var(--hu-bg);
  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.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  border: 1px solid var(--hu-border-strong);
  border-radius: var(--hu-radius-md);
  appearance: none;
  transition: border-color var(--hu-duration-base) var(--hu-ease),
              box-shadow var(--hu-duration-base) var(--hu-ease);
}
.hu-form-select:focus {
  outline: none;
  border-color: var(--hu-primary);
  box-shadow: 0 0 0 var(--hu-ring-width) var(--hu-ring);
}

/* Textarea */
.hu-form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox & Radio */
.hu-form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--hu-space-2);
  margin-bottom: var(--hu-space-2);
  cursor: pointer;
}
.hu-form-check-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  accent-color: var(--hu-primary);
  cursor: pointer;
}
.hu-form-check-label {
  font-size: var(--hu-text-sm);
  color: var(--hu-text);
  cursor: pointer;
}

/* Input group */
.hu-input-group {
  display: flex;
  align-items: stretch;
}
.hu-input-group .hu-form-control {
  border-radius: 0;
  flex: 1;
}
.hu-input-group .hu-form-control:first-child { border-radius: var(--hu-radius-md) 0 0 var(--hu-radius-md); }
.hu-input-group .hu-form-control:last-child { border-radius: 0 var(--hu-radius-md) var(--hu-radius-md) 0; }

.hu-input-group-text {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  background-color: var(--hu-bg-tertiary);
  border: 1px solid var(--hu-border-strong);
  white-space: nowrap;
}
.hu-input-group-text:first-child { border-radius: var(--hu-radius-md) 0 0 var(--hu-radius-md); }
.hu-input-group-text:last-child { border-radius: 0 var(--hu-radius-md) var(--hu-radius-md) 0; }
.hu-input-group .hu-input-group-text + .hu-form-control { border-left: 0; }
.hu-input-group .hu-form-control + .hu-input-group-text { border-left: 0; }

/* Switch */
.hu-form-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--hu-space-2);
  cursor: pointer;
}
.hu-form-switch-input {
  width: 2.75rem;
  height: 1.5rem;
  accent-color: var(--hu-primary);
  cursor: pointer;
}

/* ============================================================
   18. ALERTS
   ============================================================ */

.hu-alert {
  position: relative;
  padding: var(--hu-space-3) var(--hu-space-4);
  border: 1px solid transparent;
  border-radius: var(--hu-radius-lg);
  margin-bottom: var(--hu-space-4);
  display: flex;
  gap: var(--hu-space-3);
  align-items: flex-start;
  font-size: var(--hu-text-sm);
}

.hu-alert-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 1px;
}

.hu-alert-content { flex: 1; }
.hu-alert-title {
  font-weight: var(--hu-font-semibold);
  margin-bottom: var(--hu-space-1);
}

.hu-alert-info {
  background-color: var(--hu-info-light);
  border-color: var(--hu-info);
  color: var(--hu-info-dark);
}

.hu-alert-success {
  background-color: var(--hu-success-light);
  border-color: var(--hu-success);
  color: var(--hu-success-dark);
}

.hu-alert-warning {
  background-color: var(--hu-warning-light);
  border-color: var(--hu-warning);
  color: var(--hu-warning-dark);
}

.hu-alert-danger {
  background-color: var(--hu-danger-light);
  border-color: var(--hu-danger);
  color: var(--hu-danger-dark);
}

[data-theme="dark"] .hu-alert-info { color: var(--hu-info); }
[data-theme="dark"] .hu-alert-success { color: var(--hu-success); }
[data-theme="dark"] .hu-alert-warning { color: var(--hu-warning); }
[data-theme="dark"] .hu-alert-danger { color: var(--hu-danger); }

.hu-alert-dismiss {
  position: absolute;
  top: var(--hu-space-2);
  right: var(--hu-space-2);
  display: flex;
  padding: var(--hu-space-1);
  border: none;
  background: transparent;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  border-radius: var(--hu-radius-md);
  transition: opacity var(--hu-duration-base) var(--hu-ease);
}
.hu-alert-dismiss:hover { opacity: 1; }

.hu-alert-link {
  font-weight: var(--hu-font-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   19. BADGES
   ============================================================ */

.hu-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--hu-space-1);
  padding: 0.125rem 0.625rem;
  font-size: var(--hu-text-xs);
  font-weight: var(--hu-font-medium);
  line-height: 1.25rem;
  border-radius: var(--hu-radius-full);
  white-space: nowrap;
}

.hu-badge-primary {
  background-color: var(--hu-primary-light);
  color: var(--hu-primary);
}
.hu-badge-success {
  background-color: var(--hu-success-light);
  color: var(--hu-success);
}
.hu-badge-warning {
  background-color: var(--hu-warning-light);
  color: var(--hu-warning-dark);
}
.hu-badge-danger {
  background-color: var(--hu-danger-light);
  color: var(--hu-danger);
}
.hu-badge-info {
  background-color: var(--hu-info-light);
  color: var(--hu-info-dark);
}
.hu-badge-neutral {
  background-color: var(--hu-bg-tertiary);
  color: var(--hu-text-secondary);
}

[data-theme="dark"] .hu-badge-warning { color: var(--hu-warning); }
[data-theme="dark"] .hu-badge-info { color: var(--hu-info); }

/* Dot badge (for status) */
.hu-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hu-badge-online .hu-badge-dot { background-color: var(--hu-success); }
.hu-badge-offline .hu-badge-dot { background-color: var(--hu-danger); }
.hu-badge-pending .hu-badge-dot { background-color: var(--hu-warning); }
.hu-badge-maintenance .hu-badge-dot { background-color: var(--hu-info); }

/* Badge sizes */
.hu-badge-sm { padding: 0.0625rem 0.375rem; font-size: 0.6875rem; }
.hu-badge-lg { padding: 0.25rem 0.75rem; font-size: var(--hu-text-xs); }

/* ============================================================
   20. TABLES
   ============================================================ */

.hu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--hu-text-sm);
}

.hu-table th {
  padding: var(--hu-space-3) var(--hu-space-4);
  text-align: left;
  font-weight: var(--hu-font-semibold);
  color: var(--hu-text-secondary);
  border-bottom: 2px solid var(--hu-border);
  background-color: var(--hu-bg-secondary);
  white-space: nowrap;
}

.hu-table td {
  padding: var(--hu-space-3) var(--hu-space-4);
  border-bottom: 1px solid var(--hu-border);
  color: var(--hu-text);
  vertical-align: middle;
}

.hu-table tbody tr {
  transition: background-color var(--hu-duration-fast) var(--hu-ease);
}

.hu-table tbody tr:hover {
  background-color: var(--hu-bg-secondary);
}

.hu-table-striped tbody tr:nth-child(even) {
  background-color: var(--hu-bg-secondary);
}

.hu-table-border { border: 1px solid var(--hu-border); }
.hu-table-border th, .hu-table-border td { border: 1px solid var(--hu-border); }

.hu-table-compact th, .hu-table-compact td {
  padding: var(--hu-space-2) var(--hu-space-3);
}

/* Responsive table wrapper */
.hu-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-lg);
}

.hu-table-responsive .hu-table { margin-bottom: 0; }
.hu-table-responsive .hu-table th:first-child,
.hu-table-responsive .hu-table td:first-child { padding-left: var(--hu-space-5); }
.hu-table-responsive .hu-table th:last-child,
.hu-table-responsive .hu-table td:last-child { padding-right: var(--hu-space-5); }

/* ============================================================
   21. ACCORDION
   ============================================================ */

.hu-accordion {
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-lg);
  overflow: hidden;
}

.hu-accordion-item {
  border-bottom: 1px solid var(--hu-border);
}
.hu-accordion-item:last-child { border-bottom: none; }

.hu-accordion-header {
  margin: 0;
}

.hu-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--hu-space-4) var(--hu-space-5);
  font-size: var(--hu-text-sm);
  font-weight: var(--hu-font-semibold);
  color: var(--hu-text);
  background: var(--hu-bg);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--hu-duration-base) var(--hu-ease);
}
.hu-accordion-btn:hover { background-color: var(--hu-bg-secondary); }

.hu-accordion-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--hu-text-muted);
  transition: transform var(--hu-duration-normal) var(--hu-ease);
}
.hu-accordion-btn[aria-expanded="true"] .hu-accordion-icon {
  transform: rotate(180deg);
}

.hu-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--hu-duration-slow) var(--hu-ease);
}
.hu-accordion-body-inner {
  padding: 0 var(--hu-space-5) var(--hu-space-5);
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  line-height: var(--hu-leading-relaxed);
}

.hu-accordion-item.hu-active .hu-accordion-body {
  max-height: 500px;
}

/* ============================================================
   22. MODALS
   ============================================================ */

.hu-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--hu-z-modal-backdrop);
  align-items: center;
  justify-content: center;
  padding: var(--hu-space-4);
  opacity: 0;
  transition: opacity var(--hu-duration-normal) var(--hu-ease);
}
.hu-modal-overlay.hu-active {
  display: flex;
  opacity: 1;
}

.hu-modal {
  background-color: var(--hu-bg);
  border-radius: var(--hu-radius-xl);
  box-shadow: var(--hu-shadow-xl);
  width: 100%;
  max-width: 32rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  z-index: var(--hu-z-modal);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--hu-duration-normal) var(--hu-ease-spring);
}
.hu-modal-overlay.hu-active .hu-modal {
  transform: scale(1) translateY(0);
}

.hu-modal-sm { max-width: 24rem; }
.hu-modal-lg { max-width: 48rem; }
.hu-modal-xl { max-width: 64rem; }
.hu-modal-full { max-width: calc(100vw - 2rem); }

.hu-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--hu-space-4) var(--hu-space-5);
  border-bottom: 1px solid var(--hu-border);
}
.hu-modal-title {
  font-size: var(--hu-text-lg);
  font-weight: var(--hu-font-semibold);
  margin: 0;
}

.hu-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--hu-text-muted);
  border-radius: var(--hu-radius-md);
  cursor: pointer;
  transition: background-color var(--hu-duration-base) var(--hu-ease),
              color var(--hu-duration-base) var(--hu-ease);
}
.hu-modal-close:hover { background-color: var(--hu-bg-tertiary); color: var(--hu-text); }

.hu-modal-body {
  padding: var(--hu-space-5);
}

.hu-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--hu-space-3);
  padding: var(--hu-space-4) var(--hu-space-5);
  border-top: 1px solid var(--hu-border);
  background-color: var(--hu-bg-secondary);
}

/* ============================================================
   23. DROPDOWNS
   ============================================================ */

.hu-dropdown {
  position: relative;
  display: inline-block;
}

.hu-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 12rem;
  padding: var(--hu-space-1-5);
  background-color: var(--hu-bg);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-lg);
  box-shadow: var(--hu-shadow-lg);
  z-index: var(--hu-z-dropdown);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--hu-duration-base) var(--hu-ease),
              transform var(--hu-duration-base) var(--hu-ease);
}
.hu-dropdown-menu.hu-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.hu-dropdown-menu-right {
  left: auto;
  right: 0;
}

.hu-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--hu-space-2);
  width: 100%;
  padding: var(--hu-space-2) var(--hu-space-3);
  font-size: var(--hu-text-sm);
  color: var(--hu-text);
  background: none;
  border: none;
  border-radius: var(--hu-radius-md);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background-color var(--hu-duration-fast) var(--hu-ease);
}
.hu-dropdown-item:hover {
  background-color: var(--hu-bg-tertiary);
  color: var(--hu-text);
}
.hu-dropdown-item svg { width: 1rem; height: 1rem; color: var(--hu-text-muted); }
.hu-dropdown-item.hu-danger { color: var(--hu-danger); }
.hu-dropdown-item.hu-danger:hover { background-color: var(--hu-danger-light); color: var(--hu-danger); }

.hu-dropdown-divider {
  height: 1px;
  margin: var(--hu-space-1-5) 0;
  background-color: var(--hu-border);
}

.hu-dropdown-label {
  padding: var(--hu-space-2) var(--hu-space-3);
  font-size: var(--hu-text-xs);
  font-weight: var(--hu-font-semibold);
  color: var(--hu-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   24. HEADER / NAVBAR
   ============================================================ */

.hu-header {
  position: sticky;
  top: 0;
  z-index: var(--hu-z-sticky);
  height: var(--hu-header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hu-border);
  transition: background-color var(--hu-duration-slow) var(--hu-ease);
}

[data-theme="dark"] .hu-header {
  background-color: rgba(10, 10, 10, 0.85);
}

.hu-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.hu-header-brand {
  display: flex;
  align-items: center;
  gap: var(--hu-space-2);
  font-size: var(--hu-text-lg);
  font-weight: var(--hu-font-bold);
  color: var(--hu-text);
  text-decoration: none;
}

.hu-header-nav {
  display: flex;
  align-items: center;
  gap: var(--hu-space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hu-header-nav-link {
  display: flex;
  align-items: center;
  padding: var(--hu-space-2) var(--hu-space-3);
  font-size: var(--hu-text-sm);
  font-weight: var(--hu-font-medium);
  color: var(--hu-text-secondary);
  text-decoration: none;
  border-radius: var(--hu-radius-md);
  transition: color var(--hu-duration-base) var(--hu-ease),
              background-color var(--hu-duration-base) var(--hu-ease);
}
.hu-header-nav-link:hover {
  color: var(--hu-text);
  background-color: var(--hu-bg-tertiary);
}
.hu-header-nav-link.hu-active {
  color: var(--hu-primary);
  background-color: var(--hu-primary-light);
}

.hu-header-actions {
  display: flex;
  align-items: center;
  gap: var(--hu-space-2);
}

/* ============================================================
   25. SIDEBAR
   ============================================================ */

.hu-sidebar {
  position: fixed;
  top: var(--hu-header-height);
  left: 0;
  bottom: 0;
  width: var(--hu-sidebar-width);
  background-color: var(--hu-bg);
  border-right: 1px solid var(--hu-border);
  overflow-y: auto;
  z-index: var(--hu-z-fixed);
  transition: transform var(--hu-duration-normal) var(--hu-ease),
              width var(--hu-duration-normal) var(--hu-ease);
}

.hu-sidebar-section {
  padding: var(--hu-space-4);
  border-bottom: 1px solid var(--hu-border);
}

.hu-sidebar-title {
  font-size: var(--hu-text-xs);
  font-weight: var(--hu-font-semibold);
  color: var(--hu-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--hu-space-2);
  padding: 0 var(--hu-space-3);
}

.hu-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hu-sidebar-nav-item {
  margin-bottom: 1px;
}

.hu-sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: var(--hu-space-2);
  padding: var(--hu-space-2) var(--hu-space-3);
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  text-decoration: none;
  border-radius: var(--hu-radius-md);
  transition: all var(--hu-duration-base) var(--hu-ease);
}
.hu-sidebar-nav-link:hover {
  color: var(--hu-text);
  background-color: var(--hu-bg-tertiary);
}
.hu-sidebar-nav-link.hu-active {
  color: var(--hu-primary);
  background-color: var(--hu-primary-light);
  font-weight: var(--hu-font-medium);
}
.hu-sidebar-nav-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.hu-sidebar-subnav {
  list-style: none;
  margin: 0;
  padding-left: var(--hu-space-8);
}

.hu-main-content {
  margin-left: var(--hu-sidebar-width);
  padding: var(--hu-space-8);
  min-height: calc(100vh - var(--hu-header-height));
  transition: margin-left var(--hu-duration-normal) var(--hu-ease);
}

@media (max-width: 1023px) {
  .hu-sidebar {
    transform: translateX(-100%);
  }
  .hu-sidebar.hu-open {
    transform: translateX(0);
  }
  .hu-main-content {
    margin-left: 0;
  }
  .hu-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--hu-z-fixed) - 1);
  }
  .hu-sidebar.hu-open + .hu-sidebar-overlay {
    display: block;
  }
}

/* ============================================================
   26. TOOLS - Copy, Theme Toggle, etc.
   ============================================================ */

.hu-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--hu-space-1);
  padding: var(--hu-space-1) var(--hu-space-2);
  font-size: var(--hu-text-xs);
  font-weight: var(--hu-font-medium);
  color: var(--hu-text-muted);
  background: var(--hu-bg);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-md);
  cursor: pointer;
  transition: all var(--hu-duration-base) var(--hu-ease);
  opacity: 0;
}
.hu-copy-btn:hover {
  color: var(--hu-text);
  border-color: var(--hu-border-strong);
}
.hu-copy-btn.hu-copied {
  color: var(--hu-success);
  border-color: var(--hu-success);
}

.hu-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--hu-text-secondary);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--hu-radius-md);
  cursor: pointer;
  transition: all var(--hu-duration-base) var(--hu-ease);
}
.hu-theme-toggle:hover {
  color: var(--hu-text);
  background-color: var(--hu-bg-tertiary);
}

.hu-theme-toggle .sun-icon,
.hu-theme-toggle .moon-icon { width: 1.25rem; height: 1.25rem; }

.hu-theme-toggle .sun-icon { display: block; }
.hu-theme-toggle .moon-icon { display: none; }

[data-theme="dark"] .hu-theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .hu-theme-toggle .moon-icon { display: block; }

/* ============================================================
   27. PRICING TABLE
   ============================================================ */

.hu-pricing-grid {
  display: grid;
  gap: var(--hu-space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.hu-pricing-card {
  background: var(--hu-bg);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-xl);
  padding: var(--hu-space-8);
  text-align: center;
  transition: all var(--hu-duration-base) var(--hu-ease);
  position: relative;
}

.hu-pricing-card:hover {
  box-shadow: var(--hu-shadow-lg);
  transform: translateY(-4px);
}

.hu-pricing-card.hu-popular {
  border-color: var(--hu-primary);
  box-shadow: var(--hu-shadow-lg);
}
.hu-pricing-card.hu-popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--hu-space-1) var(--hu-space-4);
  font-size: var(--hu-text-xs);
  font-weight: var(--hu-font-bold);
  color: var(--hu-text-inverse);
  background-color: var(--hu-primary);
  border-radius: var(--hu-radius-full);
  white-space: nowrap;
}

.hu-pricing-name {
  font-size: var(--hu-text-lg);
  font-weight: var(--hu-font-semibold);
  margin-bottom: var(--hu-space-2);
}

.hu-pricing-desc {
  font-size: var(--hu-text-sm);
  color: var(--hu-text-muted);
  margin-bottom: var(--hu-space-4);
}

.hu-pricing-price {
  margin-bottom: var(--hu-space-6);
}

.hu-pricing-currency {
  font-size: var(--hu-text-lg);
  font-weight: var(--hu-font-bold);
  vertical-align: super;
}

.hu-pricing-amount {
  font-size: var(--hu-text-5xl);
  font-weight: var(--hu-font-extrabold);
  line-height: 1;
}

.hu-pricing-period {
  font-size: var(--hu-text-sm);
  color: var(--hu-text-muted);
}

.hu-pricing-features {
  list-style: none;
  margin: 0 0 var(--hu-space-8);
  padding: 0;
  text-align: left;
}

.hu-pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--hu-space-2);
  padding: var(--hu-space-2) 0;
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  border-bottom: 1px solid var(--hu-border-subtle);
}
.hu-pricing-feature:last-child { border-bottom: none; }

.hu-pricing-feature svg {
  width: 1rem;
  height: 1rem;
  color: var(--hu-success);
  flex-shrink: 0;
}

.hu-pricing-feature.hu-disabled {
  color: var(--hu-text-muted);
  text-decoration: line-through;
}
.hu-pricing-feature.hu-disabled svg {
  color: var(--hu-text-muted);
}

/* ============================================================
   28. FEATURE GRID (Hosting specific)
   ============================================================ */

.hu-feature-grid {
  display: grid;
  gap: var(--hu-space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hu-feature-card {
  padding: var(--hu-space-6);
  background: var(--hu-bg);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-xl);
  text-align: center;
  transition: all var(--hu-duration-base) var(--hu-ease);
}

.hu-feature-card:hover {
  box-shadow: var(--hu-shadow-md);
  border-color: var(--hu-border-strong);
}

.hu-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--hu-space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hu-primary-light);
  color: var(--hu-primary);
  border-radius: var(--hu-radius-xl);
}

.hu-feature-icon svg { width: 32px; height: 32px; }

.hu-feature-title {
  font-size: var(--hu-text-lg);
  font-weight: var(--hu-font-semibold);
  margin-bottom: var(--hu-space-2);
}

.hu-feature-desc {
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  line-height: var(--hu-leading-relaxed);
}

/* ============================================================
   29. HERO / JUMBOTRON
   ============================================================ */

.hu-hero {
  padding: var(--hu-space-16) 0;
  text-align: center;
}

.hu-hero-lg { padding: var(--hu-space-24) 0; }

.hu-hero-title {
  font-size: var(--hu-text-5xl);
  font-weight: var(--hu-font-extrabold);
  line-height: var(--hu-leading-tight);
  letter-spacing: var(--hu-tracking-tight);
  margin-bottom: var(--hu-space-6);
}

.hu-hero-subtitle {
  font-size: var(--hu-text-xl);
  color: var(--hu-text-secondary);
  max-width: 48rem;
  margin: 0 auto var(--hu-space-8);
  line-height: var(--hu-leading-relaxed);
}

.hu-hero-actions {
  display: flex;
  gap: var(--hu-space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hu-hero-muted {
  font-size: var(--hu-text-sm);
  color: var(--hu-text-muted);
  margin-top: var(--hu-space-4);
}

/* ============================================================
   30. JUMBOTRON (Catching attention)
   ============================================================ */

.hu-jumbotron {
  padding: var(--hu-space-12) var(--hu-space-8);
  background: linear-gradient(135deg, var(--hu-primary-light) 0%, var(--hu-bg) 100%);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-2xl);
  text-align: center;
}

.hu-jumbotron-lg {
  padding: var(--hu-space-16) var(--hu-space-8);
}

.hu-jumbotron-title {
  font-size: var(--hu-text-4xl);
  font-weight: var(--hu-font-extrabold);
  line-height: var(--hu-leading-tight);
  margin-bottom: var(--hu-space-4);
}

.hu-jumbotron-subtitle {
  font-size: var(--hu-text-lg);
  color: var(--hu-text-secondary);
  max-width: 36rem;
  margin: 0 auto var(--hu-space-6);
}

.hu-jumbotron-actions {
  display: flex;
  gap: var(--hu-space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   31. SERVER STATUS
   ============================================================ */

.hu-status {
  display: inline-flex;
  align-items: center;
  gap: var(--hu-space-2);
  padding: var(--hu-space-1) var(--hu-space-3);
  font-size: var(--hu-text-xs);
  font-weight: var(--hu-font-semibold);
  border-radius: var(--hu-radius-full);
  white-space: nowrap;
}

.hu-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: hu-pulse 2s infinite;
}

.hu-status-online {
  background-color: var(--hu-success-light);
  color: var(--hu-success-dark);
}
.hu-status-online .hu-status-dot { background-color: var(--hu-success); }

.hu-status-offline {
  background-color: var(--hu-danger-light);
  color: var(--hu-danger-dark);
}
.hu-status-offline .hu-status-dot {
  background-color: var(--hu-danger);
  animation: none;
}

.hu-status-pending {
  background-color: var(--hu-warning-light);
  color: var(--hu-warning-dark);
}
.hu-status-pending .hu-status-dot { background-color: var(--hu-warning); }

.hu-status-maintenance {
  background-color: var(--hu-info-light);
  color: var(--hu-info-dark);
}
.hu-status-maintenance .hu-status-dot { background-color: var(--hu-info); }

[data-theme="dark"] .hu-status-online { color: var(--hu-success); background-color: var(--hu-success-light); }
[data-theme="dark"] .hu-status-offline { color: var(--hu-danger); background-color: var(--hu-danger-light); }
[data-theme="dark"] .hu-status-pending { color: var(--hu-warning); background-color: var(--hu-warning-light); }
[data-theme="dark"] .hu-status-maintenance { color: var(--hu-info); background-color: var(--hu-info-light); }

/* ============================================================
   32. LISTS
   ============================================================ */

.hu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hu-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--hu-space-3);
  padding: var(--hu-space-3) 0;
  border-bottom: 1px solid var(--hu-border);
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
}
.hu-list-item:last-child { border-bottom: none; }

.hu-list-item-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--hu-success);
  margin-top: 2px;
}

/* Unordered/Ordered styled lists */
.hu-list-bulleted {
  list-style: none;
  padding: 0;
}
.hu-list-bulleted li {
  position: relative;
  padding-left: var(--hu-space-5);
  margin-bottom: var(--hu-space-2);
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  line-height: var(--hu-leading-relaxed);
}
.hu-list-bulleted li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 6px;
  height: 6px;
  background-color: var(--hu-primary);
  border-radius: 50%;
}

.hu-list-numbered {
  list-style: none;
  padding: 0;
  counter-reset: hu-counter;
}
.hu-list-numbered li {
  position: relative;
  padding-left: var(--hu-space-8);
  margin-bottom: var(--hu-space-3);
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  line-height: var(--hu-leading-relaxed);
  counter-increment: hu-counter;
}
.hu-list-numbered li::before {
  content: counter(hu-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--hu-text-xs);
  font-weight: var(--hu-font-bold);
  color: var(--hu-primary);
  background-color: var(--hu-primary-light);
  border-radius: 50%;
}

/* Feature list */
.hu-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hu-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--hu-space-3);
  padding: var(--hu-space-3) 0;
}
.hu-feature-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--hu-success);
  margin-top: 2px;
}

/* ============================================================
   33. NAVIGATION - Breadcrumbs, Pagination
   ============================================================ */

.hu-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--hu-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--hu-text-sm);
}

.hu-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--hu-space-2);
  color: var(--hu-text-muted);
}
.hu-breadcrumb-item a {
  color: var(--hu-text-secondary);
  text-decoration: none;
}
.hu-breadcrumb-item a:hover { color: var(--hu-primary); }

.hu-breadcrumb-item + .hu-breadcrumb-item::before {
  content: '/';
  color: var(--hu-text-muted);
}

.hu-breadcrumb-item.hu-active { color: var(--hu-text); font-weight: var(--hu-font-medium); }

/* Pagination */
.hu-pagination {
  display: flex;
  align-items: center;
  gap: var(--hu-space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hu-pagination-item a,
.hu-pagination-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 var(--hu-space-2);
  font-size: var(--hu-text-sm);
  color: var(--hu-text-secondary);
  background-color: transparent;
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-md);
  text-decoration: none;
  transition: all var(--hu-duration-base) var(--hu-ease);
}
.hu-pagination-item a:hover {
  background-color: var(--hu-bg-tertiary);
  color: var(--hu-text);
}
.hu-pagination-item.hu-active a {
  background-color: var(--hu-primary);
  color: var(--hu-text-inverse);
  border-color: var(--hu-primary);
}
.hu-pagination-item.hu-disabled a {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   34. TABS
   ============================================================ */

.hu-tabs {
  border-bottom: 1px solid var(--hu-border);
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.hu-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--hu-space-2);
  padding: var(--hu-space-3) var(--hu-space-4);
  font-size: var(--hu-text-sm);
  font-weight: var(--hu-font-medium);
  color: var(--hu-text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--hu-duration-base) var(--hu-ease);
}
.hu-tab:hover {
  color: var(--hu-text);
  border-bottom-color: var(--hu-border-strong);
}
.hu-tab.hu-active {
  color: var(--hu-primary);
  border-bottom-color: var(--hu-primary);
}

.hu-tab-content {
  padding: var(--hu-space-6) 0;
}

.hu-tab-pane {
  display: none;
}
.hu-tab-pane.hu-active {
  display: block;
}

/* ============================================================
   35. TOOLTIPS & POPOVERS
   ============================================================ */

.hu-tooltip {
  position: relative;
}

.hu-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: var(--hu-space-1) var(--hu-space-2);
  font-size: var(--hu-text-xs);
  font-weight: var(--hu-font-medium);
  color: var(--hu-text-inverse);
  background-color: var(--hu-gray-900);
  border-radius: var(--hu-radius-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--hu-duration-base) var(--hu-ease),
              transform var(--hu-duration-base) var(--hu-ease);
  z-index: var(--hu-z-tooltip);
}
.hu-tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--hu-gray-900);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--hu-duration-base) var(--hu-ease);
  z-index: var(--hu-z-tooltip);
}

.hu-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hu-tooltip:hover::before { opacity: 1; }

/* ============================================================
   36. UTILITIES - Misc
   ============================================================ */

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

.hu-pointer-events-none { pointer-events: none; }
.hu-cursor-pointer { cursor: pointer; }
.hu-select-none { user-select: none; }
.hu-transition { transition: all var(--hu-duration-base) var(--hu-ease); }
.hu-transition-slow { transition: all var(--hu-duration-slow) var(--hu-ease); }

/* Opacity */
.hu-opacity-0 { opacity: 0; }
.hu-opacity-25 { opacity: 0.25; }
.hu-opacity-50 { opacity: 0.5; }
.hu-opacity-75 { opacity: 0.75; }
.hu-opacity-100 { opacity: 1; }

/* Additional Utilities */
.hu-cursor-not-allowed { cursor: not-allowed !important; }
.hu-cursor-grab { cursor: grab !important; }
.hu-cursor-grabbing { cursor: grabbing !important; }
.hu-bg-transparent { background-color: transparent !important; }
.hu-bg-current { background-color: currentColor !important; }
.hu-text-justify { text-align: justify !important; }
.hu-whitespace-pre { white-space: pre !important; }
.hu-whitespace-pre-wrap { white-space: pre-wrap !important; }
.hu-whitespace-pre-line { white-space: pre-line !important; }
.hu-select-text { user-select: text !important; }
.hu-select-auto { user-select: auto !important; }
.hu-pointer-events-auto { pointer-events: auto !important; }

/* ============================================================
   37. ANIMATIONS
   ============================================================ */

@keyframes hu-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hu-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes hu-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hu-slide-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hu-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hu-animate-fade-in { animation: hu-fade-in var(--hu-duration-normal) var(--hu-ease); }
.hu-animate-slide-up { animation: hu-slide-up var(--hu-duration-slow) var(--hu-ease); }
.hu-animate-slide-down { animation: hu-slide-down var(--hu-duration-slow) var(--hu-ease); }

/* ============================================================
   38. FOOTER
   ============================================================ */

.hu-footer {
  border-top: 1px solid var(--hu-border);
  padding: var(--hu-space-8) 0;
  color: var(--hu-text-muted);
  font-size: var(--hu-text-sm);
}

.hu-footer a {
  color: var(--hu-text-secondary);
  text-decoration: none;
}
.hu-footer a:hover { color: var(--hu-primary); }

/* ============================================================
   39. OFFCANVAS
   ============================================================ */

.hu-offcanvas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--hu-z-drawer);
}
.hu-offcanvas-overlay.hu-active { display: block; }

.hu-offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: 24rem;
  max-width: 100%;
  background-color: var(--hu-bg);
  box-shadow: var(--hu-shadow-xl);
  z-index: calc(var(--hu-z-drawer) + 1);
  overflow-y: auto;
  transition: right var(--hu-duration-normal) var(--hu-ease);
}
.hu-offcanvas.hu-active { right: 0; }
.hu-offcanvas-left { right: auto; left: -100%; }
.hu-offcanvas-left.hu-active { left: 0; }

.hu-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--hu-space-4) var(--hu-space-5);
  border-bottom: 1px solid var(--hu-border);
}

.hu-offcanvas-body {
  padding: var(--hu-space-5);
}

/* ============================================================
   40. RESPONSIVE UTILITIES
   ============================================================ */

@media (max-width: 639px) {
  .hu-sm-hidden { display: none !important; }
  .hu-sm-block { display: block !important; }
  .hu-sm-flex { display: flex !important; }
  .hu-sm-col { flex-direction: column !important; }
  .hu-hero-title { font-size: var(--hu-text-3xl); }
  .hu-hero-subtitle { font-size: var(--hu-text-base); }
  .hu-jumbotron-title { font-size: var(--hu-text-2xl); }
}

@media (min-width: 640px) {
  .hu-sm-only { display: none !important; }
}

@media (max-width: 767px) {
  .hu-md-hidden { display: none !important; }
  .hu-md-block { display: block !important; }
  .hu-md-flex { display: flex !important; }
}

@media (min-width: 768px) {
  .hu-md-only { display: none !important; }
}

@media (max-width: 1023px) {
  .hu-lg-hidden { display: none !important; }
  .hu-lg-block { display: block !important; }
  .hu-lg-flex { display: flex !important; }
}

@media (min-width: 1024px) {
  .hu-lg-only { display: none !important; }
}

@media (max-width: 1279px) {
  .hu-xl-hidden { display: none !important; }
}

/* ============================================================
   41. SPINNER
   ============================================================ */
.hu-spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--hu-border);
  border-top-color: var(--hu-primary);
  border-radius: 50%;
  animation: hu-spin 0.6s linear infinite;
}
.hu-spinner-sm { width: 1rem; height: 1rem; border-width: 1.5px; }
.hu-spinner-lg { width: 2.5rem; height: 2.5rem; border-width: 3px; }
.hu-spinner-xl { width: 4rem; height: 4rem; border-width: 4px; }

/* ============================================================
   42. SKELETON LOADER
   ============================================================ */
.hu-skeleton {
  background: linear-gradient(90deg, var(--hu-bg-tertiary) 25%, var(--hu-bg-secondary) 50%, var(--hu-bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: hu-skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: var(--hu-radius-md);
}
.hu-skeleton-text { height: 0.875rem; margin-bottom: 0.5rem; }
.hu-skeleton-text:last-child { width: 60%; }
.hu-skeleton-heading { height: 1.5rem; width: 40%; margin-bottom: 1rem; }
.hu-skeleton-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.hu-skeleton-image { width: 100%; height: 12rem; }
.hu-skeleton-button { height: 2.25rem; width: 6rem; border-radius: var(--hu-radius-md); }

@keyframes hu-skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   43. TOAST
   ============================================================ */
.hu-toast-container {
  position: fixed;
  top: var(--hu-space-4);
  right: var(--hu-space-4);
  z-index: var(--hu-z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--hu-space-3);
  pointer-events: none;
}
.hu-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: var(--hu-space-3);
  padding: var(--hu-space-4);
  background: var(--hu-bg);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius-lg);
  box-shadow: var(--hu-shadow-lg);
  min-width: 18rem;
  max-width: 24rem;
  animation: hu-toast-in 0.2s var(--hu-ease);
}
.hu-toast.hu-toast-out { animation: hu-toast-out 0.2s var(--hu-ease) forwards; }
.hu-toast-icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; }
.hu-toast-content { flex: 1; }
.hu-toast-title { font-size: var(--hu-text-sm); font-weight: var(--hu-font-semibold); color: var(--hu-text); }
.hu-toast-message { font-size: var(--hu-text-sm); color: var(--hu-text-secondary); margin-top: 0.125rem; }
.hu-toast-close { flex-shrink: 0; background: none; border: none; color: var(--hu-text-muted); cursor: pointer; padding: 0.25rem; border-radius: var(--hu-radius-sm); }
.hu-toast-close:hover { color: var(--hu-text); background: var(--hu-bg-tertiary); }
.hu-toast-success { border-left: 3px solid var(--hu-success); }
.hu-toast-danger { border-left: 3px solid var(--hu-danger); }
.hu-toast-warning { border-left: 3px solid var(--hu-warning); }
.hu-toast-info { border-left: 3px solid var(--hu-info); }

@keyframes hu-toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes hu-toast-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ============================================================
   44. BACK TO TOP
   ============================================================ */
.hu-back-to-top {
  position: fixed;
  bottom: var(--hu-space-6);
  right: var(--hu-space-6);
  z-index: var(--hu-z-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--hu-bg);
  border: 1px solid var(--hu-border);
  border-radius: 50%;
  box-shadow: var(--hu-shadow-md);
  color: var(--hu-text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--hu-duration-base) var(--hu-ease);
}
.hu-back-to-top:hover { background: var(--hu-bg-secondary); color: var(--hu-primary); border-color: var(--hu-primary); }
.hu-back-to-top.hu-visible { opacity: 1; visibility: visible; }
.hu-back-to-top svg { width: 1.125rem; height: 1.125rem; }

/* ============================================================
   45. PROGRESS
   ============================================================ */
.hu-progress {
  width: 100%;
  height: 0.5rem;
  background: var(--hu-bg-tertiary);
  border-radius: 9999px;
  overflow: hidden;
}
.hu-progress-bar {
  height: 100%;
  background: var(--hu-primary);
  border-radius: 9999px;
  transition: width 0.3s var(--hu-ease);
}
.hu-progress-bar-success { background: var(--hu-success); }
.hu-progress-bar-danger { background: var(--hu-danger); }
.hu-progress-bar-warning { background: var(--hu-warning); }
.hu-progress-lg { height: 0.75rem; }
.hu-progress-sm { height: 0.25rem; }

/* ============================================================
   46. AVATAR
   ============================================================ */
.hu-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--hu-primary-light);
  color: var(--hu-primary);
  font-size: var(--hu-text-sm);
  font-weight: var(--hu-font-semibold);
  overflow: hidden;
  flex-shrink: 0;
}
.hu-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hu-avatar-sm { width: 1.75rem; height: 1.75rem; font-size: var(--hu-text-xs); }
.hu-avatar-lg { width: 3.5rem; height: 3.5rem; font-size: var(--hu-text-lg); }
.hu-avatar-xl { width: 5rem; height: 5rem; font-size: var(--hu-text-xl); }
.hu-avatar-group { display: flex; }
.hu-avatar-group .hu-avatar { border: 2px solid var(--hu-bg); margin-left: -0.5rem; }
.hu-avatar-group .hu-avatar:first-child { margin-left: 0; }
