/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
  padding: 24px;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

/* Header */
.header {
  background: white;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  padding: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.account-erstellen img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  transition: background 0.2s;
}

.account-erstellen:hover img {
  background: #f0f0f0;
}

/* Main Inhalte */
main h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 16px;
}

main h3 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #444;
}

main > a {
  display: block;
  text-align: right;
  margin-bottom: 24px;
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
}

main > a:hover {
  text-decoration: underline;
}

label {
  display: block;
  margin: 16px 0 6px;
  font-weight: 500;
  color: #333;
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  margin-bottom: 10px;
}

input:disabled {
  background: #eee;
  color: #999;
  cursor: not-allowed;
}

button {
  padding: 12px 18px;
  font-size: 15px;
  background: #0077cc;
  color: white;
  border: none;
  border-radius: 8px;
  margin-top: 4px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #005fa3;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.button-link {
  display: inline-block;
  padding: 12px 18px;
  font-size: 15px;
  background: #0077cc;
  color: white;
  border: none;
  border-radius: 8px;
  margin-top: 4px;
  margin-bottom: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.button-link:hover {
  background: #005fa3;
}

.danger {
  background: #e53935;
}

.danger:hover {
  background: #c62828;
}

#userInfo {
  font-size: 16px;
  margin-bottom: 24px;
  color: #444;
}

/* Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 16px;
  background: #f1f1f1;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ddd;
}

footer .informations a {
  color: #0077cc;
  text-decoration: none;
}

footer .informations a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  body > main {
    padding: 16px;
    margin: 0 12px;
  }
}
