/* Navbar and dropdown styles for global consistency */
.navbar {
  width: 100%;
  background: #222;
  color: #fff;
  padding: 1rem 0.5rem 1rem 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu {
  display: flex;
  gap: 1rem;
}
.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.menu a:hover {
  background: #444;
}
.login-link {
  margin-left: auto;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropbtn {
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  left: 0;
}
.dropdown-content a {
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
  border-radius: 4px;
}
.dropdown-content a:hover {
  background-color: #444;
}
.dropdown:hover .dropdown-content {
  display: block;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7f6;
}
.form-container, .dash-container {
  width: 100%;
  max-width: 400px;
  margin: 80px auto;
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  box-sizing: border-box;
}
h2, h1 {
  text-align: center;
  margin-bottom: 1rem;
}
input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
button, .btn {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  background: #16a085;
  border: none;
  color: white;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
}
button:hover, .btn:hover {
  background: #12876f;
}
.error {
  background: #ffefef; color: #c00;
  padding: 0.75rem; border-radius: 4px;
  margin-bottom: 1rem; font-size: .95rem;
  text-align: center;
}
p { text-align: center; margin-top: 1rem; }