body {
  font-family: 'Inter', 'San Francisco', 'Roboto', sans-serif; 
  background: linear-gradient(74deg, #1377CE 0%, #005BAA 100%);
  color: #2B2B2B;
  font-size: 16px;
  margin: 0;
}

.main {
  min-height: 100vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 99;
  overflow: hidden;
}

.main.active {
  overflow: auto;
} 

.background-wrap {
  height: 100vh;
  width: 100vw;
  position: fixed;
  background: url(img/background.png);
  background-position: bottom left;
  background-size: 60%;
  background-repeat: no-repeat;
  z-index: -1;
}

.card {
  max-width: 640px;
  height: fit-content;
  border-radius: 24px;
  background: var(--Neutral-White, #FFF);
  box-shadow: 0px 4px 20px 0px rgba(22, 66, 109, 0.08);
  padding: 40px;
  margin-right: 5%;
  transition: 0.3s ease all;
  margin-top: 64px;
  margin-bottom: 64px;
}
.card-title {
font-size: 24px;
font-weight: 600;
margin-bottom: 9px;
}

.card-subtitle {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 12px;
}

.input-wrap label{
  display: block;
  margin-bottom: 8px;
  margin-top: 24px;
}

.input-wrap input{
  border-radius: 8px;
  border: 1px solid var(--Ink-Divier, #E0E1E1);
  background: var(--Ink-White, #FFF);
  height: 48px;
  font-size: 16px;
  width: calc(100% - 32px) ;
  padding: 0 16px ;
} 

.captcha-flex {
  display: flex;
  align-items: top;
}

.error-block {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--Color-Error-ColorErrorTextActive, #CF1322);
  margin-top: 8px;
}

.input-wrap.error .error-block,
.input-wrap:has(.captcha-flex.error) .error-block {
  display: block;
}

.error-block1 {
    font-size: 16px;
    font-weight: 500;
    color: var(--Color-Error-ColorErrorTextActive, #CF1322);
    margin-top: 8px;
}

.input-wrap.error .error-block1,
.input-wrap:has(.captcha-flex.error) .error-block1 {
    display: block;
}

.captcha-flex input {
  margin-right: 16px;
}


.captcha-wrap {
  cursor: pointer;
  display: flex;
   height: 48px;
   border-radius: 8px;
   border: 1px solid var(--Ink-Divier, #E0E1E1);
}


.captcha-wrap {
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.captcha-image-wrap {
  padding-right: 10px;
  border-right: 1px solid var(--Ink-Divier, #E0E1E1);
}

.captcha-img {
  height: 36px;
  width: auto;
}

.refresh-captcha {
  cursor: pointer;
  width: 20px;
  height: 20px;
  background-color: transparent;
  padding: 0;         
  border: none;       
  outline: none; 
  margin-left: 10px;
}

.refresh-captcha img {
  width: 100%;
  height: 100%; 
  border: none; 
}

.refresh-captcha:hover {
  opacity: 0.8; 
}


.input-wrap input[type="text"]:focus {
  color: #495057; 
  background-color: #fff;
  border-color: #80bdff; 
  outline: 0;
  font-weight: normal;
}

.button-wrap {
  display: flex;
  justify-content: end;
  margin-top: 24px;
}

.btn {
  display: block; 
  padding: 12px 32px;
  background-color: #007bff;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease; 
  height: 48px;
  font-size: 16px;
  font-weight: 600;
}


.btn-primary {
  background: var(--Brand-Primary, #005AA9);
  color: #fff;
}

.btn-secondary {
  background: var(--Ink-Background, #F8F9FA);
  margin-right: 12px;
}

.btn-primary:hover {
  background-color: 
  #004591;
}

.btn-secondary:hover {
  background-color:   #d1d1d1;
}

.note {
  font-size: 14px;
  font-weight: 500;
  color: var(--Color-Error-ColorErrorTextActive, #CF1322);
  margin-top: 32px;
}

.checked-content {
  border-top: 1px solid var(--Ink-Divier, #E0E1E1);
  margin-top: 32px;
  padding-top: 32px;
  display: none;
}

.checked-content1 {
    border-top: 1px solid var(--Ink-Divier, #E0E1E1);
    margin-top: 32px;
    padding-top: 32px;
    display: none;
}

.checked-content1.active {
    display: block;
}


.checked-content.active {
  display: block;
}

.card-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--Ink-Divier, #E0E1E1);
}

.card-item:last-child {
  border-bottom: none 
}

.card-item .item-content {
  font-weight: 600;
  max-width: 400px;
  text-align: right;
}

.copyright {
  position: fixed;
  color: #FFF;
  font-weight: 500;
  bottom: 18px;
  left: 50%; 
  transform: translateX(-50%);
  transition: 0.3s ease all;
  text-align: center;
  z-index: -1;
  text-wrap: nowrap;
}

.copyright.active {
  left: 30%;
}

a {
  color: var(--Brand-Primary, #005AA9);
font-weight: 600;
text-decoration-line: underline;
}

@media (max-width: 800px) {
  .background-wrap {
    background-size: 100%;
    background-position: bottom center;
    z-index: -1;
    opacity: 0.3;
  }

  .card {
    margin-left: 16px;
    margin-right: 16px;
  }

  .captcha-flex {
    display: block;
  }
  
  .captcha-flex input {
    margin-bottom: 12px;
  }
  
  .captcha-image-wrap {
    flex: 1 0 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  }

  .button-wrap {
    justify-content: space-between;
  }

  .copyright.active {
    left: 50%;
  }
  
  .card-item {
    display: block;
  }

  .card-item .item-content {
    text-align: left;
    margin-top: 16px;
  }

  .main {
    justify-content: center;

  }
}