next.js/examples/with-react-hook-form/styles/login.module.css
login.module.css94 lines1.4 KB
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f5f5f5;
  font-family: "Roboto", sans-serif;
}

.greeting {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 2rem;
}

.form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}

.header {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.input {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.errorInput {
  border-color: #e53e3e;
}

.errorMessage {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.rememberMe {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.rememberMe label {
  font-size: 0.9rem;
  color: #333;
  margin-left: 0.5rem;
}

.submitButton {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submitButton:hover {
  background-color: #0056b3;
}
Quest for Codev2.0.0
/
SIGN IN