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

:root {
  --primary-color: #87CEEB;
  --secondary-color: #5fa8d3;
  --bg-dark: #0a0e27;
  --bg-panel: #12172f;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Figtree', 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
}

.wordmark {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wordmark.small {
  font-size: 1.1rem;
}

.letter-accent {
  color: var(--primary-color);
}

/* Login */

.login-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.site-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.site-footer a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.login-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.login-subtitle {
  color: var(--text-muted);
  margin: 0.5rem 0 2rem;
  font-size: 0.95rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form input {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
}

.login-form input:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.login-form button,
.logout-btn {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  background: var(--primary-color);
  color: #0a0e27;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-form button:hover,
.logout-btn:hover {
  background: var(--secondary-color);
}

.login-error {
  color: #ff8080;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Das eigentliche Dashboard ist jetzt die Angular-App (dashboard-app/) mit eigenem
   Stylesheet. Diese Datei bedient nur noch die serverseitig gerenderte Login-Seite. */
