/* =========================================================
   ZYNDHUX UTILITIES.CSS
   Atomic Helpers / Spacing / Layout / Visibility / UX
   ========================================================= */


/* =========================
   DISPLAY
========================= */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }


/* =========================
   FLEX UTILITIES
========================= */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }

.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.align-end { align-items: flex-end !important; }

.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }

.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }


/* =========================
   TEXT ALIGNMENT
========================= */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }


/* =========================
   FONT WEIGHT
========================= */
.font-light { font-weight: 300 !important; }
.font-regular { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }


/* =========================
   FONT SIZE
========================= */
.text-xs { font-size: var(--text-xs) !important; }
.text-sm { font-size: var(--text-sm) !important; }
.text-md { font-size: var(--text-md) !important; }
.text-lg { font-size: var(--text-lg) !important; }
.text-xl { font-size: var(--text-xl) !important; }


/* =========================
   COLORS
========================= */
.text-primary { color: var(--color-text-primary) !important; }
.text-secondary { color: var(--color-text-secondary) !important; }
.text-muted { color: var(--color-text-muted) !important; }

.text-red { color: var(--color-red-600) !important; }
.text-success { color: var(--color-success) !important; }
.text-error { color: var(--color-error) !important; }

.bg-black { background: var(--color-black) !important; }
.bg-white { background: var(--color-white) !important; }
.bg-red { background: var(--color-red-600) !important; }


/* =========================
   WIDTH / HEIGHT
========================= */
.w-full { width: 100% !important; }
.w-auto { width: auto !important; }

.h-full { height: 100% !important; }
.h-auto { height: auto !important; }


/* =========================
   SPACING (MARGIN)
========================= */
.m-0 { margin: 0 !important; }
.m-1 { margin: var(--space-1) !important; }
.m-2 { margin: var(--space-2) !important; }
.m-3 { margin: var(--space-3) !important; }
.m-4 { margin: var(--space-4) !important; }
.m-5 { margin: var(--space-5) !important; }
.m-6 { margin: var(--space-6) !important; }

/* Horizontal / Vertical */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-4 { margin-top: var(--space-4) !important; margin-bottom: var(--space-4) !important; }


/* =========================
   PADDING
========================= */
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--space-1) !important; }
.p-2 { padding: var(--space-2) !important; }
.p-3 { padding: var(--space-3) !important; }
.p-4 { padding: var(--space-4) !important; }
.p-5 { padding: var(--space-5) !important; }
.p-6 { padding: var(--space-6) !important; }


/* =========================
   GAP (FLEX / GRID)
========================= */
.gap-1 { gap: var(--space-1) !important; }
.gap-2 { gap: var(--space-2) !important; }
.gap-3 { gap: var(--space-3) !important; }
.gap-4 { gap: var(--space-4) !important; }
.gap-5 { gap: var(--space-5) !important; }


/* =========================
   POSITION
========================= */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }


/* =========================
   VISIBILITY
========================= */
.hidden { display: none !important; }
.invisible { visibility: hidden !important; }
.visible { visibility: visible !important; }


/* =========================
   BORDER
========================= */
.border { border: 1px solid var(--color-border) !important; }
.border-soft { border: 1px solid var(--color-border-soft) !important; }
.border-none { border: none !important; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-full { border-radius: 999px !important; }


/* =========================
   SHADOWS
========================= */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }


/* =========================
   OVERFLOW
========================= */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow-x { overflow-x: auto !important; }
.overflow-y { overflow-y: auto !important; }


/* =========================
   CURSOR
========================= */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }


/* =========================
   OPACITY
========================= */
.opacity-0 { opacity: 0 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-100 { opacity: 1 !important; }


/* =========================
   Z-INDEX SYSTEM
========================= */
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-50 { z-index: 50 !important; }
.z-max { z-index: 9999 !important; }


/* =========================
   INTERACTION HELPERS
========================= */
.no-select {
  user-select: none !important;
}

.no-pointer {
  pointer-events: none !important;
}

.pointer {
  cursor: pointer !important;
}


/* =========================
   TRANSITIONS
========================= */
.transition {
  transition: all var(--transition-fast) !important;
}

.transition-slow {
  transition: all var(--transition-slow) !important;
}


/* =========================
   BACKDROP
========================= */
.backdrop-blur {
  backdrop-filter: blur(10px) !important;
}