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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  min-height: 100vh;
  padding: 20px;
}

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

header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.date-display {
  font-size: 1.2rem;
  opacity: 0.9;
}

.add-anything-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#addAnythingForm {
  display: flex;
  gap: 10px;
}

#utteranceInput {
  flex: 1;
  padding: 15px;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
}

#utteranceInput:focus {
  border-color: #667eea;
}

button[type="submit"] {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: #667eea;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background: #5568d3;
}

button[type="submit"]:active {
  transform: scale(0.98);
}

.feedback {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  display: none;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback.show {
  display: block;
}

.feedback.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.feedback.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.three-column-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.column {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.column h2 {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  font-size: 1.3rem;
}

.hanna-column h2 {
  color: #ff6b9d;
}

.logan-column h2 {
  color: #4ecdc4;
}

.team-column h2 {
  color: #f7b731;
}

.events-list, .tasks-list, .groceries-list {
  min-height: 100px;
}

.loading {
  text-align: center;
  padding: 30px;
  color: #999;
  font-style: italic;
}

.event-item, .task-item, .grocery-item {
  padding: 12px;
  margin-bottom: 10px;
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  border-radius: 6px;
  transition: transform 0.2s;
}

.event-item:hover, .task-item:hover, .grocery-item:hover {
  transform: translateX(5px);
}

.event-time {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 5px;
}

.event-title, .task-title, .grocery-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.event-description {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

.bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tasks-section, .groceries-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tasks-section h2, .groceries-section h2 {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  font-size: 1.3rem;
}

.grocery-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left-color: #27ae60;
}

.grocery-priority {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.priority-today {
  background: #e74c3c;
  color: white;
}

.priority-high {
  background: #f39c12;
  color: white;
}

.priority-medium {
  background: #3498db;
  color: white;
}

.priority-low {
  background: #95a5a6;
  color: white;
}

.empty-state {
  text-align: center;
  padding: 40px;
  color: #999;
}

.empty-state::before {
  content: '✨';
  display: block;
  font-size: 3rem;
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .three-column-layout {
    grid-template-columns: 1fr;
  }

  .bottom-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  #addAnythingForm {
    flex-direction: column;
  }

  button[type="submit"] {
    width: 100%;
  }
}
