/* frontend/static/style.css */
:root {
  --bg-start: #262C6B;
  --bg-end: #1B2050;
  --text: #F1F5FF;
  --accent: #14F1D9;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: #454C99;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg-start), var(--bg-end));
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 200px;
}

.brand-header {
  display: block;
  margin-bottom: 20px;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

h1, h2 { font-weight: 800; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
}

.hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.hero-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 22px rgba(20, 241, 217, 0.6);
  margin: 6px 0;
}

.bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(20, 241, 217, 0.8);
}

.item-list { list-style: none; padding: 0; margin: 0; }

.item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.item:last-child { border-bottom: none; }

.item-time { opacity: 0.5; font-size: 12px; }

label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  opacity: 0.85;
}

input[type="text"], input[type="email"], input[type="password"], select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
}

button, .btn {
  display: inline-block;
  width: 100%;
  padding: 14px;
  margin-top: 18px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: var(--bg-end);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.fehler {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.5);
  color: #ffb3b3;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.checkbox-zeile {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
}

.link-zeile { margin-top: 20px; font-size: 13px; text-align: center; opacity: 0.8; }
.link-zeile a { color: var(--accent); }

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 10px;
  background: rgba(15, 18, 54, 0.98);
  border-top: 1px solid var(--card-border);
  padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px));
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 140px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 4px;
  border-radius: 18px;
}

.nav-item svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

.nav-item.active {
  background: var(--accent);
  color: var(--bg-end);
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(20, 241, 217, 0.45);
}
