* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.description {
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.search-box {
  position: relative;
  margin-bottom: 24px;
}

input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus {
  border-color: #333;
}

input::placeholder {
  color: #999;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.result-name {
  font-weight: 600;
  color: #1a1a1a;
}

.result-category {
  font-size: 0.75rem;
  color: #666;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 20px;
}

.macros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.macro {
  text-align: center;
  padding: 8px;
  background: #fafafa;
  border-radius: 8px;
}

.macro-value {
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
}

.macro-label {
  font-size: 0.7rem;
  color: #888;
  margin-top: 2px;
}

.no-results {
  text-align: center;
  color: #999;
  padding: 40px;
}

.hint {
  font-size: 0.85rem;
  color: #888;
  margin-top: 8px;
}
