/* ==========================================================================
   Layout Helper Utilities
   ========================================================================== */

/* Flexbox */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }

/* Alignment */
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

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

/* Spacing (Gap) */
.gap-xs { gap: var(--space-2); }  /* 8px */
.gap-sm { gap: var(--space-3); }  /* 12px */
.gap-md { gap: var(--space-4); }  /* 16px */
.gap-lg { gap: var(--space-6); }  /* 24px */
.gap-xl { gap: var(--space-8); }  /* 32px */

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-full { max-width: 100%; }
.max-h-full { max-height: 100%; }

/* Margin & Padding Utilities */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-4); }
.mb-lg { margin-bottom: var(--space-6); }

.p-0 { padding: 0; }
.p-sm { padding: var(--space-3); }
.p-md { padding: var(--space-4); }
.p-lg { padding: var(--space-6); }

/* Typography Helpers */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-muted { color: var(--grey-500); }
.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }

/* Visibility */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
