.app-header-nav{
    padding: 6px 40px;
    display: flex;
    align-items: center;
    position: relative;
}
.app-header-logo{
    flex: none;
    width: 220px;
    height: 88px;
    margin-right: 80px;
}
.app-header-logo img{
    display: block;
    width: 100%;
    height: 100%;
}
.app-header-nav-list{
    flex: auto;
    display: flex;
    align-items: center;
}
.app-header-nav-item{
    height: 28px;
    font-size: 20px;
    font-family: PingFang SC, PingFang SC-Semibold;
    font-weight: bold;
    text-align: left;
    color: #004b72;
    line-height: 28px;
    margin-right: 40px;
    cursor: pointer;
}
.app-header-nav-item:last-child{
    margin-right: 0;
}
.app-header-nav-item.active{
    color: #00c7bf;
}
.app-header-nav-item:hover{
    color: #00c7bf;
}
.app-header-login{
    flex: none;
    width: 173px;
    height: 46px;
    background-image: url(../images/header_login_en_bg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding-left: 20px;
}
.app-header-login:hover{
    background-image: url(../images/header_login_en_bg_hover.png);
}
.app-header-login .label{
    font-size: 20px;
    font-family: PingFang SC, PingFang SC-Semibold;
    font-weight: Semibold;
    text-align: left;
    color: #004b72;
    line-height: 28px;
    margin-right: 16px;
    font-weight: bold;
}
.app-header-login:hover .label{
    color: #fff;
}
.app-header-login .icon{
    width: 20px;
    height: 16px;
    background-image: url(../images/arrow_right_blue.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.app-header-login:hover .icon{
    background-image: url(../images/arrow_right_white.png);
}
.app-header-nav-hr{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #00c7bf;

}

/* 登录弹窗样式 */
.login-dialog .el-dialog__header {
  padding: 0;
}

.login-dialog .el-dialog__body {
  padding: 0;
}

.login-dialog-content {
  width: 100%;
}

/* 弹窗背景 */
.login-dialog {
  background-image: url(../images/nav/login_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  padding: 56px 40px 40px;
  overflow: hidden;
}

/* 标题和关闭按钮 */
.login-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: bold;
}

/* 关闭图标 */
.close-icon {
  cursor: pointer;
  width: 24px;
  height: 24px;
}



/* 表单容器 - 透明背景卡片 */
.login-form-container {
  margin-top: 32px;
  background: rgba(255,255,255,0.40);
  border: 2px solid rgba(255,255,255,0.60);
  border-radius: 12px;
  padding: 24px 20px;
  box-sizing: border-box;
}

/* 表单项 */
.form-item {
  margin-bottom: 16px;
}

.form-label {
  font-size: 14px;
font-family: PingFang SC, PingFang SC-Semibold;
font-weight: bold;
text-align: left;
color: #ffffff;
line-height: 20px;
margin-bottom: 8px;
}

.form-input {
  width: 100%;
}
.form-input::placeholder {
  color: #999;
}

/* Register文字 */
.register-text {
  font-size: 14px;
font-family: PingFang SC, PingFang SC-Semibold;
font-weight: Semibold;
text-align: left;
color: #004b72;
line-height: 20px;
cursor: pointer;
}


/* 登录按钮 */
.login-btn {
  margin-top: 20px;
  width: 149px;
  height: 46px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* 默认英文 */
.login-btn {
  background-image: url(../images/nav/login_btn_en.png);
}
.login-btn:hover {
  background-image: url(../images/nav/login_btn_en_hover.png);
}

/* 法文 */
body.lang-fr .login-btn {
  background-image: url(../images/my-files/login_btn_fr.png);
}
body.lang-fr .login-btn:hover {
  background-image: url(../images/my-files/login_btn_fr_hover.png);
}

/* 简体中文 */
body.lang-zh-CN .login-btn {
  background-image: url(../images/my-files/login_btn_zh_CN.png);
}
body.lang-zh-CN .login-btn:hover {
  background-image: url(../images/my-files/login_btn_zh_CN_hover.png);
}

/* 繁体中文 */
body.lang-zh-TW .login-btn {
  background-image: url(../images/my-files/login_btn_zh_TW.png);
}
body.lang-zh-TW .login-btn:hover {
  background-image: url(../images/my-files/login_btn_zh_TW_hover.png);
}

/* ========== 登录后的用户界面样式 ========== */

/* 用户信息容器 */
.app-header-user {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 铃铛消息按钮 */
.message-bell {
  position: relative;
  width: 24px;
  height: 24px;
  cursor: pointer;
  color: #004b72;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-bell:hover {
  color: #00c7bf;
}

/* 铃铛红点 */
.message-bell .bell-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background-color: #f56c6c;
  border-radius: 50%;
  border: 1px solid #fff;
}

/* 用户下拉菜单触发器 */
.user-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.user-dropdown-trigger:hover {
  background-color: rgba(0, 199, 191, 0.1);
}

/* 用户昵称 */
.user-nickname {
  font-size: 16px;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: Semibold;
  color: #004b72;
  line-height: 22px;
}

.user-dropdown-trigger:hover .user-nickname {
  color: #00c7bf;
}

/* 下拉三角图标 */
.user-dropdown-icon {
  font-size: 12px;
  color: #004b72;
  transition: transform 0.3s;
}

.user-dropdown-trigger:hover .user-dropdown-icon {
  color: #00c7bf;
}

/* 下拉菜单样式 */
.user-dropdown-menu {
  margin-top: 8px;
  background-color: #003450;
  border: 1px solid #003450;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.user-dropdown-menu .el-dropdown-menu__item {
  position: relative;
  font-size: 14px;
  font-family: PingFang SC, PingFang SC-Regular;
  color: #ffffff;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.user-dropdown-menu .el-dropdown-menu__item:last-child {
  border-bottom: none;
}
.logout-item{
   border-bottom: none!important;
}
.user-dropdown-menu .el-dropdown-menu__item:hover {
  background-color: #004b72;
  color: #ffffff;
}

.user-dropdown-menu .el-dropdown-menu__item.divided {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 4px;
  padding-top: 10px;
}
.el-popper .popper__arrow{
  display: none;
}

/* ========== 修改密码弹窗样式 ========== */
.change-password-dialog .el-dialog__header {
  padding: 20px 40px 15px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 24px;
font-family: PingFang SC, PingFang SC-Semibold;
font-weight: bold;
text-align: left;
color: #333333;
line-height: 33px;
}

.change-password-dialog .el-dialog__body {
  padding: 40px;
}

/* 表单项 */
.password-form-item {
  margin-bottom: 24px;
}
.password-form-item:last-child {
  margin-bottom: 0;
}

.password-form-label {
  font-size: 18px;
font-family: PingFang SC, PingFang SC-Regular;
font-weight: Regular;
text-align: left;
color: #333333;
line-height: 25px;
  margin-bottom: 16px;
}

.password-form-label .required {
  color: #ec1d23;
  margin-left: 8px;
}

.password-form-input {
  width: 100%;
}

/* Submit 按钮 */
.change-password-submit-btn {
  width: 160px;
  height: 46px;
  line-height: 46px;
  background: #004b72;
  color: #ffffff;
  font-size: 18px;
  font-family: PingFang SC, PingFang SC-Semibold;
 
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin: 40px auto 0;
  display: block;
}
.el-input__inner{
  height: 46px;
  line-height: 46px;
}

/* 法语模式下登录按钮宽度调整 */
body.lang-fr .app-header-login {
  width: 220px;
}

/* ========== 移动端适配 ========== */

/* 汉堡菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #004b72;
  border-radius: 2px;
}

/* 遮罩层 */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 抽屉菜单 */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 80vw;
  height: 100vh;
  background: linear-gradient(180deg, #003450 0%, #004b72 100%);
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.active {
  right: 0;
}

/* 抽屉关闭按钮 */
.mobile-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.mobile-drawer-close:hover {
  transform: rotate(90deg);
}

/* 移动端导航列表 */
.mobile-nav-list {
  padding: 60px 20px 20px;
}

.mobile-nav-item {
  display: block;
  padding: 16px 20px;
  font-size: 18px;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: #00c7bf;
  background-color: rgba(0, 199, 191, 0.1);
}

/* 移动端用户区域 */
.mobile-user-section {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}

/* 移动端登录按钮 */
.mobile-login-btn {
  padding: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-login-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 移动端用户信息 */
.mobile-user-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.mobile-user-name {
  padding: 16px 20px;
  font-size: 18px;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-user-name i {
  font-size: 20px;
}

.mobile-user-menu {
  padding: 10px 0;
}

.mobile-menu-item {
  padding: 14px 20px;
  font-size: 16px;
  font-family: PingFang SC, PingFang SC-Regular;
  color: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-item:hover {
  background-color: rgba(0, 199, 191, 0.2);
  color: #00c7bf;
}

.mobile-menu-item.logout {
  color: #f56c6c;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  margin-top: 10px;
  padding-top: 16px;
}

.mobile-menu-item.logout:hover {
  background-color: rgba(245, 108, 108, 0.2);
}

/* 移动端响应式样式 (小于1200px) */
@media (max-width: 1199px) {
  /* 隐藏PC端导航和登录按钮 */
  .app-header-nav-list {
    display: none !important;
  }

  .app-header-login {
    display: none !important;
  }

  .app-header-user {
    display: none !important;
  }

  /* 显示汉堡菜单按钮 */
  .mobile-menu-btn {
    display: flex;
  }

  /* 显示遮罩层和抽屉 */
  .mobile-drawer-overlay {
    display: block;
  }

  .mobile-drawer {
    display: block;
  }

  /* 调整头部导航布局 */
  .app-header-nav {
    padding: 6px 20px;
  }

  .app-header-logo {
    width: 150px;
    height: 60px;
    margin-right: auto;
  }

  /* 移动端登录弹窗适配 */
  .login-dialog {
    padding: 32px 20px;
    margin: 20px !important;
    width: calc(100% - 40px) !important;
    max-width: 400px !important;
  }

  .login-title {
    font-size: 18px;
    line-height: 22px;
  }

  .close-icon {
    width: 20px;
    height: 20px;
  }

  .login-form-container {
    margin-top: 20px;
    padding: 16px;
  }

  .form-item {
    margin-bottom: 12px;
  }

  .form-item:last-child {
    margin-bottom: 0;
  }

  .form-label {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 6px;
  }

  .forgot-password {
    font-size: 12px;
    line-height: 18px;
  }

  .login-btn {
    width: 120px;
    height: 40px;
    background-size: contain;
  }

  /* 移动端修改密码弹窗适配 */
  .change-password-dialog {
    margin: 20px !important;
    width: calc(100% - 40px) !important;
    max-width: 400px !important;
  }

  .change-password-dialog .el-dialog__header {
    padding: 16px 20px;
    font-size: 18px;
    line-height: 22px;
  }

  .change-password-dialog .el-dialog__body {
    padding: 20px;
  }

  .password-form-item {
    margin-bottom: 16px;
  }

  .password-form-label {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
  }

  .password-form-label .required {
    margin-left: 4px;
  }

  .change-password-submit-btn {
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin-top: 20px;
    font-size: 16px;
  }

  .el-input__inner {
    height: 40px;
    line-height: 40px;
  }
}
