/**
 * Section Container Component
 * Reusable container for page sections with consistent max-width and padding
 */

/* ============================================================================
   Container API
   ============================================================================ */

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================================
   Header API
   ============================================================================ */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary, #ffffff);
  margin: 0;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted, rgba(255, 255, 255, 0.5));
  margin: 0.25rem 0 0;
}

.section-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 768px) {
  .section-container {
    padding: 0 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .section-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 0 0.75rem;
  }
}
