@font-face {
  font-family: "Helvetica";
  src: url("../fonts/Helvetica.ttf") format("truetype");
}
body {
  font-family: "Helvetica", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  width: 320px;
  padding: 40px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 500;
}

.login-box input {
  width: 100%;
  padding: 12px 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.login-box button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background-color: #059669;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-box button:hover {
  background-color: #059669;
}


.error-message {
  color: red;
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: none; 
}

.error-message:not(:empty) {
  display: block;
}



@media (max-width: 480px) {
  .login-box {
    width: 90%;
    padding: 30px 20px;
  }

  header h1 {
    font-size: 22px;
  }

  .login-box h2 {
    font-size: 20px;
  }

  .login-box input,
  .login-box button {
    font-size: 14px;
  }
}
