/* 登录页（家长操作，清爽儿童风） */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.login-box {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border-radius: 32px;
  padding: 40px 30px 32px;
  box-shadow: 0 10px 32px rgba(91, 141, 239, 0.14);
  border: 4px solid #FDE7B8;
  text-align: center;
}
.login-logo {
  font-size: 30px;
  font-weight: 800;
  color: var(--main-dark);
}
.login-slogan {
  font-size: 14px;
  color: var(--text2);
  margin-top: 8px;
  margin-bottom: 28px;
}
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-field {
  display: flex;
  align-items: center;
  background: #F7F4EC;
  border-radius: 16px;
  padding: 4px 6px 4px 18px;
  border: 2px solid transparent;
}
.login-field:focus-within { border-color: var(--main); background: #fff; }
.login-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 17px;
  padding: 12px 0;
  outline: none;
  font-family: inherit;
  color: var(--text);
}
.login-code-row { gap: 8px; }
.btn-code {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 14px;
  border: none;
  border-radius: 12px;
  background: var(--warm);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.btn-code:disabled { background: #D8D2C2; cursor: not-allowed; }
.btn-login {
  margin-top: 8px;
  min-height: 58px;
  border: none;
  border-radius: 30px;
  background: var(--main);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 16px rgba(91, 141, 239, 0.35);
  transition: transform .12s ease;
}
.btn-login:active { transform: scale(0.97); }
.btn-login:disabled { opacity: .6; }
.login-tip {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text2);
}
