:root {
  --fb-logo: url("/member/common2021/images/socialmedia/facebook.svg") no-repeat top left;
  --gmail-logo: url("/member/common2021//images/socialmedia/google.svg") no-repeat top left;
  --apple-logo: url("/member/common2021//images/socialmedia/appleid.svg") no-repeat top left;
  /*--fb-logo: url("../images/socialmedia/facebook.svg") no-repeat top left;
  --gmail-logo: url("../images/socialmedia/google.svg") no-repeat top left;
  --apple-logo: url("../images/socialmedia/appleid.svg") no-repeat top left;*/
}

/* Login
/*------------------------------------------------------------*/
html,
body {
  height: 100%;
}

.login {
  background: var(--gradient-blue);
}

.login .form {
  width: 420px;
}
.login .form__item:last-of-type {
  margin-bottom: var(--spacing);
}


/* Social Login */
.social__icon {
  width: 48px;
  height: 48px;
  background: var(--fb-logo);
  background-size: 48px 48px;
  position: relative;
  top: 0;
  transition: top .3s ease-in-out;
}

.social__icon:hover {
  top: -3px;
}

.social__icon--google {
  background: var(--gmail-logo);
}

.social__icon--apple {
  background: var(--apple-logo);
}


/* T&C Message */
.login .form .tnc {
  font-size: 12px;
  color: #aaa;
}

.login .form .tnc a:link,
.login .form .tnc a:visited {
  color: #aaa;
  text-decoration: underline;
}

.login .form .tnc a:hover {
  color: #ccc;
}


/* Login (Promotion)
/*------------------------------------------------------------*/
.login--promo .form {
  width: 100%;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.login--promo img {
  width: 100%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}


/* Login (OTP)
/*------------------------------------------------------------*/
/* Login Tab - Email or Login name / One-Time Password */
.tab__control {
  margin-bottom: 20px;
}

.tab {
  border-bottom: 1px solid #e1e1e1;
  display: flex;
  row-gap: 5px;
}

.tab li {
  width: 50%;
}

.tab a {
  width: 100%;

  font-size: 14px;
  color: #333;
  text-align: center;

  padding-bottom: 6px;
  border-bottom: 3px solid transparent;

  display: flex;
  align-items: center;
  justify-content: center;
}

.tab a:hover {
  opacity: .7;
}

.tab a.active,
.tab a.active:hover {
  color: var(--primary);
  opacity: 1;
  border-bottom-color: var(--primary);
}


/* Login (OTP) - Form */
.login--otp .password-login {
  font-size: 15px;
  margin-top: 30px;
}

.login--otp .check-spam,
.forgot-pw .check-spam {
  font-size: 13px;
  margin: 15px 0;
}


/* OTP Input */
.otp__wrapper {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.otp__wrapper .prefix {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
  flex-shrink: 0;
}

#otp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}


/* Reset the style of input[type=number] */
#otp .field__input::-webkit-outer-spin-button,
#otp .field__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#otp .field__input {
  -moz-appearance: textfield;
}


/* Styling */
#otp .field__input {
  width: 16.7%;
  height: 48px;

  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  text-align: center;

  background-color: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: unset;
  
  margin: 0;
}

#otp .field__input:focus {
  outline: none !important;
  border: 2px solid #ddd;
}

@media (min-width: 375px) {
  #otp .field__input {
    min-width: 40px;
  }
}



@media (min-width: 375px) {
  #otp .field__input {
    min-width: 40px;
  }
}

/* 444px = 420px + 12px*2 Padding */
@media (min-width: 444px) {
  .login--promo .form {
    width: 420px;
  }

  .login--promo img {
    width: 420px;
  }

  #otp {
    width: 100%;
  }

  .otp__wrapper {
    flex-direction: unset;
  }
  
  .otp__wrapper .prefix {
    font-size: 22px;
  }  
  
}

@media (min-width: 992px) {
  .login--promo .form {
    border-radius: 20px;
  }

  .login--promo img {
    width: 60%;
    margin-right: 30px;
    border-radius: 20px;
  }
  
	.tab a {
		font-size: unset;
		padding-bottom: 8px;
	}
}