:root {
  --primary: #0ea5e9;
  --bg-light: #f8fafc;
  --card-light: #ffffff;
  --text-light: #1e293b;

  --bg-dark: #0b1020;
  --card-dark: #111827;
  --text-dark: #e5e7eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--bg-dark);
    --card: var(--card-dark);
    --text: var(--text-dark);
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: var(--bg-light);
    --card: var(--card-light);
    --text: var(--text-light);
  }
}

body {
  margin: 0;
  font-family: system-ui;
  background: var(--bg);
  color: var(--text);
}

.app-bar {
  display: flex;
  padding: 12px;
  justify-content: space-between;
  background: var(--card);
  border-bottom: 1px solid #ccc3;
  position: sticky;
  top: 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px;
}

.card {
  background: var(--card);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}

input, textarea, select, button {
  width: 100%;
  border-radius: 8px;
  padding: 10px;
  margin: 6px 0;
  border: 1px solid #94a3b8;
  background: var(--bg);
  color: var(--text);
}

button {
  background: var(--primary);
  border: none;
  color: white;
  font-weight: bold;
}

.hidden {
  display: none;
}

.tabs { display: flex; gap: 8px; }
.tablink { padding: 8px; flex: 1; background: var(--card); cursor: pointer; }
.tablink.active { background: var(--primary); color: white; }

.list .item {
  padding: 8px 0;
  border-bottom: 1px solid #ccc4;
}

.footer { text-align: center; padding: 20px; font-size: 14px; color: #888; }

.google-btn {
  background: white;
  color: #444;
  border: 1px solid #ddd;
  font-weight: bold;
}
