/* Grunddesign */
:root {
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --primary: #0991e5; /* Netflix-Rot für den Akzent */
  --text: #ffffff;
  --input-bg: #2a2a2a;
}

body.login-body {
  background-color: var(--bg-color);
  font-family: "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: var(--text);
}

.login-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.login-title span {
  color: var(--primary);
  font-weight: bold;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-field {
  background: var(--input-bg);
  border: 1px solid transparent;
  padding: 12px 15px;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  transition: 0.3s;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-login {
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
  transition: 0.3s;
}

.btn-login:hover {
  background: #0991e5;
  transform: translateY(-2px);
}

.back-link {
  display: block;
  margin-top: 20px;
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover {
  color: var(--text);
}

.message {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.success {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid #2ecc71;
}
.error {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid #e74c3c;
}
