/* ==========================================================================
   MAERS Schedule — 共享基础样式 (base.css)
   设计 tokens 与 QuantiLife 保持一致
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg-base: #0a0a0c;
  --bg-card: rgba(20, 20, 24, 0.85);
  --bg-input: rgba(255, 255, 255, 0.06);
  --bg-input-focus: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.2);
  --text-main: #f0f0f2;
  --text-sub: #8a8a90;
  --text-dim: #555560;
  --accent: #7c6aef;
  --accent-glow: rgba(124, 106, 239, 0.3);
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* Quadrant colors */
  --q-do: #ef4444;
  --q-plan: #3b82f6;      /* Blue for 重要不紧急 */
  --q-delegate: #f59e0b;  /* Orange for 不重要紧急 */
  --q-eliminate: #6b7280;
}

html {
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* === Global Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* === Layout === */
.app-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

/* === Toast === */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}