/* ============================================
   UTILITY CLASSES & TAILWIND OVERRIDES
   ============================================

   This file contains:
   - Utility classes for spacing, text, and badges
   - Tailwind CSS overrides to match Apple design system
   - Global style adjustments for consistency
   ============================================ */

/* ============================================
   Utility Classes
   ============================================ */

.section {
  padding: var(--space-16) 0;
}

.section-small {
  padding: var(--space-12) 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.text-small {
  font-size: var(--font-size-body-small);
}

.text-caption {
  font-size: var(--font-size-caption);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-medium);
  background: rgba(24, 33, 45, 0.6);
  color: var(--color-text-muted);
}

.badge-primary {
  background: rgba(0, 113, 227, 0.1);
  color: var(--color-accent-primary);
}

/* Hidden Utility */
.hidden {
  display: none !important;
}

/* ============================================
   Override Tailwind Specifics
   ============================================ */

/* Reduce border radius globally */
.rounded-3xl, .rounded-2xl, .rounded-xl {
  border-radius: var(--radius-medium) !important;
}

.rounded-full {
  border-radius: var(--radius-full) !important;
}

/* Simplify backgrounds */
.bg-slate-100 {
  background: var(--color-neutral-50) !important;
}

.bg-white {
  background: rgba(17, 24, 39, 0.85) !important;
}

.bg-primary-50 {
  background: rgba(0, 113, 227, 0.05) !important;
}

/* Simplify borders */
.border-slate-200, .border-primary-200 {
  border-color: rgba(51, 65, 85, 0.5) !important;
}

/* Clean shadows */
.shadow-sm {
  box-shadow: var(--shadow-small) !important;
}

.shadow {
  box-shadow: var(--shadow-medium) !important;
}

/* Smooth transitions */
.transition {
  transition: all var(--transition-base) !important;
}