/* Global base styles */
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Wrapper container for all views */
  .container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
  }
  
  /* Headlines */
  h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
  }
  
  /* Form elements */
  form input[type="text"],
  form input[type="password"],
  form input[type="date"],
  form input[type="number"],
  form textarea,
  form select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 16px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  form button {
    width: 100%;
    background-color: #007bff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
  }
  
  form button:hover {
    background-color: #0056b3;
  }
  
  /* Messages / Feedback */
  .message {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .message.error {
    color: #dc3545;
  }
  
  .message.success {
    color: #28a745;
  }
  
  /* Links */
  a {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* General spacing helpers */
  .mt-1 { margin-top: 10px; }
  .mt-2 { margin-top: 20px; }
  .mt-3 { margin-top: 30px; }
  
  /* Einheitliches Styling für alle Eingabefelder */
input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: #007bff;
  outline: none;
}

/* Button optimieren */
button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}
