/*
Name: Aashis rawal
Student ID: 11211
University ID: 24071214
*/

*{
  box-sizing: border-box;
}

/* Page center */
body {
  background: #111;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: #fff;
}

/* Remove underline */
a {
  text-decoration: none;
}

/* Form box */
form {
  background: #222;
  padding: 25px;
  width: 350px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(6, 236, 213, 0.3);
}

/* Page heading */
h2 {
  text-align: center;
  margin: 0 0 14px;
  color: #00cccc;
}

/* Home link */
.home-link {
  color: #00cccc;
  font-size: 16px;
}

/* Input fields */
input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: none;
  outline: none;
}

/* Checkbox row */
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* Checkbox input */
.checkbox input {
  width: auto;
  margin: 0;
}

/* Submit button */
button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  background: #00cccc;
  color: #111;
}

/* Button hover */
button:hover {
  opacity: 0.9;
}

/* Error text */
.error {
  font-size: 14px;
  text-align: center;
  margin: 6px 0;
  color: #ff5c5c;
  font-weight: 700;
}

/* Register row */
.register-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

/* Register link */
.register-link a {
  color: #0ff;
  font-weight: bold;
}

.register-link a:hover {
  text-decoration: underline;
}

/* 
   MOBILE RESPONSIVE
 */
@media (max-width: 768px){

  body{
    padding: 12px;
    height: auto;
    align-items: flex-start;
  }

  form{
    width: 100%;
    max-width: 380px;
    margin-top: 30px;
  }

  input, button{
    font-size: 16px; /* stops iPhone zoom */
  }
}

