* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #132036;
}

body.pc-auth-body {
  min-height: 100vh;
  background: #f3f7fb;
}

.pc-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fafcff 0%, #f0f6fc 54%, #e8f2fb 100%);
}

.pc-auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/lbg.png") center / cover no-repeat;
  opacity: .09;
  filter: saturate(.52) contrast(.96);
}

.pc-auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(82, 156, 242, .06) 52%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 24px 24px, rgba(82, 156, 242, .16) 1px, transparent 1.5px);
  background-size: auto, auto, 28px 28px;
  opacity: .72;
}

.pc-auth-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 88vw);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 398px;
  border: 1px solid #e1ebf5;
  border-radius: 30px;
  background: rgba(255, 255, 255, .70);
  box-shadow: 0 24px 76px rgba(37, 62, 96, .10);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.pc-auth-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 72px;
  right: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 163, 255, .48), transparent);
  z-index: 2;
}

.pc-auth-shell::after {
  content: "LINXI HAOKA / ORDER SYSTEM";
  position: absolute;
  left: 76px;
  bottom: 58px;
  z-index: 2;
  color: rgba(80, 145, 214, .24);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 4px;
  pointer-events: none;
}

.pc-auth-brand {
  position: relative;
  padding: 72px 76px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255, 255, 255, .45), rgba(235, 246, 255, .40));
  overflow: hidden;
}

.pc-auth-brand::before {
  content: "";
  position: absolute;
  left: 76px;
  right: 86px;
  top: 156px;
  height: 220px;
  border: 1px solid rgba(126, 184, 246, .18);
  border-left-color: rgba(126, 184, 246, .34);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, rgba(90, 157, 229, .045) 0, rgba(90, 157, 229, .045) 1px, transparent 1px, transparent 14px);
}

.pc-auth-brand::after {
  content: "";
  position: absolute;
  width: 112px;
  height: 112px;
  right: 88px;
  bottom: 92px;
  border-top: 1px solid rgba(100, 169, 243, .28);
  border-right: 1px solid rgba(100, 169, 243, .28);
  background:
    radial-gradient(circle at 12px 12px, rgba(81, 155, 240, .28) 1px, transparent 1.5px);
  background-size: 20px 20px;
}

.pc-auth-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.pc-auth-brand-inner::after {
  content: "SECURE AGENT DESK";
  position: absolute;
  top: 158px;
  left: 0;
  color: rgba(82, 151, 226, .42);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 4px;
  white-space: nowrap;
}

.pc-auth-brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 68px;
}

.pc-auth-logo,
.pc-auth-head-logo {
  display: block;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(47, 134, 255, .12);
}

.pc-auth-logo {
  width: 66px;
  height: 66px;
  border-radius: 15px;
}

.pc-auth-brand-name {
  font-size: 24px;
  font-weight: 900;
  color: #142033;
  line-height: 1;
}

.pc-auth-brand-name.is-system {
  font-size: 25px;
  line-height: 1.2;
  white-space: nowrap;
}

.pc-auth-title-blue {
  color: #142033;
}

.pc-auth-brand-system-en {
  margin-top: 7px;
  color: #75b8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.4;
  white-space: nowrap;
}

.pc-auth-brand-subtitle {
  margin-top: 6px;
  color: #667386;
  font-size: 14px;
  line-height: 1.4;
}

.pc-auth-en {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #75b8ff;
}

.pc-auth-brand h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
  color: #17243a;
}

.pc-auth-brand p {
  margin: 18px 0 0;
  color: #667386;
  font-size: 15px;
  line-height: 1.9;
}

.pc-auth-brand-line {
  width: 128px;
  height: 1px;
  border-radius: 99px;
  background: linear-gradient(90deg, #67b6ff, rgba(103, 182, 255, 0));
  margin-top: 56px;
  position: relative;
}

.pc-auth-brand-line::before,
.pc-auth-brand-line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67b6ff;
  box-shadow: 0 0 0 6px rgba(103, 182, 255, .08);
}

.pc-auth-brand-line::before {
  left: 0;
}

.pc-auth-brand-line::after {
  left: 42px;
  opacity: .55;
}

.pc-auth-brand-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pc-auth-brand-meta span {
  height: 32px;
  line-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid #e3edf7;
  color: #5e92cf;
  font-size: 13px;
}

.pc-auth-side {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .90);
  border-left: 1px solid #ecf2f8;
  padding: 60px 42px;
  position: relative;
}

.pc-auth-side::before {
  content: "";
  position: absolute;
  top: 58px;
  bottom: 58px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(85, 158, 239, .26), transparent);
}

.pc-auth-side::after {
  content: "";
  position: absolute;
  top: 72px;
  right: 42px;
  width: 64px;
  height: 64px;
  border-top: 1px solid rgba(88, 160, 239, .22);
  border-right: 1px solid rgba(88, 160, 239, .22);
}

.pc-auth-panel {
  width: 100%;
  max-width: 326px;
  position: relative;
  z-index: 1;
}

.pc-auth-head {
  margin-bottom: 42px;
  position: relative;
}

