* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #F5F1EA;
  color: #2D2A26;
  height: 100vh;
  overflow: hidden;
}

.login-container {
  display: flex;
  height: 100vh;
}

.login-left {
  flex: 1;
  background: linear-gradient(135deg, #1E3A4C 0%, #2C5F7C 50%, #3A7A9B 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.brand-section {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.brand-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-mark svg {
  width: 64px;
  height: 64px;
}

.brand-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 12px;
  margin-bottom: 12px;
  color: #fff;
}

.brand-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 4px;
  font-weight: 300;
}

.deco-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.6;
  z-index: 1;
}

.deco-pattern svg {
  width: 100%;
  height: 100%;
}

.footer-quote {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
  font-family: 'Noto Serif SC', serif;
}

.footer-quote p {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.footer-quote span {
  font-size: 12px;
  opacity: 0.7;
}

.login-right {
  width: 520px;
  background: #F8F6F2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.login-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23paper)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.login-header {
  margin-bottom: 32px;
}

.login-header h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 600;
  color: #2D2A26;
  margin-bottom: 8px;
}

.login-header p {
  font-size: 14px;
  color: #8B8680;
}

.product-switch {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.product-btn {
  flex: 1;
  padding: 16px 12px;
  border: 1.5px solid #E5E1D8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.product-btn:hover {
  border-color: #C8BFAE;
  background: #FDFCF9;
}

.product-btn.active {
  border-color: #B84234;
  background: linear-gradient(135deg, #FFFBFA 0%, #FFF5F3 100%);
  box-shadow: 0 4px 16px rgba(184, 66, 52, 0.1);
}

.product-btn.active .product-icon {
  color: #B84234;
}

.product-icon {
  width: 28px;
  height: 28px;
  color: #8B8680;
  transition: color 0.3s;
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-name {
  font-size: 13px;
  font-weight: 600;
  color: #2D2A26;
}

.product-desc {
  font-size: 11px;
  color: #A09A92;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  color: #5A5550;
  margin-bottom: 8px;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #A09A92;
}

.input-icon svg {
  width: 100%;
  height: 100%;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid #E5E1D8;
  border-radius: 8px;
  font-size: 14px;
  color: #2D2A26;
  background: #fff;
  transition: all 0.3s ease;
  font-family: inherit;
}

.input-wrapper input:focus {
  outline: none;
  border-color: #2C5F7C;
  box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
}

.input-wrapper input::placeholder {
  color: #B5B0A8;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #5A5550;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2C5F7C;
  cursor: pointer;
}

.forgot-link {
  font-size: 13px;
  color: #2C5F7C;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #2C5F7C 0%, #1E3A4C 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 8px;
  font-family: 'Noto Serif SC', serif;
  margin-top: 8px;
}

.login-btn:hover {
  background: linear-gradient(135deg, #3A7A9B 0%, #2C5F7C 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(44, 95, 124, 0.25);
}

.login-btn:active {
  transform: translateY(0);
}

.beian-link {
  color: #B5B0A8;
  text-decoration: none;
  border-bottom: 1px solid rgba(181,176,168,.4);
  padding-bottom: 1px;
}

.beian-link:hover {
  color: #8A6D5B;
  border-bottom-color: #8A6D5B;
}

.login-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: #B5B0A8;
  line-height: 1.8;
}

@media (max-width: 960px) {
  .login-left {
    display: none;
  }
  .login-right {
    width: 100%;
  }
}
