header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  min-width: 1200px;
  height: 66px;
  padding: 0 40px;
  background-color: #1F3A8C;
}
header .header-content {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  width: 104px;
  height: 30px;
}
header .logo img {
  width: 100%;
  height: 100%;
}
header .nav ul {
  display: flex;
}
header .nav ul li {
  margin: 0 10px;
  height: 34px;
  width: 90px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  line-height: 34px;
  cursor: pointer;
}
header .nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
}
header .nav ul li:hover {
  opacity: 0.9;
}
header .nav ul li.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}
header .login button {
  width: 90px;
  height: 40px;
  font-size: 16px;
  color: #1F3A8C;
  background-color: #fff;
  border-radius: 6px;
}
header .login button:hover {
  opacity: 0.9;
}

/* 用户信息样式 - 通用 */
.login .user-info {
  position: relative;
  cursor: pointer;
}
.login .user-nickname {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: background-color 0.3s;
}
.login .user-nickname:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.login .user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}
.login .user-info:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.login .user-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}
.login .user-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
}
.login .user-dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}
.login .user-dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}
.login .user-dropdown-item:hover {
  background-color: #f5f5f5;
}
.login .user-dropdown-item .dropdown-label {
  color: #666;
}
.login .user-dropdown-item .dropdown-value {
  color: #333;
  font-weight: 500;
}
.login .user-dropdown-divider {
  height: 1px;
  background-color: #eee;
  margin: 0 12px;
}
.login .logout-btn {
  color: #ff4d4f;
  justify-content: center;
}
.login .logout-btn:hover {
  background-color: #fff1f0;
}
