/*
 * 远影归灯：绑定邮箱/手机、账号设置美化
 * 对应 Zibll:
 * - inc/functions/user/page.php: zib_main_user_tab_content_account()
 * - inc/functions/zib-user.php: zib_get_user_center_bind_tab()
 */

html body .account-set .oauth-bind-box {
  margin-top: 10px !important;
}

html body .account-set .oauth-bind-box .muted-box {
  min-height: 58px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(82, 103, 124, .08) !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow:
    0 8px 18px rgba(72, 91, 110, .045),
    inset 0 1px 0 rgba(255, 255, 255, .8) !important;
}

html body .account-set .oauth-bind-box .type-logo {
  min-width: 82px !important;
  color: var(--yy-ink) !important;
  font-weight: 700 !important;
}

html body .account-set .oauth-bind-box .type-logo .circular,
html body .account-set .oauth-bind-box .type-logo [class*="b-blue"] {
  width: 30px !important;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background:
    linear-gradient(135deg, rgba(82, 103, 124, .95), rgba(198, 157, 94, .9)) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(82, 103, 124, .16) !important;
}

html body .account-set .oauth-bind-box .text-ellipsis,
html body .account-set .oauth-bind-box .muted-2-color {
  color: rgba(82, 103, 124, .72) !important;
  font-size: 13px !important;
}

html body .account-set .oauth-bind-box .but {
  min-width: 58px !important;
  height: 30px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 30px !important;
  box-shadow: none !important;
}

html body #tab-bind-email,
html body #tab-bind-phone,
html body #tab-change-password {
  padding: 20px 20px 18px !important;
}

html body #tab-bind-email .colorful-header,
html body #tab-bind-phone .colorful-header,
html body #tab-change-password .colorful-header {
  margin: -20px -20px 18px !important;
}

html body #tab-bind-email p.muted-2-color,
html body #tab-bind-phone p.muted-2-color,
html body #tab-change-password p.muted-2-color {
  color: rgba(82, 103, 124, .72) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

html body #tab-bind-email .badg,
html body #tab-bind-phone .badg {
  border-radius: 999px !important;
  background: rgba(235, 241, 246, .88) !important;
  color: var(--yy-blue-gray) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

html body #tab-bind-email .step-simple,
html body #tab-bind-phone .step-simple {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 4px 0 18px !important;
  padding: 0 !important;
}

html body #tab-bind-email .step-simple > li,
html body #tab-bind-phone .step-simple > li {
  position: relative !important;
  min-width: 0 !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(235, 241, 246, .7) !important;
  color: rgba(82, 103, 124, .68) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

html body #tab-bind-email .step-simple > li.active,
html body #tab-bind-phone .step-simple > li.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(238, 243, 247, .92)) !important;
  color: var(--yy-ink) !important;
  box-shadow:
    inset 0 -1px 0 rgba(198, 157, 94, .58),
    0 8px 18px rgba(72, 91, 110, .055) !important;
}

html body #tab-bind-email form,
html body #tab-bind-phone form,
html body #tab-change-password form {
  margin: 0 !important;
}

html body #tab-bind-email .line-form,
html body #tab-bind-phone .line-form,
html body #tab-change-password .line-form {
  position: relative !important;
  overflow: hidden !important;
  min-height: 44px !important;
  margin: 0 0 11px !important;
  border: 1px solid rgba(82, 103, 124, .10) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78) !important;
}

html body #tab-bind-email .line-form-input,
html body #tab-bind-phone .line-form-input,
html body #tab-change-password .line-form-input {
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 126px 0 15px !important;
  color: var(--yy-ink) !important;
  font-size: 14px !important;
  line-height: 44px !important;
  opacity: 1 !important;
}

html body #tab-bind-email .scale-placeholder,
html body #tab-bind-phone .scale-placeholder,
html body #tab-change-password .scale-placeholder {
  left: 15px !important;
  top: 0 !important;
  bottom: auto !important;
  height: 44px !important;
  padding: 0 !important;
  line-height: 44px !important;
  color: rgba(82, 103, 124, .52) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  transform: none !important;
  opacity: 1 !important;
}

html body #tab-bind-email input:focus ~ .scale-placeholder,
html body #tab-bind-phone input:focus ~ .scale-placeholder,
html body #tab-change-password input:focus ~ .scale-placeholder,
html body #tab-bind-email .scale-placeholder.is-focus,
html body #tab-bind-phone .scale-placeholder.is-focus,
html body #tab-change-password .scale-placeholder.is-focus {
  transform: none !important;
  color: rgba(82, 103, 124, .52) !important;
  font-size: 13px !important;
}

html body #tab-bind-email .line-form-line,
html body #tab-bind-phone .line-form-line,
html body #tab-change-password .line-form-line {
  display: none !important;
}

html body #tab-bind-email .captchsubmit,
html body #tab-bind-phone .captchsubmit {
  position: absolute !important;
  right: 6px !important;
  top: 5px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 11px !important;
  border-radius: 10px !important;
  background: rgba(82, 103, 124, .10) !important;
  color: var(--yy-blue-gray) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 34px !important;
}

html body #tab-bind-email .imagecaptcha,
html body #tab-bind-phone .imagecaptcha {
  right: 6px !important;
  top: 5px !important;
  height: 34px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

html body #tab-bind-email .imagecaptcha > img,
html body #tab-bind-phone .imagecaptcha > img {
  width: 98px !important;
  height: 34px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}

html body #tab-bind-email .signsubmit-loader,
html body #tab-bind-phone .signsubmit-loader,
html body #tab-change-password .signsubmit-loader,
html body #tab-bind-email .user-verify-submit,
html body #tab-bind-phone .user-verify-submit {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #52677c, #344252) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 42px !important;
  box-shadow: 0 10px 22px rgba(52, 66, 82, .17) !important;
}

@media (max-width: 767px) {
  html body #tab-bind-email,
  html body #tab-bind-phone,
  html body #tab-change-password {
    padding: 16px 14px 16px !important;
  }

  html body #tab-bind-email .step-simple,
  html body #tab-bind-phone .step-simple {
    gap: 6px !important;
  }

  html body #tab-bind-email .step-simple > li,
  html body #tab-bind-phone .step-simple > li {
    height: 30px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
  }

  html body #tab-bind-email .line-form-input,
  html body #tab-bind-phone .line-form-input {
    padding-right: 112px !important;
  }
}

