:root {
  --pl-blue: #1a8cff;
  --pl-blue-dark: #0d6fe8;
  --pl-blue-light: #e8f3ff;
  --pl-text: #333;
  --pl-muted: #999;
  --pl-border: #e0e4ea;
  --pl-bg: #f4f7fb;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--pl-text);
  background: var(--pl-bg);
  -webkit-font-smoothing: antialiased;
}

.pl-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(26, 140, 255, .09), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgba(26, 140, 255, .05), transparent 60%),
    var(--pl-bg);
}

.pl-header {
  height: 64px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
}

.pl-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.pl-brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.pl-brand-text strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--pl-blue);
  line-height: 1.2;
  letter-spacing: .5px;
}

.pl-brand-text span {
  display: block;
  font-size: 12px;
  color: var(--pl-muted);
  margin-top: 2px;
}

.pl-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.pl-nav a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

.pl-nav a:hover {
  color: var(--pl-blue);
}

.pl-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  background: var(--pl-blue);
  color: #fff !important;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s;
}

.pl-header-btn:hover {
  background: var(--pl-blue-dark);
  color: #fff;
}

.pl-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 48px;
}

.pl-card {
  width: 100%;
  max-width: 920px;
  min-height: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 16px 48px rgba(26, 140, 255, .1),
    0 4px 16px rgba(0, 0, 0, .04);
  display: flex;
  overflow: hidden;
}

.pl-card-left {
  width: 44%;
  min-width: 300px;
  background: linear-gradient(155deg, #2196ff 0%, #0d6fe8 55%, #0a5fd4 100%);
  color: #fff;
  padding: 44px 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pl-card-left::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}

.pl-card-left::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.pl-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 14px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .5px;
  position: relative;
  z-index: 1;
}

.pl-card-left h1 {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.pl-features {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.pl-features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.65;
  opacity: .92;
}

.pl-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
}

.pl-illustration {
  margin-top: auto;
  width: 100%;
  max-height: 200px;
  position: relative;
  z-index: 1;
  opacity: .95;
}

.pl-card-right {
  flex: 1;
  padding: 52px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.pl-form-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.pl-form-title {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  position: relative;
  padding-bottom: 14px;
}

.pl-form-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--pl-blue), #4db3ff);
  border-radius: 2px;
}

.pl-form-subtitle {
  margin: -18px 0 24px;
  font-size: 13px;
  color: var(--pl-muted);
}

.pl-field {
  margin-bottom: 16px;
}

.pl-input-group {
  position: relative;
}

.pl-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #c0c8d4;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
  transition: color .2s;
  z-index: 1;
}

.pl-input-group:focus-within .pl-input-icon {
  color: var(--pl-blue);
}

.pl-input-wrap {
  position: relative;
}

.pl-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--pl-border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--pl-text);
  background: #fafbfc;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.pl-input-group .pl-input {
  padding-left: 40px;
}

.pl-input:focus {
  outline: none;
  border-color: var(--pl-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 140, 255, .1);
}

.pl-input::placeholder {
  color: #b8bec8;
}

.pl-input-password {
  padding-right: 42px;
}

.pl-input-group .pl-input-password {
  padding-left: 40px;
  padding-right: 42px;
}

.pl-toggle-pwd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #c0c8d4;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color .2s;
}

.pl-toggle-pwd:hover {
  color: var(--pl-blue);
}

.pl-captcha-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.pl-captcha-row .pl-input {
  flex: 1;
  min-width: 0;
}

.pl-captcha-row img {
  width: 118px;
  height: 46px;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid var(--pl-border);
  border-radius: 6px;
  display: block;
  object-fit: cover;
  background: #fafbfc;
  transition: border-color .2s;
}

.pl-captcha-row img:hover {
  border-color: var(--pl-blue);
}

.pl-captcha-box {
  min-height: 46px;
}

.pl-captcha-box #captcha,
.pl-captcha-box #captcha_wait,
.pl-captcha-box .geetest_holder,
.pl-captcha-box .geetest_box {
  width: 100% !important;
}

.pl-form-extra {
  display: flex;
  justify-content: flex-end;
  margin: 2px 0 20px;
}

.pl-form-extra a {
  color: var(--pl-blue);
  font-size: 13px;
  text-decoration: none;
  transition: opacity .2s;
}

.pl-form-extra a:hover {
  opacity: .75;
}

.pl-submit {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #1a8cff 0%, #0d6fe8 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s, opacity .2s;
  box-shadow: 0 4px 14px rgba(26, 140, 255, .35);
}

.pl-submit:hover {
  box-shadow: 0 6px 20px rgba(26, 140, 255, .42);
  transform: translateY(-1px);
}

.pl-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 140, 255, .3);
}

.pl-form-footer {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--pl-muted);
  line-height: 1.6;
}

.pl-form-footer a {
  color: var(--pl-blue);
  text-decoration: none;
  font-weight: 500;
  transition: opacity .2s;
}

.pl-form-footer a:hover {
  opacity: .75;
}

.pl-page--admin .pl-card-left h1 {
  font-size: 24px;
}

@media (max-width: 860px) {
  .pl-header {
    padding: 0 16px;
  }

  .pl-main {
    padding: 20px 16px 32px;
  }

  .pl-card {
    flex-direction: column;
    min-height: auto;
    border-radius: 10px;
  }

  .pl-card-left {
    width: 100%;
    min-width: 0;
    padding: 28px 24px 20px;
  }

  .pl-card-left h1 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .pl-badge {
    margin-bottom: 14px;
  }

  .pl-illustration {
    display: none;
  }

  .pl-card-right {
    padding: 28px 24px 32px;
  }

  .pl-form-wrap {
    max-width: none;
  }

  .pl-form-title {
    font-size: 20px;
    margin-bottom: 24px;
  }
}
