body {
  margin: 0;
  font-family: Georgia, serif;
  background-color: #f7f7f7;
}
.error {
  color: red;
  font-size: 14px;
  margin-top: -15px;
  margin-bottom: 10px;
}
.success {
  color: green;
  font-size: 14px;
  margin-top: -15px;
  margin-bottom: 10px;
}
/* SIGNUP FORM */
.signup-container {
  width: 400px;
  padding: 30px;
  margin: 60px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.18);
}

.signup-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0 20px;
  border-radius: 6px;
  border: 1px solid #aaa;
  font-size: 16px;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #ee0e2c;
  border: none;
  color: white;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
button:hover {
  background-color: #c70c26;
}

/* TERMS CHECKBOX */
.terms {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.terms label {
  margin-left: 8px;
  cursor: pointer;
  text-decoration: underline;
  color: #333;
}

/* MODAL POPUP */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  width: 80%;
  max-width: 700px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 26px;
  cursor: pointer;
  color: #333;
  transition: 0.2s;
}
.close:hover { color: #ee0e2c; }

/* RESPONSIVE */
@media (max-width: 700px) {
  .Header { flex-direction: column; align-items: flex-start; }
  nav { flex-direction: column; width: 100%; }
  .Login-Signup { flex-direction: row; }
  .signup-container { width: 90%; }
}