.rehumanize-header-container {
  width: 100%;
  /* max-width: 1200px; */
  background-color: #2d2d2d;
  border-radius: 8px;
  padding: 0 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  transform: translate(-50%, 0);
  left: 50%;
  z-index: 1000;
  top: 0;
}

.rehumanize-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.rehumanize-header-left {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  padding-right: 12px;
}

.rehumanize-header-logo-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s;
}

.rehumanize-header-logo-button:hover {
  opacity: 0.8;
}

.rehumanize-header-logo-icon {
  width: 36px;
  height: 36px;
  background-color: #fff;
  color: #2c3e50;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  margin-right: 10px;
}

.rehumanize-header-logo-icon img {
  width: 20px;
}

.rehumanize-header-logo-text {
  color: #262626;
  font-size: 14px;
  font-weight: 900;
}

.rehumanize-header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rehumanize-header-language-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.rehumanize-header-language-select-wrapper .rehumanize-header-language-icon {
  position: absolute;
  left: 10px;
  color: #fff;
  z-index: 1;
  pointer-events: none;
}

.rehumanize-header-language-select {
  width: 120px;
  height: 36px;
  padding-left: 35px;
  padding-right: 28px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
}

.rehumanize-header-language-select:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.rehumanize-header-language-select option {
  background: #2d2d2d;
  color: #fff;
}

.rehumanize-header-contact-button {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #000000;
  height: 36px;
  padding: 0 20px;
  border-radius: 4px;
  transition: all 0.3s;
  background: #ffffff;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.rehumanize-header-contact-button i {
  display: none;
}

.rehumanize-header-contact-button-text {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

/* 自定义弹窗 */
.rehumanize-header-contact-dialog-mask {
  position: fixed;
  top: 200px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rehumanize-header-contact-dialog {
  width: 400px;
  max-width: 90%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.rehumanize-header-contact-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 10px;
  border-bottom: 1px solid #ebeef5;
  font-size: 16px;
  font-weight: 600;
}

.rehumanize-header-contact-dialog-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #000;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
}

.rehumanize-header-contact-dialog-close:hover {
  opacity: 1;
}

.rehumanize-header-contact-dialog-body {
  padding: 20px;
}

.rehumanize-header-contact-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rehumanize-header-email-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-radius: 4px;
}

.rehumanize-header-email-display i {
  cursor: pointer;
}

/* 原 Vue scoped 的深度选择器 .email-display>>>svg 改为标准选择器 */
.rehumanize-header-email-display svg {
  width: 20px;
  height: 20px;
  fill: #000000;
}

.rehumanize-header-email-label {
  font-weight: 600;
  color: #333;
}

.rehumanize-header-email-address {
  font-size: 16px;
  word-break: break-all;
}

/* Toast */
.rehumanize-header-toast {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  max-width: 90vw;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  z-index: 3000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

.rehumanize-header-toast.success {
  background: rgba(103, 194, 58, 0.95);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rehumanize-header-toast.error {
  background: rgba(245, 108, 108, 0.95);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rehumanize-header-toast-fade-enter-active,
.rehumanize-header-toast-fade-leave-active {
  transition: opacity 0.25s ease;
}

.rehumanize-header-toast-fade-enter,
.rehumanize-header-toast-fade-leave-to {
  opacity: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .rehumanize-header-container {
    padding: 0;
  }

  .rehumanize-header-content {
    padding: 0 10px;
  }

  .rehumanize-header-language-select {
    width: 100px;
  }

  .rehumanize-header-contact-button-text {
    display: none;
  }

  .rehumanize-header-contact-button {
    padding: 0;
    font-size: 14px;
    background: none;
    border: none;
  }

  .rehumanize-header-contact-button i {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .rehumanize-header-contact-dialog {
    width: 90%;
  }
}
.VPNav {
  display: none;
}
.aside-curtain {
  display: none;
}