/* Utility Classes and Responsive Helpers */

/* ===== DISPLAY ===== */
.hidden { display: none !important; }
.visible { display: block !important; }

/* ===== TEXT ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.muted { color: var(--gray); }
.font-bold { font-weight: 700; }
.small { font-size: 0.875rem; }

/* ===== SPACING ===== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

/* ===== FLEX ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-xs); }
.gap-2 { gap: var(--space-sm); }
.gap-3 { gap: var(--space-md); }

/* ===== WIDTH ===== */
.w-full { width: 100%; }
.max-w-sm { max-width: 400px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 800px; }
.max-w-xl { max-width: 1000px; }

/* ===== RESPONSIVE VISIBILITY ===== */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

/* ===== PRINT ===== */
@media print {
    .no-print { display: none !important; }
    header, footer, .nav-menu, .nav-auth { display: none !important; }
    body { background: white; }
    .container { max-width: 100%; padding: 0; }
}

/* ===== ERROR/SUCCESS ===== */
.error { color: var(--error-color); }
.success { color: var(--success-color); }
