.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 0.5em 1em;
  font-family: sans-serif;
}

.nav-left, .nav-right {
  display: flex;
  gap: 1em;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 0.25em 0.5em;
}

.navbar a:hover {
  background-color: #333;
  border-radius: 4px;
}
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #222;
  min-width: 160px;
  z-index: 1000;
  flex-direction: column;
  border: 1px solid #444;
}

.dropdown-content a {
  display: block;
  padding: 0.5em;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #333;
}

.dropdown:hover .dropdown-content {
  display: flex;
}
.modal {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, 0);
  background: #222;
  color: white;
  padding: 1em;
  border: 1px solid #555;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.modal-form input {
  display: block;
  width: 100%;
  margin: 0.5em 0;
  padding: 0.5em;
  background: #111;
  color: white;
  border: 1px solid #444;
}

