/* Layout Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.text-danger {
    color: var(--danger);
}

.text-sm {
    font-size: 0.875rem;
}

.flex {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-baseline {
    align-items: baseline;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.grid-responsive {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.grid-stack {
    display: grid;
    gap: var(--space-md);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.d-inline-block {
    display: inline-block;
}

.w-full {
    width: 100%;
}

/* Spacing Utilities */
.mb-xs {
    margin-bottom: var(--space-xs);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mt-md {
    margin-top: var(--space-md);
}

/* Theme Utilities */
.bg-white {
    background: white;
}

.border-ddd {
    border: 1px solid #ddd;
}


/* Responsive Layout Helpers */
.page-wrapper {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.mb-responsive {
    margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
    .page-wrapper {
        padding-top: var(--space-sm);
        padding-bottom: var(--space-sm);
    }

    .mb-responsive {
        margin-bottom: var(--space-sm);
    }
}