
* {
  box-sizing: border-box;
  margin: 0; padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background: #f0fdf4;
  color: #14532d;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  background: #14532d;
  color: white;
  padding: 15px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.header-container {
  max-width: 960px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s;
}
nav a:hover {
  color: #a7f3d0;
}
nav a.active {
  text-decoration: underline;
  font-weight: 700;
}
main {
  flex: 1;
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
}
.form-container, .dashboard-container {
  background: white;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(20,83,45,0.2);
}
h1 {
  margin-bottom: 25px;
  color: #14532d;
  font-weight: 700;
  text-align: center;
}
label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}
input[type="text"], input[type="email"], select {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 2px solid #a7f3d0;
  border-radius: 6px;
  font-size: 1rem;
  outline-offset: 2px;
}
input[type="text"]:focus, input[type="email"]:focus, select:focus {
  border-color: #166534;
  outline: none;
}
button {
  margin-top: 25px;
  width: 100%;
  background: #14532d;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
button:hover {
  background: #166534;
}
.error {
  background: #fee2e2;
  color: #b91c1c;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}
.success {
  background: #d1fae5;
  color: #065f46;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}
footer {
  background: #14532d;
  color: white;
  padding: 15px 20px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: auto;
}
