* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

button,
input {
  font: inherit;
}

.public-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  color: #0a2647;
  background: linear-gradient(145deg, #f0f4f9 0%, #d9e2ed 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.main-wrapper {
  width: 100%;
  max-width: 1100px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 40px 45px 50px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 30px 60px rgba(0, 20, 40, 0.2), 0 10px 25px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 35px;
  border-bottom: 2px solid rgba(26, 67, 113, 0.12);
  padding-bottom: 22px;
  flex-wrap: wrap;
}

.brand-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-icon img {
  width: 58px;
  height: 58px;
  display: block;
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.brand-text h1 {
  margin: 0;
  color: #0a2647;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
}

.brand-text .sub {
  margin-top: 2px;
  color: #3e5f7a;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
}

.two-col {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.col-left {
  flex: 1.2;
  min-width: 340px;
}

.col-right {
  flex: 1.8;
  min-width: 300px;
}

.login-card,
.info-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.login-card {
  padding: 32px 30px 36px;
}

.login-card h2,
.info-card h3 {
  color: #641106;
  font-weight: 600;
}

.login-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 22px;
}

.login-card h2 img,
.info-card h3 img {
  flex: 0 0 auto;
}

.login-hint {
  margin-bottom: 28px;
  border-left: 4px solid #2b5f9e;
  border-radius: 0 8px 8px 0;
  padding: 8px 14px;
  color: #6f8ba3;
  background: #f5f9ff;
  font-size: 14px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label,
.field-label {
  display: block;
  margin-bottom: 6px;
  color: #1a3a5a;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.required {
  margin-left: 2px;
  color: #c73a3a;
}

.form-group input {
  width: 100%;
  border: 1.5px solid #dce3ed;
  border-radius: 14px;
  padding: 13px 18px;
  color: #0a2647;
  background: #fafcff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus {
  border-color: #2b5f9e;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 95, 158, 0.12);
}

.form-group input::placeholder {
  color: #a8bccf;
  font-size: 14px;
  font-weight: 400;
}

.captcha-stage {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 2 / 1;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #eef3f9;
}

.captcha-stage img {
  display: block;
}

.captcha-stage img:first-child {
  width: 100%;
  height: 100%;
}

.captcha-stage img:last-child {
  position: absolute;
  left: 0;
  top: 0;
  width: 13.125%;
  height: 26.25%;
  filter: drop-shadow(0 3px 5px rgba(10, 38, 71, 0.28));
  will-change: transform;
}

.slider {
  position: relative;
  width: 100%;
  min-height: 50px;
  touch-action: none;
  user-select: none;
}

.slider-track {
  position: relative;
  height: 50px;
  overflow: hidden;
  border: 1.5px solid #dce3ed;
  border-radius: 14px;
  background: #eef3f9;
}

.slider-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 67, 113, 0.16), rgba(43, 95, 158, 0.32));
}

.slider-track span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 54px;
  color: #6f8ba3;
  font-size: 14px;
  pointer-events: none;
  text-align: center;
}

.slider-thumb {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a4371, #2b5f9e);
  box-shadow: 0 6px 14px rgba(26, 67, 113, 0.28);
  cursor: grab;
}

.slider-thumb::before {
  content: "›";
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.slider.verified .slider-thumb {
  background: #1f8b4c;
  cursor: default;
}

.slider.verified .slider-thumb::before {
  content: "✓";
  font-size: 20px;
}

.slider.verified .slider-track span {
  color: #146b39;
  font-weight: 600;
}

.btn-group {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn {
  min-width: 120px;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 40px;
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1a4371, #2b5f9e);
  box-shadow: 0 8px 20px rgba(26, 67, 113, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 67, 113, 0.4);
}

.btn-secondary {
  border: 1.5px solid #cddae9;
  color: #1a4371;
  background: #eef3f9;
}

.btn-secondary:hover {
  background: #e3eaf3;
  transform: translateY(-2px);
}

.form-error {
  min-height: 20px;
  margin: -4px 0 8px;
  color: #c62828;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.form-error[hidden] {
  display: none;
}

.info-card {
  height: 100%;
  padding: 32px 30px 34px;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 20px;
}

.info-card h3::after {
  content: "";
  height: 2px;
  flex: 1;
  background: linear-gradient(to right, #dce3ed, transparent);
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-list li {
  position: relative;
  border: 1px solid #eaf0f7;
  border-radius: 18px;
  padding: 18px 20px 18px 52px;
  color: #1e3b57;
  background: #f8faff;
  font-size: 15px;
  line-height: 1.7;
}

.info-list li .num {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1a4371, #2b5f9e);
  font-size: 13px;
  font-weight: 700;
}

.info-list li strong {
  color: #0a2647;
  font-weight: 600;
}

.info-list li .highlight {
  border-radius: 6px;
  padding: 1px 8px;
  color: #1a4371;
  background: #e3edf9;
  font-size: 14px;
  font-weight: 500;
}

.info-list li a {
  border-bottom: 1.5px dashed #8aaac9;
  color: #1a4371;
  font-weight: 500;
  text-decoration: none;
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid rgba(26, 67, 113, 0.12);
  padding-top: 18px;
  color: #5a7a96;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.site-footer p {
  margin: 2px 0;
}

@media (max-width: 820px) {
  .public-login-page {
    align-items: flex-start;
    padding: 20px 12px;
  }

  .main-wrapper {
    border-radius: 16px;
    padding: 28px 22px 36px;
  }

  .two-col {
    flex-direction: column;
    gap: 30px;
  }

  .col-left,
  .col-right {
    min-width: 0;
    flex: 1;
  }

  .brand-text h1 {
    font-size: 18px;
  }

  .brand-text .sub {
    font-size: 11px;
  }

  .login-card,
  .info-card {
    padding: 26px 20px 30px;
  }

  .info-list li {
    padding: 16px 16px 16px 48px;
    font-size: 14px;
  }

  .site-footer {
    margin-top: 22px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    border-radius: 16px;
    padding: 20px 14px 28px;
  }

  .brand-header {
    gap: 12px;
    padding-bottom: 16px;
  }

  .brand-icon,
  .brand-icon img {
    width: 48px;
    height: 48px;
  }

  .brand-text h1 {
    font-size: 20px;
  }

  .login-card h2 {
    font-size: 19px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }
}
