@import url(/css/base.css);

.brand-logo {
  width: 100%;
  height: 100px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("/img/logo/logo.gif");
}

.login-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-content {
  width: 300px;
}
.survey .login-content {
  width: 420px;
}
.btn-google-login {
  width: 100%;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  background: var(--HC_Black_01);
  color: var(--HC_White_01);
  border-radius: 4px;
}
.btn-google-login:focus {
  background: var(--HC_Black_03);
  color: var(--HC_White_01);
}
.btn-google-login:hover {
  background: var(--HC_Black_03);
  color: var(--HC_White_01);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.btn-google-login:active {
  color: var(--HC_White_01);
}
.btn-google-login:disabled {
  color: var(--HC_White_01);
  background: var(--HC_Gray_03);
  opacity: 1;
}

.separator {
  width: 100%;
  margin: 20px 0;
  border-color: var(--HC_Gray_03);
}

.login-container form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group {
  margin-bottom: 0;
}

.form-group-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.form-container .input-group input,
.form-container input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--HC_Gray_03);
  border-radius: 4px;
  color: var(--HC_Black_01);
}

.form-container .input-group input::placeholder {
  color: var(--HC_Gray_01);
}

.form-container .input-group input:focus {
  border-color: var(--HC_Red_01);
}

.form-container .input-group .form-control:first-child,
.form-container .input-group .form-control:last-child {
  border-radius: 4px;
}

.btn-hc-primary {
  height: 50px;
}

.btn-reset-password {
  margin: 6px 0 60px;
  padding: 0;
  color: var(--HC_Black_03);
}
.btn-reset-password:hover {
  color: var(--HC_Red_01);
}

.bv-form .help-block,
#connection-attempts {
  margin-top: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.2px;
  color: var(--HC_Red_01);
}

.login-container .bv-form .help-block,
.login-container #connection-attempts {
  height: 32px;
  margin: -48px 0 16px;
}
/**
  Always show a single error message (they're all the same anyway)
  Very hackish, but bootstrapValidator doesn't seem to provide an easy way around...
*/
.login-container .bv-form .help-block:not([style*="display: none"]) ~ .help-block,
#connection-attempts.error ~ .help-block {
  display: none !important; /** They do set style="display: inline" on not-empty, so we need to be stronger... */
}
.footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 7px;
  border-top: 1px solid var(--HC_Gray_03);
  &:is(.survey .footer) {
    margin-top: 20px;
  }
}

.footer select {
  background: none;
  border: none;
}

.footer select,
.policy a {
  color: var(--HC_Black_04);
}

.policy a:hover {
  color: var(--HC_Red_01);
}

.policy {
  display: flex;
  gap: 12px;
}

/*chrome hacks*/
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-webkit-autofill::first-line {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
  box-shadow: 0 0 0px 1000px white inset;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  font-family: "Noto Sans KR", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.jp input:-webkit-autofill::first-line {
  font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.no-cookie {
  display: none;
  visibility: hidden;
  position: absolute;
  background-color: white;
  height: 200px;
}
.no-cookie.visible {
  display: block;
  visibility: visible;
  z-index: 999;
}
