/* 账号申请页（/signup）样式
 * 配色照抄 ui-default 原生色板；深色主题由 .theme--dark 覆盖。
 */

.signup-req {
  color: #ff4136;
  font-weight: 600;
}

/* ------------------------------------------------------------- 提示条 */

.signup-msg {
  padding: .75rem .9375rem;
  border-radius: .25rem;
  border: 1px solid transparent;
  white-space: pre-line;          /* 服务端用 \n 分行，保留换行 */
  line-height: 1.7;
}

.signup-msg--err {
  background: #fdeceb;
  border-color: #f5b7b1;
  color: #a8281e;
}

.signup-msg--ok {
  background: #e8f7ee;
  border-color: #a8dfbe;
  color: #1d7a3d;
}

.theme--dark .signup-msg--err {
  background: #3a1614;
  border-color: #6d2a24;
  color: #ff9d95;
}

.theme--dark .signup-msg--ok {
  background: #17351f;
  border-color: #2b5c3b;
  color: #86dcab;
}

/* ------------------------------------------------------------- 验证码 */

.signup-captcha {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.signup-captcha__q {
  flex: 0 0 auto;
  font-family: Menlo, Consolas, monospace;
  font-size: 1.125rem;
  letter-spacing: .05em;
  padding: .3125rem .625rem;
  border-radius: .25rem;
  background: #f4f4f4;
  color: #333;
}

.theme--dark .signup-captcha__q {
  background: #2b2b2b;
  color: #e6e6e6;
}

.signup-captcha .textbox {
  margin-bottom: 0;
}

/* ------------------------------------------------------------- 其它 */

.signup-submit-hint {
  margin-left: .625rem;
}

.signup-query-btn {
  display: flex;
  align-items: flex-end;
  padding-bottom: .3125rem;
}

.signup-result-table {
  table-layout: auto;
}

.signup-result-table th {
  width: 8rem;
  white-space: nowrap;
  color: #888;
  font-weight: normal;
}

.theme--dark .signup-result-table th {
  color: #bdbdbd;
}

.signup-result-table td {
  white-space: normal;
  line-height: 1.7;
}

.signup-badge {
  display: inline-block;
  padding: .125rem .5rem;
  border-radius: .25rem;
  border: 1px solid transparent;
  font-size: .8125rem;
}

.signup-badge--ok {
  background: #e8f7ee;
  border-color: #a8dfbe;
  color: #1d7a3d;
}

.signup-badge--no {
  background: #fdeceb;
  border-color: #f5b7b1;
  color: #a8281e;
}

.signup-badge--wait {
  background: #fdf6e3;
  border-color: #e8d9a0;
  color: #8a6d1b;
}

.theme--dark .signup-badge--ok {
  background: #17351f;
  border-color: #2b5c3b;
  color: #86dcab;
}

.theme--dark .signup-badge--no {
  background: #3a1614;
  border-color: #6d2a24;
  color: #ff9d95;
}

.theme--dark .signup-badge--wait {
  background: #3a3218;
  border-color: #6a5c2a;
  color: #e8c86a;
}

.signup-detail {
  margin-top: .3125rem;
  color: #666;
  line-height: 1.7;
}

.theme--dark .signup-detail {
  color: #bdbdbd;
}

.signup-detail a {
  color: #5f9fd6;
}

code {
  font-family: Menlo, Consolas, monospace;
  padding: 0 .25rem;
}
