/* styles/UserDropdown.module.css */
.UserDropdown_dropdown__mjK7P {
  position: relative;
  display: inline-block;
  font-size: 14px; /* 添加这一行来设置整体字体大小 */
}

.UserDropdown_dropdownTrigger__j0nf2 {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--active-color);
  font-size: 14px; /* 为下拉菜单触发器设置字体大小 */
}

.UserDropdown_dropdownTrigger__j0nf2:hover {
  color: var(--positive-color);
}

.UserDropdown_dropdownContent__NrXfB {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--background-color);
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 4px;
  z-index: 1000;
  border: 1px solid var(--passive-color);
  font-size: 12px; /* 为下拉菜单内容设置更小的字体大小 */
}

.UserDropdown_dropdownItem__c6t_V {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  color: var(--active-color);
  font-size: 12px; /* 为下拉菜单项设置字体大小 */
}

.UserDropdown_dropdownItem__c6t_V:hover {
  background-color: var(--passive-color);
  color: var(--background-color);
}

.UserDropdown_dropdownItem__c6t_V svg {
  color: var(--passive-color);
  font-size: 14px; /* 为图标设置字体大小 */
}

.UserDropdown_dropdownItem__c6t_V:hover svg {
  color: var(--background-color);
}
.Header_nav__F3t74 ul {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.Header_nav__F3t74 ul li {
  padding-left: 1rem;
}

.Header_logo__6vBZG {
  color: var(--strong-color);
  margin-right: 0.5rem;
}


.Header_languageButton__MarJj:hover {
  background: var(--hover-color);
}

.Header_languageButton__MarJj::after {
  font-size: 0.75rem;
}


.Header_languagePicker__WYO16 {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  z-index: 10;
}

.Header_languageDropdown__H7HnV {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--sub-color);
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: Header_dropdownFadeIn__fHXm6 0.2s ease;
}



.Header_languageOption__djkdn {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  color: var(--sub-alt-color);
  cursor: pointer;
  border-radius: 0.25rem;
  text-align: left;
  transition: all 0.2s ease;
}


.Header_languageOption__djkdn:hover {
  background: var(--hover-color);
}

.Header_languageOption__djkdn.Header_active__EB8lX {
  background: var(--main-color);
  color: var(--text-color);
}


.Header_settings__0DsIY {
  display: flex;
  align-items: center; /* 垂直居中对齐 */
  gap: 10px; /* 组件之间的间距 */
}


/* 确保 ThemePicker 和 LanguagePicker 的按钮高度一致 */
.Header_themeButton__Vemnx {  /* 假设你的 ThemePicker 按钮使用这个类名 */
  height: 40px;  /* 设置统一的高度 */
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Header_languageButton__MarJj {
  padding: 0.5rem 1rem;
  background: var(--sub-color);
  border: none;
  border-radius: 0.5rem;
  color: var(--text-color);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes Header_dropdownFadeIn__fHXm6 {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* 添加一些响应式样式 */
@media (max-width: 768px) {
  .Header_languageDropdown__H7HnV {
    width: 200px;
  }
  
  .Header_languageButton__MarJj {
    width: 100%;
    justify-content: space-between;
  }
}

.Header_headerBar__n2_C9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 2rem;
  background: var(--background-color, #1e1e2e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  /* 确保始终可见 */
  min-height: 72px;
  width: 100%;
  /* 防止被其他元素覆盖 */
  opacity: 1;
  visibility: visible;
}

.Header_headerBar__n2_C9:hover {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.Header_left__9aIGe {
  display: flex;
  align-items: center;
  gap: 20px;
  /* 确保左侧元素可见 */
  opacity: 1;
  visibility: visible;
}

.Header_center__Zh3Nt {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Header_right__K2Msm {
  display: flex;
  align-items: center;
  gap: 24px;
}

.Header_logoLink__IIik4 {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.Header_logoLink__IIik4::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.Header_logoLink__IIik4:hover::before {
  left: 100%;
}

.Header_logoLink__IIik4:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.Header_logoIcon__u5pMY {
  font-size: 28px;
  color: var(--positive-color, #10b981);
  margin-right: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
}

.Header_logoLink__IIik4:hover .Header_logoIcon__u5pMY {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.Header_logoText__Msq47 {
  font-size: 26px;
  font-weight: 800;
  color: var(--active-color, #ffffff);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--active-color, #ffffff), var(--positive-color, #10b981));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.Header_logoLink__IIik4:hover .Header_logoText__Msq47 {
  background: linear-gradient(135deg, var(--positive-color), var(--active-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.Header_iconLink__lVN05 {
  display: flex;
  align-items: center;
  color: var(--passive-color, #a0a0a0);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.Header_iconLink__lVN05::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.Header_iconLink__lVN05:hover::before {
  width: 100%;
  height: 100%;
}

.Header_iconLink__lVN05:hover {
  color: var(--positive-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.Header_icon__BPVd4 {
  font-size: 18px;
  transition: all 0.3s ease;
}

.Header_iconLink__lVN05:hover .Header_icon__BPVd4 {
  transform: scale(1.1);
}

.Header_loginButton__BhBIj {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--positive-color), var(--active-color));
  border: none;
  color: var(--background-color);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.Header_loginButton__BhBIj::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.Header_loginButton__BhBIj:hover::before {
  left: 100%;
}

.Header_loginButton__BhBIj:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--active-color), var(--positive-color));
}

.Header_loginButton__BhBIj .Header_icon__BPVd4 {
  font-size: 16px;
  margin-right: 8px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .Header_headerBar__n2_C9 {
    padding: 0 1.5rem;
    height: 68px;
  }
  
  .Header_left__9aIGe {
    gap: 16px;
  }
  
  .Header_right__K2Msm {
    gap: 20px;
  }
  
  .Header_logoIcon__u5pMY {
    font-size: 24px;
    margin-right: 12px;
  }
  
  .Header_logoText__Msq47 {
    font-size: 22px;
  }
  
  .Header_iconLink__lVN05 {
    padding: 8px;
    font-size: 16px;
  }
  
  .Header_icon__BPVd4 {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .Header_headerBar__n2_C9 {
    padding: 0 1rem;
    height: 64px;
  }
  
  .Header_left__9aIGe {
    gap: 12px;
  }
  
  .Header_right__K2Msm {
    gap: 16px;
  }
  
  .Header_logoIcon__u5pMY {
    font-size: 22px;
    margin-right: 10px;
  }
  
  .Header_logoText__Msq47 {
    font-size: 20px;
    letter-spacing: 1px;
  }
  
  .Header_iconLink__lVN05 {
    padding: 6px;
    font-size: 14px;
  }
  
  .Header_icon__BPVd4 {
    font-size: 14px;
  }
  
  .Header_loginButton__BhBIj {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .Header_headerBar__n2_C9 {
    padding: 0 0.75rem;
    height: 60px;
  }
  
  .Header_left__9aIGe {
    gap: 8px;
  }
  
  .Header_right__K2Msm {
    gap: 12px;
  }
  
  .Header_logoIcon__u5pMY {
    font-size: 20px;
    margin-right: 8px;
  }
  
  .Header_logoText__Msq47 {
    font-size: 18px;
    letter-spacing: 0.5px;
  }
  
  .Header_iconLink__lVN05 {
    padding: 4px;
    font-size: 12px;
  }
  
  .Header_icon__BPVd4 {
    font-size: 12px;
  }
  
  .Header_loginButton__BhBIj {
    padding: 8px 12px;
    font-size: 12px;
  }
}


