* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    Arial,
    sans-serif;

  background:
    radial-gradient(
      circle at top,
      #edf6ff 0,
      #f7f9fc 42%,
      #f4f6f9 100%
    );

  color: #172033;
}

.page {
  min-height: 100vh;
  padding: 70px 20px 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  width: 100%;
  max-width: 520px;

  background: rgba(255,255,255,.96);

  border: 1px solid #e8edf4;
  border-radius: 24px;

  padding: 38px;

  box-shadow:
    0 20px 60px rgba(31,55,90,.10);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 38px;
}

.logo {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: #1677ff;
  color: white;

  font-size: 27px;
  font-weight: 800;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.brand-sub {
  margin-top: 2px;

  color: #8a94a6;
  font-size: 12px;
}

.hero h1 {
  margin: 0 0 10px;

  font-size: 30px;
  line-height: 1.25;
}

.hero p {
  margin: 0 0 32px;

  color: #737f91;
  font-size: 14px;
  line-height: 1.8;
}

label {
  display: block;

  margin-bottom: 9px;

  font-size: 14px;
  font-weight: 600;
}

input {
  width: 100%;
  height: 54px;

  padding: 0 16px;

  border: 1px solid #dce3ec;
  border-radius: 12px;

  background: #fff;

  color: #172033;
  font-size: 15px;

  outline: none;

  transition: .2s;
}

input:focus {
  border-color: #1677ff;

  box-shadow:
    0 0 0 4px rgba(22,119,255,.09);
}

button {
  width: 100%;
  height: 54px;

  margin-top: 18px;

  border: 0;
  border-radius: 12px;

  background: #1677ff;
  color: white;

  font-size: 16px;
  font-weight: 700;

  cursor: pointer;

  transition: .2s;
}

button:hover {
  background: #0968e8;
  transform: translateY(-1px);
}

button:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.message {
  display: none;

  margin-top: 18px;
  padding: 13px 15px;

  border-radius: 10px;

  font-size: 14px;
  line-height: 1.6;
}

.message.info {
  display: block;

  background: #eef6ff;
  color: #1768c5;
}

.tips {
  margin-top: 30px;
  padding-top: 24px;

  border-top: 1px solid #edf0f4;
}

.tip {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 10px 0;

  color: #7c8798;
  font-size: 13px;
}

.tip span {
  color: #1677ff;
  font-weight: 700;
}

.tip p {
  margin: 0;
}

footer {
  margin-top: 25px;

  color: #a0a8b5;
  font-size: 12px;
}

@media (max-width: 600px) {
  .page {
    padding: 30px 14px;
  }

  .card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 26px;
  }
}

.message.error {
  display: block;
  background: #fff2f0;
  color: #cf1322;
  border: 1px solid #ffccc7;
}

.message.success {
  display: block;
  background: #f6ffed;
  color: #389e0d;
}

.result-card {
  margin-top: 8px;
  padding: 26px 22px;
  text-align: center;
}

.result-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #e8f7df;

  font-size: 28px;
  font-weight: 700;
}

.result-title {
  color: #172033;
  font-size: 20px;
  font-weight: 700;
}

.result-subtitle {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 13px;
}

.result-details {
  margin-top: 24px;

  background: white;
  border: 1px solid #e8edf4;
  border-radius: 12px;

  overflow: hidden;
  text-align: left;
}

.result-row {
  min-height: 48px;
  padding: 0 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-bottom: 1px solid #edf0f4;

  color: #7c8798;
  font-size: 13px;
}

.result-row:last-child {
  border-bottom: 0;
}

.result-row strong {
  color: #172033;
  font-weight: 600;
  text-align: right;
}

.continue-button {
  margin-top: 20px;
}

.secondary-button {
  margin-top: 10px;

  background: white;
  color: #667085;

  border: 1px solid #dce3ec;
}

.secondary-button:hover {
  background: #f7f9fc;
}
