.main-wrapper {
  margin: 0;
  height: 0;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: #fff;

  --login-region-primary: #008837;
  --login-region-label-background: #008837;
  --login-region-button-submit-hover-background: rgb(240, 240, 240);
  --login-region-button-submit-hover-color: #008837;
  --login-region-label-color: rgb(240, 240, 240);
  --login-region-secondary: rgb(240, 240, 240);
  --login-region-text: rgb(240, 240, 240);
}

.main, .main-login {
  width: 65vw;
  min-height: 525px;
  height: 70vh;
  overflow: hidden;
  font-family: sans-serif;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.main-login {
  width: 350px;
  flex-direction: column;
  --login-region-secondary: #008837;
  --login-region-button-submit-hover-background: #008837;
  --login-region-button-submit-hover-color: rgb(240, 240, 240);
  --login-region-label-color: #008837;
  --login-region-label-background: #fff;
  --login-region-text: #999;
}

.confirm_acount {
  min-height: 320px !important;
  height: 320px !important;
}


.left, .right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  width: 65%;
}

.left ::selection {
  color: #fff;
  
  background-color: var(--login-region-primary);
}

.main-login .left {
  width: auto;
}

.right ::selection {
  color: var(--login-region-primary);
  background-color: #fff;
}

.right {
  width: 35%;
  background-color: var(--login-region-primary);
  color: rgb(224, 224, 224);
}

.title {
  position: relative;
  color: var(--login-region-primary);
  margin-top: 1rem;
  font-size: 1.6rem;
  border-color: transparent ;
  text-transform: none;
}

.title::after {
  content: "";
  display: block;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--login-region-primary);
  margin: 20px auto;
  margin-bottom: -10px;
}


.subtitle {
  font-size: .91rem;
  text-align: center;
  color: rgb(131, 131, 131);
  line-height: 20px;
  padding: 0 20px;
}

.start {
  padding: 5px;
  height: 50px;
  width: 40%;
  color: rgb(131, 131, 131);
  font-size: 1.1rem;
  border: 1px solid var(--login-region-primary);
  background-color: transparent;
  margin-top: 10px;
  border-radius: 50px;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.2s ease-in-out;
}

.start a {
  display: block;
  color: rgb(131, 131, 131);
  text-decoration: none;
  line-height: 40px;
  outline: none;
  height: 100%;
  width: 100%;
}

.start:hover {
  color: #fff;
  border-color: transparent;
  background-color: var(--login-region-primary);
}

.start:hover a {
  color: #fff;
}

.left .tde-logo {
  margin-top: 10px;
  margin-left: 20px;
  margin-right: auto;
  height: 80px;
  width: 60px;
}

.right .title {
  margin-top: 6.5rem;
  color: #fff;
}

.right .title::after {
  background-color: #fff;
  margin-left: calc(50% - 30px);
}

.right .subtitle {
  font-size: .91rem;
  color: rgb(224, 224, 224);
  text-align: center;
  padding: 0 20px;
  margin-bottom: 10px;
}

form {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-login form {
  margin-top: 40px;
}


form .input-group {
  position: relative;
  width: 80%;
  margin-bottom: 2rem;
}

form .input-group:last-child {
  margin-bottom: 0;
}

form input[type=text], 
form input[type=password], 
form input[type=email] {
  display: block;
  width: 98%;
  background-color: transparent;
  color: var(--login-region-text);
  outline: 1px solid var(--login-region-secondary);
  font-weight: 700;
  border-radius: 40px;
  height: 40px;
  border: none;
  text-indent: 20px;
}

form input[type=text] + label, 
form input[type=password] + label, 
form input[type=email] + label {
  position: absolute;
  top: -7px;
  left: 15px;
  color: var(--login-region-label-color);
  padding: 0 4px;
  font-size: 12px;
  font-family: sans-serif;
  background-color: var(--login-region-label-background);
}

.right .action {
  font-size: 12px;
  margin-top: 8px;
  cursor: pointer;
} 

.right .action:hover {
  text-decoration: underline;
}

form button[type=submit] {
  height: 45px;
  width: 80%;
  color: var(--login-region-label-color);
  margin-top: -10px;
  cursor: pointer;
  border: none;
  border-radius: 45px;
  outline: 1px solid var(--login-region-label-color);
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

form button[type=submit]:hover {
  color: var(--login-region-button-submit-hover-color);
  background-color: var(--login-region-button-submit-hover-background);
  outline-color: transparent;
}

.linear-loader {
  margin: 0 auto;
  margin-top: 5px;
  opacity: 0;
}

@media only screen and (max-width: 600px) {
  .left .tde-logo {
    margin-top: 10px;
  }

  .main-wrapper {
    display: block;
  }

  .main {
    width: 90vw;
    height: auto;
    display: block;
    margin: 20px auto;
  }
}

@media only screen and (max-width: 768px) {

  .main-wrapper {
    display: block;
    overflow: auto;
  }

  .main { 
    width: 90vw;
    height: auto;
    display: block;
    margin: 20px auto;
  }
  

  .left {
    width: auto;
    height: auto;
  }

  .left .tde-logo {
    margin-top: 10px;
  }
  
  .right {
    width: auto;
    height: auto;
  }

  .right .title {
    margin-top: 1rem;
  }
}
