form {
  max-width: 400px;
  margin: 30px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #004080;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 15px;
}

form button {
  width: 100%;
  padding: 12px;
  background: #0a2743;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}
@media (max-width:700px){
    form button {
      margin-top: 15px;
    }
}

form button:hover {
  background: #003060;
}

form .link-area {
  margin-top: 15px;
  text-align: center;
}

form .link-area a {
  color: #004080;
  text-decoration: none;
  font-size: 0.95em;
}

form .link-area a:hover {
  text-decoration: underline;
}
.links {
    margin-top: 25px;
    text-align: center;
}
.links a{
    text-decoration: none;
    color: #004080;
}

.alert {
  max-width: 400px;
  margin: 20px auto;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 0.95em;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
}

.modal-overlay button {
  width: 100%;
  padding: 12px;
  background: #004080;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-overlay button:hover {
  background: #003060;
}

