* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  background-color: transparent !important;
}

input:-moz-autofill {
  background-color: transparent !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  position: fixed;
  top: 0.5rem;
  left: 1rem;
  cursor: pointer;
}
main {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
}

section {
  flex: 1;
  padding: 3rem;
}

.left-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}
.heading-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.header {
  font-weight: 600;
}

.sign-in-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

input {
  width: 300px;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  padding-bottom: 5px;
  outline: none;
  transition: all 0.3s ease-in-out;
  font-size: 14px;
}

input:focus {
  border-color: #aaa;
}

#password {
  padding-right: 35px;
}

.password-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.password-input-wrapper {
  position: relative;
  user-select: none;
}

.show-password-btn,
.hide-password-btn {
  position: absolute;
  right: 0;
  bottom: 2px;
  cursor: pointer;
}

.hide-password-btn {
  display: none;
}
.forgot-password {
  font-size: 15px;
}

.password-err,
.email-err,
.common-err,
.disable-err {
  font-size: 14px;
  color: red;
  display: none;
}
.disable-err {
  width: 300px;
}
#sign-in {
  width: 100px;
  padding: 8px 10px;
  outline: none;
  border: none;
  background: #673ab7;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  background-position: center;
  transition: background 0.8s;
}

#sign-in:hover {
  background: #551eb4 radial-gradient(circle, transparent 1%, #551eb4 1%)
    center/15000%;
}

#sign-in:active {
  background-color: #673ab7;
  background-size: 100%;
  transition: background 0s;
}

.signup-wrapper {
  display: flex;
  gap: 5px;
}
.singup-anchor,
.forgot-password {
  color: #673ab7;
  text-decoration: none;
}

.singup-anchor {
  font-weight: 500;
}

.right-wrapper {
  background: url(../images/banner.svg);
  background-repeat: no-repeat;
  background-size: 85%;
  background-position: center;
}

.lds-ellipsis {
  display: none;
  position: relative;
  width: 80px;
  align-items: center;
  height: 36px;
  justify-content: center;
}

.lds-ellipsis div {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #673ab7;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
  -webkit-animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
  -webkit-animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
  -webkit-animation: lds-ellipsis3 0.6s infinite;
}

@-webkit-keyframes lds-ellipsis1 {
  0% {
    -webkit-transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
  }
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@-webkit-keyframes lds-ellipsis3 {
  0% {
    -webkit-transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}
@-webkit-keyframes lds-ellipsis2 {
  0% {
    -webkit-transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

@media only screen and (max-width: 1100px) {
  .right-wrapper {
    background-size: cover;
    background-position: left;
  }
}

@media only screen and (max-width: 786px) {
  section {
    padding: 0;
    padding-left: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .right-wrapper {
    display: none;
  }

  .left-wrapper {
    gap: 2.5rem;
    position: relative;
    max-height: 100vh;
    height: 100vh;
  }

  section {
    padding: 2rem;
  }

  .left-bg {
    display: block;
    position: absolute;
    bottom: -4rem;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0.5;
    z-index: -1;
    min-height: 35%;
  }
  .sign-in-form {
    width: 100%;
  }
  .input-wrapper,
  .password-wrapper {
    width: 100%;
  }
  input {
    width: 100%;
  }
}

@media only screen and (max-width: 320px) {
  section {
    padding: 1.5rem;
  }
  .signup-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color 0.218s, border-color 0.218s,
    box-shadow 0.218s;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}
