/* Custom ChefAI Styles */
:root {
  --chef-success: #198754;
  --chef-light: #f8f9fa;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #2d3436;
}

.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Chat styles */
.chat-container {
  display: flex;
  flex-direction: column;
}

.chat-messages {
  background-color: #f1f3f5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  padding: 12px 16px;
  border-radius: 15px;
  max-width: 85%;
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: pre-wrap;
}

.user-message {
  align-self: flex-end;
  background-color: var(--chef-success);
  color: white;
  border-bottom-right-radius: 2px;
}

.ai-message {
  align-self: flex-start;
  background-color: white;
  color: #333;
  border-bottom-left-radius: 2px;
}

.ai-message p:last-child {
  margin-bottom: 0;
}

/* Cards */
.card {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

/* Utils */
.x-small { font-size: 0.75rem; }
.object-fit-cover { object-fit: cover; }

.markdown-body ul, .markdown-body ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

/* Typing indicator */
.typing {
  font-style: italic;
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
}
