:root { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; }
body { margin:0; background:#f6f7f9; }
.card{
  max-width: 420px; margin: 10vh auto; background:#fff; padding:24px;
  border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
h1{ font-size:20px; margin:0 0 8px; }
.sub{ color:#666; margin:0 0 16px; font-size:13px; line-height:1.5; }
label{ display:block; margin:12px 0 6px; font-size:13px; color:#333; }
input{
  width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:10px; font-size:14px;
}
/* ✅ 通用按钮：不要全站 100% */
button{
  width:auto;
  margin-top:0;
  padding:10px 12px;
  border:none;
  border-radius:10px;
  background:#1f6feb;
  color:#fff;
  font-size:14px;
  cursor:pointer;
}


/* ✅ 登录/改密卡片里的按钮：保持 100% 大按钮 */
.card button{
  width:100%;
  margin-top:16px;
}

/* ===== 后台横向表单布局 ===== */
.form-row{
  display:flex;
  gap:14px;                 /* ⭐ 控制输入框之间的距离 */
  align-items:flex-end;
  flex-wrap:wrap;
}

/* 每个输入块 */
.form-row .field{
  display:flex;
  flex-direction:column;
  min-width:180px;
}

/* 搜索框可以稍微宽一点 */
.form-row .field:first-child{
  min-width:260px;
}

/* 覆盖全局 width:100% */
.form-row input{
  width:220px;
}

/* 按钮不要拉满 */
.form-row button{
  width:auto !important;
  padding:8px 16px;
  margin-top:0;
  white-space:nowrap;
}

.alert{
  background:#fff3cd; border:1px solid #ffeeba; color:#856404;
  padding:10px 12px; border-radius:10px; font-size:13px; margin:10px 0;
}
.topbar{
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 16px; background:#fff; border-bottom:1px solid #eee;
}
.brand{ font-weight:600; }
.link{ color:#1f6feb; text-decoration:none; font-size:14px; }
.page{ padding:18px 16px; }
