/* 上线版：登录页 + 数据中心（导入/录入/备份/用户/同步）样式 */

.login-body {
  margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b2545 0%, #13315c 55%, #1b4f72 100%);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; color: #123;
}
.login-card {
  width: 380px; background: #fff; border-radius: 14px; padding: 34px 34px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.login-brand { text-align: center; margin-bottom: 22px; }
.login-logo {
  display: inline-block; letter-spacing: 6px; font-size: 12px; color: #b9975b;
  border: 1px solid #b9975b; padding: 2px 10px; border-radius: 3px; margin-bottom: 12px;
}
.login-brand h1 { font-size: 21px; margin: 6px 0; color: #0b2545; }
.login-sub { font-size: 12px; color: #7a8794; margin: 0; }
.login-card label { display: block; font-size: 13px; color: #445; margin-bottom: 12px; }
.login-card input {
  width: 100%; margin-top: 6px; padding: 10px 12px; font-size: 14px;
  border: 1px solid #cfd8e3; border-radius: 8px; box-sizing: border-box;
}
.login-card input:focus { outline: none; border-color: #2c6fb5; box-shadow: 0 0 0 3px rgba(44, 111, 181, .12); }
.login-btn { width: 100%; padding: 11px; font-size: 15px; margin-top: 6px; }
.login-msg { min-height: 18px; font-size: 12px; color: #2c6fb5; margin-top: 10px; }
.login-msg.error { color: #c0392b; }
.login-foot { margin-top: 16px; font-size: 11px; color: #94a3b1; text-align: center; }

/* 顶部用户区 */
.user-slot { display: flex; align-items: center; flex-wrap: wrap; }
.user-slot > * { margin-right: 12px; margin-bottom: 10px; }
.user-box {
  display: flex; align-items: center; padding: 6px 8px 6px 6px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; color: #fff; font-size: 13px;
}
.user-box > * { margin-right: 12px; }
.user-box > *:last-child { margin-right: 0; }
.user-avatar {
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%;
  background: linear-gradient(145deg,#c8a462,#e6cf9a); color: #17395c;
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.user-name { font-weight: 600; letter-spacing: .3px; }
.user-box .role-tag {
  background: rgba(230,207,154,.20); color: #f4e6c4; border: 1px solid rgba(230,207,154,.36);
  border-radius: 999px; padding: 3px 10px; font-size: 12px; white-space: nowrap;
}
.user-box button { font-size: 12px; padding: 6px 14px; }

/* 录入表单：分组 + 带标签字段 */
.dc-sub { font-size: 12px; color: #1b4f72; font-weight: 600; margin: 18px 0 10px; letter-spacing: .8px; }
.dc-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
.dc-field { display: flex; flex-direction: column; font-size: 12px; color: #4a5a6a; }
.dc-field > * + * { margin-top: 6px; }
.dc-field > span { padding-left: 2px; }
.dc-field input {
  width: 100%; padding: 9px 11px; border: 1px solid #cfd8e3; border-radius: 8px; font-size: 13px;
}
.dc-field input:focus { outline: none; border-color: #2c6fb5; box-shadow: 0 0 0 3px rgba(44,111,181,.12); }

/* 数据中心 */
.dc-panel { margin-top: 30px; padding: 24px 26px; }
.dc-tabs { display: flex; flex-wrap: wrap; margin: 18px 0 10px; }
.dc-tab { margin: 0 12px 12px 0; }
.dc-tab {
  border: 1px solid #d7e0ea; background: #fff; color: #345; border-radius: 10px;
  padding: 10px 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.dc-tab:hover { border-color: #9fb8d0; color: #1b4f72; }
.dc-tab.active { background: #1b4f72; border-color: #1b4f72; color: #fff; box-shadow: 0 3px 10px rgba(27,79,114,.25); }
.dc-pane { display: none; }
.dc-pane.active { display: block; }
.dc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.dc-card {
  border: 1px solid #e2e9f1; border-radius: 12px; padding: 20px 22px; background: #fbfdff;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.dc-card h4 { margin: 0 0 10px; font-size: 15px; color: #12304d; letter-spacing: .3px; }
.dc-card p { font-size: 12px; color: #6b7a8a; margin: 0 0 16px; line-height: 1.7; }
.dc-row { display: flex; flex-wrap: wrap; align-items: center; }
.dc-row > * { margin-right: 14px; margin-bottom: 12px; }
.dc-row input[type=text], .dc-row input[type=date], .dc-row input[type=number],
.dc-row input[type=password], .dc-row input[type=month], .dc-row select, .dc-row input[type=file] {
  padding: 7px 9px; border: 1px solid #cfd8e3; border-radius: 7px; font-size: 13px;
}
.dc-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.dc-table th, .dc-table td { border-bottom: 1px solid #eaeff5; padding: 10px 12px; text-align: left; }
.dc-table th { background: #f4f8fc; color: #456; font-weight: 600; }
.dc-note { font-size: 12px; color: #6b7a8a; margin-top: 8px; line-height: 1.7; }
.dc-result {
  margin-top: 10px; font-size: 12px; background: #f4f8fc; border: 1px solid #e2e9f1;
  border-radius: 8px; padding: 10px; white-space: pre-wrap; max-height: 260px; overflow: auto;
  font-family: Consolas, Menlo, monospace;
}
.dc-warn { color: #b9770e; }
.dc-ok { color: #1e8449; }
.dc-err { color: #c0392b; }
.icp-foot { font-size: 11px; color: #8b98a6; }
