/**
 * Basis: Variablen, Reset, Body, Offlinemodus
 */
:root {
  --bg-color: #f4f6f9;
  --surface-color: #ffffff;
  --text-main: #2d3748;
  --text-muted: #718096;
  --primary-color: #3182ce;
  --primary-hover: #2b6cb0;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --card-hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --column-bg: #edf2f7;
  --column-due-bg: #fff5f5;
  --column-due-border: #feb2b2;
  --column-new-bg: #ebf8ff;
  --column-new-border: #bee3f8;
  --column-done-bg: #f0fff4;
  --column-done-border: #9ae6b4;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

[data-theme='dark'] {
  --bg-color: #1a1a2e;
  --surface-color: #16213e;
  --text-main: #e2e8f0;
  --text-muted: #a0aec0;
  --primary-color: #63b3ed;
  --primary-hover: #81c8f0;
  --border-color: #2d3748;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --card-hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --column-bg: #2d3748;
  --column-due-bg: #4c1d1d;
  --column-due-border: #7c2d2d;
  --column-new-bg: #1d2d4c;
  --column-new-border: #3d5d8c;
  --column-done-bg: #1d4c2d;
  --column-done-border: #3d8c5d;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease;
}

body.offline-mode {
  background-color: #fff8f8;
}

body.offline-mode .app-header {
  border-bottom-color: #fed7d7;
}

.webauthn-container {
  max-width: 30rem;
  margin: 4rem auto;
  text-align: center;
}
