/* ========== COMMUNITY REZEPTE ========== */
.info-box {
  background: #f8f5f0;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary);
}

.info-box p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.info-box p:first-child {
  font-weight: 600;
  color: var(--primary);
  margin-top: 0;
}

.filter-section {
  margin: 1.5rem 0;
}

.filter-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.filter-section select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  min-width: 200px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.recipe-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.recipe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.recipe-content {
  padding: 1.5rem;
}

.recipe-content h3 {
  margin: 0 0 0.5rem;
}

#upload-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-top: 3rem;
}

#upload-section h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

#upload-form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
}

#upload-form input,
#upload-form textarea,
#upload-form select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.hint {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

.upload-info {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

#login-required {
  background: #fff8e1;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
}