/* ==============================================================
   UTILITIES COMPONENT
   Standardized layout and helper classes
   ============================================================== */

/* --- Sizing & Icons --- */
.icon-xs, .icon-xs svg { width: 12px !important; height: 12px !important; min-width: 12px; }
.icon-sm, .icon-sm svg { width: 14px !important; height: 14px !important; min-width: 14px; }
.icon-md, .icon-md svg { width: 16px !important; height: 16px !important; min-width: 16px; }
.icon-lg, .icon-lg svg { width: 24px !important; height: 24px !important; min-width: 24px; }
.icon-xl, .icon-xl svg { width: 32px !important; height: 32px !important; min-width: 32px; }

[data-lucide], [data-lucide] svg { 
    width: 16px; 
    height: 16px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0;
}

.w-32 { width: 32px !important; }
.h-32 { height: 32px !important; }
.w-45 { width: 45px !important; }
.h-45 { height: 45px !important; }
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }

/* Fixed Width Utilities */
.w-70-px { width: 70px !important; }
.w-80-px { width: 80px !important; }
.w-100-px { width: 100px !important; }
.w-120-px { width: 120px !important; }
.w-150-px { width: 150px !important; }
.h-100-px { height: 100px !important; }
.h-120-px { height: 120px !important; }
.h-80-px { height: 80px !important; }

.object-cover { object-fit: cover !important; }

.rounded-8 { border-radius: 8px !important; }
.rounded-10 { border-radius: 10px !important; }
.rounded-12 { border-radius: 12px !important; }
.rounded-16 { border-radius: 16px !important; }
.rounded-20 { border-radius: 20px !important; }
.rounded-24 { border-radius: 24px !important; }
.rounded-full { border-radius: 9999px !important; }

/* --- Typography --- */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
.small { font-size: 12px !important; }
.large { font-size: 18px !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.uppercase { text-transform: uppercase !important; }
.tracking-1 { letter-spacing: 1px !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.text-xs { font-size: 0.75rem !important; }
.text-2xs { font-size: 11px !important; }
.text-sm { font-size: 0.875rem !important; }
.font-xs { font-size: 11px !important; }
.font-sm { font-size: 13px !important; }
.font-md { font-size: 18px !important; }
.font-lg { font-size: 24px !important; }
.font-mono { font-family: monospace !important; }
.text-09 { font-size: 0.9rem !important; }

/* --- Flexbox & Grid --- */
.d-flex, .flex { display: flex !important; }
.d-none, .hidden { display: none !important; }
.d-block { display: block !important; }

.flex-col, .flex-column { flex-direction: column !important; }
.items-center, .align-items-center { align-items: center !important; }
.items-end { align-items: flex-end !important; }
.justify-between, .justify-content-between { justify-content: space-between !important; }
.justify-center, .justify-content-center { justify-content: center !important; }
.justify-end, .justify-content-end { justify-content: flex-end !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 !important; }
.flex-2 { flex: 2 !important; }
.flex-3 { flex: 3 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-10 { gap: 2.5rem !important; }
.gap-md { gap: 20px !important; }

.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

@media (min-width: 768px) {
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

.grid-span-2, .grid-column-span-2 { grid-column: span 2 !important; }

/* --- Positioning & Layout --- */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-y-auto { overflow-y: auto !important; }
.max-h-250 { max-height: 250px !important; }
.invisible { visibility: hidden !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.ml-auto { margin-left: auto !important; }

/* --- Spacing (Margins & Paddings) --- */
.m-0 { margin: 0 !important; }
.p-0 { padding: 0 !important; }
.p-4 { padding: 1rem !important; }
.p-20 { padding: 20px !important; }
.p-24 { padding: 24px !important; }
.p-30 { padding: 30px !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* Standard Scale */
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-5 { margin-top: 20px !important; }
.mt-6 { margin-top: 24px !important; }
.mt-7 { margin-top: 28px !important; }
.mt-8 { margin-top: 32px !important; }
.mt-9 { margin-top: 36px !important; }
.mt-10 { margin-top: 40px !important; }

.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-5 { margin-bottom: 20px !important; }
.mb-6 { margin-bottom: 24px !important; }
.mb-7 { margin-bottom: 28px !important; }
.mb-8 { margin-bottom: 32px !important; }
.mb-9 { margin-bottom: 36px !important; }
.mb-10 { margin-bottom: 40px !important; }
.mb-12 { margin-bottom: 48px !important; }
.mb-16 { margin-bottom: 64px !important; }
.mb-20 { margin-bottom: 80px !important; }

.pt-1 { padding-top: 4px !important; }
.pt-2 { padding-top: 8px !important; }
.pt-3 { padding-top: 12px !important; }
.pt-4 { padding-top: 16px !important; }
.pt-5 { padding-top: 20px !important; }
.pt-6 { padding-top: 24px !important; }

.pb-1 { padding-bottom: 4px !important; }
.pb-2 { padding-bottom: 8px !important; }
.pb-3 { padding-bottom: 12px !important; }
.pb-4 { padding-bottom: 16px !important; }
.pb-5 { padding-bottom: 20px !important; }

.ml-2 { margin-left: 0.5rem !important; }
.ml-4 { margin-left: 1rem !important; }
.mr-2 { margin-right: 0.5rem !important; }

/* --- Colors & Backgrounds --- */
.text-primary { color: var(--primary) !important; }
.text-primary-important { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white) !important; }
.text-blue { color: var(--info) !important; }

.bg-none { background: none !important; }
.bg-card-alt { background: rgba(var(--white-rgb), 0.03) !important; }
.bg-white-5 { background: rgba(var(--white-rgb), 0.05) !important; }
.bg-white-10 { background: rgba(var(--white-rgb), 0.1) !important; }

.bg-primary-glass { background: rgba(var(--primary-rgb), 0.1) !important; }
.bg-accent-glass { background: rgba(var(--accent-rgb), 0.1) !important; }
.bg-blue-glass { background: rgba(var(--info-rgb), 0.1) !important; }
.bg-success-glass { background: rgba(var(--success-rgb), 0.1) !important; }
.bg-danger-glass { background: rgba(var(--accent-rgb), 0.1) !important; }
.bg-warning-glass { background: rgba(var(--warning-rgb), 0.1) !important; }

/* --- Borders --- */
.border-none { border: none !important; }
.border-white-5 { border: 1px solid rgba(var(--white-rgb), 0.05) !important; padding:20px !important; border-radius:10px !important}
.border-white-10 { border: 1px solid rgba(var(--white-rgb), 0.1) !important; padding:20px !important; border-radius:10px !important}
.border-border { border-color: var(--border) !important; }

/* --- Visibility & Misc --- */
.opacity-50 { opacity: 0.5 !important; }
.opacity-0 { opacity: 0 !important; }
.cursor-pointer { cursor: pointer !important; }
.list-none { list-style: none !important; padding: 0 !important; }
.line-height-1 { line-height: 1 !important; }
.line-height-md { line-height: 1.6 !important; }

.no-results {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-muted);
}
