* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f0f6ff;
  color: #1a2744;
}

.btn {
  display: inline-block;
  padding: .55rem 1.1rem;
  border: 1px solid #2563eb;
  border-radius: .375rem;
  font-size: .9rem;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  transition: all .15s;
}
.btn:hover { opacity: .85; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.btn-ghost {
  background: #fff;
  color: #2563eb;
}
.btn-ghost:hover {
  background: #2563eb;
  color: #fff;
  opacity: 1;
}

.input {
  width: 100%;
  padding: .55rem .75rem;
  border: 1px solid #2563eb33;
  border-radius: .375rem;
  font-size: .9rem;
  background: #fff;
  color: #1a2744;
}
.input:focus { outline: none; border-color: #2563eb; }

.card {
  border: 1px solid #2563eb22;
  border-radius: .5rem;
  overflow: hidden;
  background: #fff;
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: #2563eb44;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}
.modal-box {
  background: #fff;
  border: 1px solid #2563eb;
  border-radius: .5rem;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  padding: 1.5rem;
}

.auth-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}
.auth-bg::before,
.auth-bg::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 200px;
  height: 200px;
  border: 1px solid #2563eb33;
  border-radius: 50%;
  transform: translateY(-50%);
}
.auth-bg::before { left: -60px; }
.auth-bg::after { right: -60px; }

.auth-card {
  background: #fff;
  border: 1px solid #2563eb;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px #2563eb22;
  max-width: 400px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #2563eb);
  border-radius: 1rem 1rem 0 0;
}

.line-accent {
  height: 1px;
  background: linear-gradient(90deg, transparent, #2563eb55, transparent);
  margin: 1rem 0;
}

.id-card {
  text-align: center;
  padding: 1.5rem;
  border: 1px dashed #2563eb;
  border-radius: .5rem;
  background: #f0f6ff;
  margin: 1rem 0;
}
.id-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2563eb;
  letter-spacing: .2em;
  font-family: monospace;
}
