body {
  background: #f0f0f0;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

nav {
  background: #2c3e50;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav span {
  font-size: 20px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

.login-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.login-container input {
  padding: 5px;
}

.login-container button {
  padding: 6px 10px;
  background: #3498db;
  border: none;
  color: white;
  cursor: pointer;
}

.login-container button:hover {
  background: #2980b9;
}

main {
  padding: 40px 20px;
  text-align: center;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 6px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}

.modal-content button {
  margin-top: 10px;
  padding: 10px;
  width: 48%;
  background: #2c3e50;
  color: white;
  border: none;
  cursor: pointer;
}

.modal-content button[type="submit"] {
  background: #27ae60;
}

.modal-content button:hover {
  opacity: 0.9;
}

/* Profil-Dropdown */
.profile-dropdown {
  position: relative;
}

.profile-dropdown button {
  background: #34495e;
  color: white;
  padding: 6px 10px;
  border: none;
  cursor: pointer;
}

.profile-dropdown .dropdown-content {
  position: absolute;
  right: 0;
  top: 35px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  min-width: 150px;
  display: none;
  z-index: 99;
}

.profile-dropdown .dropdown-content a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.profile-dropdown .dropdown-content a:hover {
  background: #eee;
}

.profile-dropdown.show .dropdown-content {
  display: block;
}

.hidden {
  display: none !important;
}

/* Responsives Verhalten */
@media (max-width: 600px) {
  .login-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 5px;
  }

  .modal-content {
    width: 95%;
  }
}