html,
body {
  height: 100%;
  margin: 0;
}

.login {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.loginSection {
  flex: 1;
  width: 100%;
  display: flex;
  gap: 20px;
  overflow: hidden;
}

.loginContainer {
  flex: 1 1 720px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loginContent {
  max-width: 400px;
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.loginHeaders {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loginHeader {
  font-size: 32px;
  font-weight: 700;
}

.loginDes {
  font-size: 13px;
  line-height: 19px;
  letter-spacing: 1%;
}

.loginForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.loginFail {
  height: 40px;
  padding: 0 20px;
  background: rgb(240, 82, 82, 0.2);
  color: #474747;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: .4s all;
}

.loginInput {
  position: relative;
  height: 40px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  display: flex;
  align-items: center;
  color: #6d6d6d;
}

.loginInput span{
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.loginInput span.show_password {
  left: auto;
  right: 20px;
  cursor: pointer;
}

.loginInput input {
  width: 100%;
  height: 100%;
  padding: 0 40px 0 50px;
  flex: 1;
  border: none;
  background: none;
  color: #6d6d6d;
}

.item-error {
  padding: 4px 0px 0px 6px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #fa6267;
  display: none;
}

.formInput.error .loginInput {
  border: 1px solid #fa6267;
}

.formInput.error .item-error {
  display: block;
}

.loginInput span {
  font-size: 18px;
}

.show_password {
  cursor: pointer;
}

.loginExtras {
  padding: 5px 0;
  color: #6d6d6d;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.loginExtras label {
  display: flex;
  align-items: center;
}

.loginExtras a {
  color: #005fe5;
}

.loginExtras a:hover {
  font-weight: 600;
}

.loginExtras input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 18px;
  height: 18px;
  border: none;
  margin-right: 10px;
  border-radius: 4px;
  position: relative;
  background-color: #f2f2f2;
  transition: all 0.2s ease;
  cursor: pointer;
}

.loginExtras input[type="checkbox"]:checked {
  background-color: #005fe5;
}

.loginExtras input[type="checkbox"]:checked::after {
  content: "✓";
  color: #fff;
  font-size: 12px;
  position: absolute;
  left: 4px;
  top: 1px;
}

.loginButton button {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 6px;
  background: #1432c5;
  color: #fff;
  font-family: "Inter";
  font-weight: 600;
  cursor: pointer;
}

.signUp {
  font-size: 13px;
  font-weight: 500;
  color: #6d6d6d;
}

.signUp a {
  color: #005fe5;
}

.loginImage {
  flex: 1;
  max-width: 600px;
  max-height: 100%;
  display: flex;
}

.loginImage img {
  max-height: 100%;
  width: 100%;
  object-fit: cover;
}

/* success */

.success{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.sucessInfo{
  max-width: 360px;
  height: fit-content;
  padding: 30px 40px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.successIcon img{
  height: 40px;
}

.successHeader{
  font-size: 18px;
  font-weight: 600;
}

.successMessage{
  color: #474747;
  text-align: center;
}

.successButtons{
  padding-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.successButtons button, .successButtons a{
  padding: 0 10px;
  height: 35px;
  border: none;
  background: none;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter';
  white-space: nowrap;
}

.successButtons a{
  display: flex;
  align-items: center;
  justify-content: center;
}

.successButtons .resendEmail, .successButtons .successLogin{
  background: #005fe5;
  color: #fff;
  border-radius: 5px;
}



.hidden{
  display: none;
}