/* 几年前的内网系统风格：无圆角、简洁表格样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important;
}

html, body {
  font-family: "Microsoft YaHei", "SimSun", Tahoma, Arial, sans-serif;
  font-size: 13px;
  background: #ececec;
  color: #333;
  min-height: 100vh;
}

a {
  color: #1a5490;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 顶部 */
.header {
  background: #1a3d6e;
  border-bottom: 3px solid #f3a500;
  height: 70px;
}

.header-inner {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: 44px;
  background: #fff;
  object-fit: cover;
  border: 2px solid #f3a500;
}

.logo-text {
  color: #fff;
}

.logo-cn {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo-en {
  font-size: 11px;
  color: #c8d8ea;
  letter-spacing: 2px;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  gap: 24px;
}

.nav-item {
  color: #c8d8ea;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 4px;
}

.nav-item:hover {
  color: #fff;
}

/* 公告条 */
.notice {
  background: #fffbe6;
  border-bottom: 1px solid #f3d57e;
  width: 1000px;
  margin: 0 auto;
  padding: 8px 14px;
  font-size: 12px;
  color: #6a4f1a;
  margin-top: 14px;
}

.notice-label {
  font-weight: bold;
  color: #c08300;
  margin-right: 6px;
}

/* 主区 */
.main {
  width: 1000px;
  margin: 0 auto;
  padding: 30px 0 60px;
  display: flex;
  justify-content: center;
}

.login-box {
  width: 420px;
  background: #fff;
  border: 1px solid #c9c9c9;
  padding: 30px 36px 24px;
}

.login-title {
  font-size: 18px;
  font-weight: bold;
  color: #1a3d6e;
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 2px solid #1a3d6e;
  margin-bottom: 4px;
}

.login-sub {
  text-align: center;
  color: #999;
  font-size: 11px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 12px;
  color: #555;
  margin-bottom: 5px;
}

.form-row input[type="text"],
.form-row input[type="password"] {
  width: 100%;
  height: 32px;
  border: 1px solid #aaa;
  padding: 0 8px;
  font-size: 13px;
  background: #fafafa;
  outline: none;
  font-family: inherit;
}

.form-row input:focus {
  border-color: #1a5490;
  background: #fff;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkbox-row label {
  font-size: 12px;
  color: #555;
  margin: 0;
  cursor: pointer;
}

.err-msg {
  color: #c0392b;
  font-size: 12px;
  height: 18px;
  margin: 4px 0 8px;
}

.btn-login {
  width: 100%;
  height: 36px;
  background: #1a5490;
  color: #fff;
  border: 1px solid #0e3a6e;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 4px;
}

.btn-login:hover {
  background: #154680;
}

.login-links {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
}

.login-links .sep {
  color: #ccc;
  margin: 0 6px;
}

.footer-tip {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px dashed #ddd;
  text-align: center;
  font-size: 11px;
  color: #888;
  line-height: 1.7;
}

/* 弹窗 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal {
  width: 380px;
  background: #fff;
  border: 1px solid #999;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.modal-title {
  background: #1a3d6e;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
}

.modal-body {
  padding: 18px 18px 14px;
}

.modal-tip {
  font-size: 12px;
  color: #555;
  margin-bottom: 8px;
}

.modal-body input[type="text"] {
  width: 100%;
  height: 30px;
  border: 1px solid #aaa;
  padding: 0 8px;
  font-size: 13px;
  outline: none;
  background: #fafafa;
  font-family: inherit;
}

.modal-result {
  margin: 10px 0;
  padding: 10px 12px;
  background: #f4f8fb;
  border: 1px solid #c8d8ea;
  font-size: 13px;
  line-height: 1.7;
  color: #1a3d6e;
}

.modal-result strong {
  color: #c08300;
}

.modal-btns {
  margin-top: 12px;
  text-align: right;
}

.btn-primary {
  background: #1a5490;
  color: #fff;
  border: 1px solid #0e3a6e;
  padding: 5px 16px;
  font-size: 12px;
  cursor: pointer;
  margin-left: 6px;
}

.btn-secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #aaa;
  padding: 5px 16px;
  font-size: 12px;
  cursor: pointer;
}