* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: #f8f9fa;
  color: #1a1a1a;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: white;
  position: relative;
  padding-bottom: 80px;
}

.header {
  padding: 1rem;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.memory-orb {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  cursor: pointer;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.quick-actions {
  display: flex;
  padding: 1rem;
  gap: 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.action-btn {
  flex: 1;
  padding: 0.75rem;
  border-radius: 12px;
  background: white;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-size: 0.875rem;
  cursor: pointer;
}

.action-btn:active {
  background: #f1f5f9;
}

.content-section {
  padding: 1rem;
  display: none;
}

.content-section.active {
  display: block;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.memory-card {
  padding: 1rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.memory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.memory-type {
  font-size: 0.875rem;
  color: #6b7280;
}

.memory-timestamp {
  font-size: 0.75rem;
  color: #94a3b8;
}

.memory-content {
  font-size: 0.9375rem;
  color: #1e293b;
  line-height: 1.5;
}

.nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  background: white;
  border-top: 1px solid #e2e8f0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #64748b;
  font-size: 0.75rem;
  cursor: pointer;
}

.nav-item.active {
  color: #2563eb;
}

.timeline-date {
  background: #f1f5f9;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: 0.875rem;
  color: #64748b;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.document-card {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.document-icon {
  background: #f1f5f9;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-group {
  margin-bottom: 1.5rem;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.settings-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toggle {
  width: 48px;
  height: 24px;
  background: #e2e8f0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle.active {
  background: #2563eb;
}

.toggle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}

.toggle.active::after {
  transform: translateX(24px);
}





.recording-section {
  text-align: center;
  padding: 40px 20px;
}

.recording-status {
  font-size: 18px;
  margin-bottom: 20px;
  color: #007AFF;
}

.verify-section {
  padding: 20px;
}

.verify-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
}

.search-section {
  padding: 20px;
}

.search-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
}

.search-results {
  margin-top: 20px;
}

.waveform {
  width: 200px;
  height: 60px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.waveform-bar {
  width: 3px;
  background: #007AFF;
  height: 20px;
  animation: waveform 1s infinite;
}

@keyframes waveform {
  0% { height: 20px; }
  50% { height: 40px; }
  100% { height: 20px; }
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007AFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}














.source-list {
  margin-left: 1rem;
  font-size: 0.8125rem;
  color: #6B7280;
}

.source-list li {
  margin: 0.25rem 0;
}

.trend-visualization {
  display: flex;
  align-items: flex-end;
  height: 60px;
  gap: 8px;
  padding: 1rem 0;
  border-bottom: 1px solid #E5E7EB;
  margin: 1rem 0;
}

.trend-point {
  width: 20px;
  background: #2563EB;
  height: calc(var(--value));
  border-radius: 4px 4px 0 0;
  position: relative;
}

.trend-point::after {
  content: attr(style);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #6B7280;
}

.confidence-meter {
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  margin: 0.5rem 0;
  overflow: hidden;
}

.confidence-meter-fill {
  height: 100%;
  background: #2563EB;
  transition: width 0.3s ease;
}

/* Specific styles for each notification type */
.ai-notification[data-type="MEETING"] .ai-reasoning {
  border-left: 3px solid ${NOTIFICATION_TYPES.MEETING.borderColor};
}

.ai-notification[data-type="FACT_CHECK"] .confidence-meter-fill {
  background: #EAB308;  /* Yellow for medium confidence */
}

.ai-notification[data-type="HEALTH"] .trend-visualization {
  background: ${NOTIFICATION_TYPES.HEALTH.bgColor}20;
  padding: 1rem;
  border-radius: 8px;
}