* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #263238;
  background: linear-gradient(135deg, #f5f8ff 0%, #fff7d1 100%);
}

.header {
  background: #fff;
  border-bottom: 1px solid #edf0f6;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.site-logo-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 24px;
  background: #f7f9ff;
}

.logo-text h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #1e3a5f;
}

.logo-text p {
  margin: 3px 0 0;
  font-size: 12px;
  color: #6c7a89;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-item {
  color: #4f5d75;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-item.active,
.nav-item:hover {
  color: #005ecb;
  border-bottom-color: #005ecb;
}

.login-main {
  width: min(1200px, calc(100% - 32px));
  margin: 48px auto;
}

.login-panel {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(18, 37, 63, 0.12);
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 460px;
}

.panel-left {
  background: linear-gradient(140deg, #0066cc 0%, #1f8efa 55%, #ffd95a 125%);
  color: #fff;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-left h2 {
  margin: 0 0 16px;
  font-size: 34px;
}

.panel-left p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.95;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff6bf;
  font-weight: 700;
}

.panel-right {
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
}

.panel-right h3 {
  margin: 0 0 22px;
  font-size: 24px;
  color: #243b53;
}

.error-box {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #ffd1cc;
  background: #fff3f0;
  color: #d9534f;
  border-radius: 8px;
  font-size: 13px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.form-label {
  font-size: 13px;
  color: #52606d;
}

.form-input {
  width: 100%;
  height: 42px;
  border-radius: 9px;
  border: 1px solid #d6deeb;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: #0b74de;
  box-shadow: 0 0 0 3px rgba(11, 116, 222, 0.14);
}

.btn-login {
  margin-top: 8px;
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #0066cc, #0b83f3);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.btn-login:hover {
  filter: brightness(1.04);
}

.panel-links {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.panel-links a {
  font-size: 13px;
  color: #0066cc;
  text-decoration: none;
}

.panel-links a:hover {
  text-decoration: underline;
}

.footer {
  padding: 22px 16px 28px;
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  color: #5f6b7a;
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
}

.contact-line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 992px) {
  .login-panel {
    grid-template-columns: 1fr;
  }

  .panel-left {
    padding: 34px 26px;
  }

  .panel-right {
    padding: 30px 22px;
  }
}
