@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html, body {
  display: grid;
  height: 100%;
  width: 100%;
  place-items: center;
  background: #f2f2f2;
}
::selection {
  background: #4158d0;
  color: #fff;
}
.wrapper {
  width: 380px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
}
.wrapper .title {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  line-height: 100px;
  color: #fff;
  user-select: none;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(-135deg, #c53a17, #4158d0);
}
.wrapper form {
  padding: 10px 30px 40px 30px;
}
.wrapper form .field {
  height: 50px;
  width: 100%;
  margin-top: 20px;
  position: relative;
}
.wrapper form .field input {
  height: 100%;
  width: 100%;
  outline: none;
  font-size: 17px;
  padding-left: 20px;
  border: 1px solid lightgrey;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.wrapper form .field input:focus,
.wrapper form .field input:valid {
  border-color: #4158d0;
}
.wrapper form .field label {
  position: absolute;
  top: 50%;
  left: 20px;
  color: #999999;
  font-weight: 400;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}
.wrapper form .field input:focus ~ label,
.wrapper form .field input:valid ~ label {
  top: 0%;
  font-size: 16px;
  color: #4158d0;
  background: #fff;
  transform: translateY(-50%);
}
form .content {
  display: flex;
  width: 100%;
  height: 50px;
  font-size: 16px;
  align-items: center;
  justify-content: space-around;
}
form .content .checkbox {
  display: flex;
  align-items: center;
}
form .content input[type="checkbox"] {
  width: 15px;
  height: 15px;
}
form .content label {
  color: #262626;
  user-select: none;
  padding-left: 5px;
}
form .field input[type="submit"] {
  color: #fff;
  border: none;
  padding-left: 0;
  margin-top: -10px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(-135deg, #c53a17, #4158d0);
  transition: all 0.3s ease;
}
form .field input[type="submit"]:active {
  transform: scale(0.95);
}
.signup-link a {
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 12px 0;
  margin-top: 0px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  background: linear-gradient(-135deg, #c53a17, #4158d0);
  transition: all 0.3s ease;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.signup-link a:hover {
  transform: scale(1.03);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.signup-link a:active {
  transform: scale(0.95);
}
form .signup-link {
  color: #262626;
  margin-top: 20px;
  text-align: center;
}
form .signup-link a {
  color: #fafafa;
  text-decoration: none;
}
form .signup-link a:hover {
  text-decoration: underline;
}
form .pass-link a {
  color: #4158d0;
  text-decoration: none;
}
form .pass-link a:hover {
  text-decoration: underline;
}
.message {
  margin-top: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}
.message.success {
  color: green;
}
.message.error {
  color: red;
}
@media (max-width: 420px) {
  .wrapper {
    width: 90%;
  }
  .wrapper .title {
    font-size: 28px;
    line-height: 80px;
  }
}
.field select {
  width: 100%;
  height: 50px;
  font-size: 16px;
  padding-left: 20px;
  border: 1px solid lightgrey;
  border-radius: 25px;
  outline: none;
  color: #333;
  transition: all 0.3s ease;
  appearance: none; 
  background-color: #fff;
  cursor: pointer;
}
.field select:focus {
  border-color: #4158d0;
}
.message-box {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.hidden {
    display: none;
}