.pc-auth-head.is-minimal {
  padding-top: 4px;
}

.pc-auth-head.is-compact {
  margin-bottom: 30px;
}

.pc-auth-head-logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin-bottom: 22px;
}

.pc-auth-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #142033;
  letter-spacing: 0;
}

.pc-auth-login-title {
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 2px;
}

.pc-auth-head .pc-auth-en {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pc-auth-head.is-minimal > .pc-auth-en:first-child {
  margin-top: 0;
  padding-top: 2px;
}

.pc-auth-head .pc-auth-en::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(117, 184, 255, .8), rgba(117, 184, 255, 0));
}

.pc-auth-head p {
  margin: 12px 0 0;
  color: #7d8898;
  font-size: 14px;
}

.pc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pc-auth-form.is-dense {
  gap: 12px;
}

.pc-auth-field {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #dfe7f0;
  position: relative;
}

.pc-auth-field::after {
  content: "";
  position: absolute;
  left: 31px;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(80, 153, 239, .54), rgba(80, 153, 239, 0));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.pc-auth-field:focus-within::after {
  transform: scaleX(1);
}

.pc-auth-form.is-dense .pc-auth-field {
  height: 46px;
}

.pc-auth-field i {
  width: 18px;
  text-align: center;
  color: #c1cad6;
  font-size: 15px;
}

.pc-auth-field input {
  height: 100%;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #344258;
  font-size: 15px;
}

.pc-auth-field input::placeholder {
  color: #9ca7b5;
}

.pc-auth-field button,
.pc-auth-sms-btn {
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #68b4ff;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 0 12px;
  white-space: nowrap;
}

.pc-auth-captcha {
  width: 96px;
  height: 36px;
  object-fit: cover;
  border-radius: 18px;
  background: #f2f6fb;
}

.pc-auth-check,
.pc-auth-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6f7c8d;
  font-size: 14px;
}

.pc-auth-check input,
.pc-auth-agree input {
  position: absolute;
  opacity: 0;
}

.pc-auth-check span,
.pc-auth-agree .pc-auth-checkmark {
  width: 17px;
  height: 17px;
  border: 1px solid #9ec9ff;
  border-radius: 4px;
  background: #fff;
  position: relative;
  flex: 0 0 auto;
}

.pc-auth-check input:checked + span::after,
.pc-auth-agree input:checked + .pc-auth-checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #438cff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pc-auth-check em {
  font-style: normal;
}

.pc-auth-agree {
  align-items: flex-start;
  line-height: 1.6;
}

.pc-auth-agree a {
  color: #4b91e9;
  text-decoration: none;
}

.pc-auth-submit {
  height: 52px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  margin-top: 18px;
  background: linear-gradient(90deg, #66b8ff, #4b9bff);
  box-shadow: 0 10px 20px rgba(47, 134, 255, .13);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.pc-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(47, 134, 255, .18);
  filter: saturate(1.03);
}

.pc-auth-form.is-dense .pc-auth-submit {
  margin-top: 12px;
}

.pc-auth-links {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #5f6d80;
  font-size: 14px;
}

.pc-auth-links.is-center {
  justify-content: center;
}

.pc-auth-links a {
  color: inherit;
  text-decoration: none;
}

.pc-auth-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  color: #aeb9c7;
  font-size: 12px;
}

.pc-auth-popup-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(20, 32, 51, .42);
}

.pc-auth-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 21;
  transform: translate(-50%, -50%);
  width: min(760px, 86vw);
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(20, 32, 51, .20);
}

.pc-auth-popup iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.pc-auth-popup button {
  display: block;
  margin: 14px auto 0;
  height: 38px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #4b9bff;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .pc-auth-page {
    display: block;
    padding: 0;
    background: #fff;
  }

  .pc-auth-page::before,
  .pc-auth-page::after {
    display: none;
  }

  .pc-auth-shell {
    display: block;
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }

  .pc-auth-brand {
    display: none;
  }

  .pc-auth-side {
    min-height: 100vh;
    border-left: 0;
    padding: 82px 28px 24px;
  }

  .pc-auth-panel {
    margin: 0 auto;
  }

  .pc-auth-head {
    text-align: center;
  }

  .pc-auth-head-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .pc-auth-footer {
    position: static;
    margin: 22px 0;
    color: #c0c8d2;
  }
}

@media (max-height: 760px) {
  .pc-auth-page {
    padding: 24px;
  }

  .pc-auth-shell {
    min-height: 560px;
  }

  .pc-auth-brand {
    padding: 50px 62px;
  }

  .pc-auth-brand-top {
    margin-bottom: 38px;
  }

  .pc-auth-brand::before {
    top: 136px;
    height: 184px;
  }

  .pc-auth-brand-inner::after {
    top: 134px;
  }

  .pc-auth-side {
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .pc-auth-head {
    margin-bottom: 22px;
  }

  .pc-auth-field {
    height: 44px;
  }

  .pc-auth-submit {
    margin-top: 10px;
  }

  .pc-auth-footer {
    bottom: 8px;
  }
}
