/* static/style.css */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0; padding: 0; background: #fafafa; color: #333; line-height: 1.5; box-sizing: border-box; }

header {
  background: #2c3e50; color: white; padding: 1rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

h1 { margin: 0; font-size: 2rem; }

main {
  max-width: 1200px; margin: 0 auto; padding: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.chat-container, .search-container {
  flex: 1; min-width: 300px; background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); padding: 1rem; }

.chat-container { flex: 2; }

.input-area { display: flex; gap: 0.5rem; margin-bottom: 1rem; }

input[type="text"] { flex: 1; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; }

button { padding: 0.5rem 1rem; background: #2c3e50; color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; transition: background 0.2s; }

button:hover { background: #1a252f; }

button:disabled { background: #ccc; cursor: not-allowed; }

.chat-area, #search-results { margin-top: 1rem; }

.chat-response { padding: 0.5rem; background: #f5f5f5; border-radius: 4px; }

@media (max-width: 768px) { main { flex-direction: column; } .chat-container, .search-container { min-width: 100%; } } 