/* ===================================
   UTILITY CLASSES
   =================================== */

/* Display */
.hidden { display: none !important; }
.visible { display: block !important; }
.inline { display: inline !important; }
.inline-block { display: inline-block !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }

/* Spacing - Margin */
.m-0 { margin: 0 !important; }
.my-auto { 
  margin-top: auto !important; 
  margin-bottom: auto !important; 
}
.mx-auto { 
  margin-left: auto !important; 
  margin-right: auto !important; 
}
.mt-md { margin-top: var(--spacing-md) !important; }
.mb-md { margin-bottom: var(--spacing-md) !important; }
.mt-lg { margin-top: var(--spacing-lg) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }

/* Spacing - Padding */
.p-0 { padding: 0 !important; }
.p-md { padding: var(--spacing-md) !important; }
.p-lg { padding: var(--spacing-lg) !important; }

/* Sizing */
.w-full { width: 100% !important; }
.w-1/2 { width: 50% !important; }
.w-1/3 { width: 33.33% !important; }

.max-w-sm { max-width: 500px !important; }
.max-w-md { max-width: 750px !important; }
.max-w-lg { max-width: 1000px !important; }
.max-w-xl { max-width: 1440px !important; }

/* Text Alignment */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Text Transform */
.uppercase { text-transform: uppercase !important; }
.lowercase { text-transform: lowercase !important; }
.capitalize { text-transform: capitalize !important; }

/* Text Truncation */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Colors */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-text-secondary) !important; }
.bg-light { background-color: var(--color-bg-secondary) !important; }
.bg-dark { background-color: var(--color-bg-dark) !important; }

/* Opacity */
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }

/* Borders */
.border { border: 1px solid var(--border-color) !important; }
.border-top { border-top: 1px solid var(--border-color) !important; }
.border-bottom { border-bottom: 1px solid var(--border-color) !important; }

/* Shadows */
.shadow-sm { box-shadow: var(--box-shadow) !important; }
.shadow { box-shadow: var(--box-shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }

/* Transforms */
.scale-100 { transform: scale(1) !important; }
.scale-105 { transform: scale(1.05) !important; }
.translate-y-1 { transform: translateY(4px) !important; }

/* Filters */
.blur { filter: blur(10px) !important; }
.brightness-90 { filter: brightness(90%) !important; }