/* Modern & Simple CSS Style */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9fb;
  color: #333;
  margin: 0;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.container {
  background-color: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  width: 100%;
}

h1 {
  margin-bottom: 1.5em;
  font-size: 1.8em;
  color: #222;
  text-align: center;
}

form > div {
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.4em;
  font-weight: 600;
  color: #555;
}

input[type="email"],
input[type="password"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  transition: border 0.2s ease-in-out;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #0066ff;
  outline: none;
}

button {
  background-color: #0066ff;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #004ccc;
}

p {
  margin-top: 1.5em;
  font-size: 0.95em;
  text-align: center;
}

a {
  color: #0066ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container für zentrierten Inhalt */
.container {
  max-width: 600px;
  margin: 60px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.navigation a {
  text-decoration: none;
  color: #2a6edc;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navigation a:hover {
  color: #1a4cb8;
}

/* Info Sektion */
.info h2 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

.info ul {
  padding-left: 20px;
  margin-bottom: 1rem;
}

.info p {
  margin-top: 0;
  line-height: 1.6;
}
/* Container und Grundlayout */
.container {
  max-width: 500px;
  margin: 50px auto;
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  line-height: 1.6;
  font-size: 18px; /* Große gut lesbare Schrift */
}

/* Überschrift */
h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #d35400; /* Oranger Farbton für Wärme */
}

/* Einleitungstext */
.intro-text {
  margin-bottom: 2rem;
  text-align: center;
}

/* Navigation als Buttons */
.navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 3rem;
}

.navigation a.btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  display: inline-block;
  min-width: 140px;
  text-align: center;
  user-select: none;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #2980b9; /* Blau für "Anmelden" */
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #1c598a;
}

.btn-secondary {
  background-color: #d35400; /* Orange für "Neu registrieren" */
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #a84100;
}

/* Info-Bereich */
.info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #34495e;
  text-align: center;
}

.info ol {
  padding-left: 20px;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.info p {
  font-size: 1.1rem;
  margin-top: 0;
  text-align: center;
  color: #555;
}
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #34495e;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  font-size: 1.1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #2980b9;
}

.info-text {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  text-align: center;
  color: #555;
}

.info-text a {
  color: #2980b9;
  font-weight: 600;
  text-decoration: none;
}

.info-text a:hover,
.info-text a:focus {
  text-decoration: underline;
}
/* Container styling */
.container.protected-container {
  max-width: 600px;
  margin: 60px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f8;
  color: #333;
}

/* Headings */
h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #2c3e50;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
}

p {
  font-size: 1rem;
  margin-bottom: 2em;
}

/* Button container: stacked buttons centered */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Button base styles */
.btn {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  width: 200px;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-align: center;
  line-height: 2.4rem;
}

/* Logout button */
.btn-logout {
  background-color: #ff4d4d;
}

.btn-logout:hover,
.btn-logout:focus {
  background-color: #e60000;
}

/* Primary link/button */
.btn-primary {
  background-color: #3498db;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #2980b9;
}

