body {
  font-family: 'PingFang', Arial, sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 20px;
}

.navbar {
  background-color: #347dfb;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  position: relative;
  z-index: 150;
}

.navbar .logo {
  position: relative;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: inline-block;
  height: 60px;
  width: 40px;
  margin-left: -10px;
  z-index: 200;
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.5s ease, width 0.65s cubic-bezier(0.42, 0, 0.58, 1);
}

.navbar .logo img {
  max-width: 500px;
  max-height: 350px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-top: -40px;
  margin-left: -24px;
  clip-path: inset(0 83% 0 0);
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), clip-path 0.65s cubic-bezier(0.42, 0, 0.58, 1);
}

.navbar .logo:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  width: 465px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  z-index: 99;
}

.navbar ul li {
  margin-left: 20px;
}

.navbar ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #eff7ff;
}

.navbar-button {
  transition: transform 1s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.navbar-button:hover {
  transform: scale(1.05);
}

.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 149;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.6s ease;
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .blur-overlay {
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.login-panel {
  background-color: #ffffff;
  margin-top: 0;
  position: relative;
  top: 50px;
  width: 40%;
  height: 66%;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 60px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-radius 1s ease, filter 0.6s ease;
}

.login-panel:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
  border-radius: 50px;
}

.login-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #347dfb;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.divider {
  display: block;
  width: 80%;
  border: none;
  border-top: 2px solid #347dfb;
  margin: 30px auto;
}

.input {
  width: 70%;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #cccccc;
  border-radius: 10px;
  outline: none;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.6s ease;
  color: #575757;
  opacity: 0.5;
}

.input:focus {
  border-color: #347dfb;
  box-shadow: 0 6px 20px rgba(52, 125, 251, 0.6);
  color: #000;
  opacity: 1;
  transform: translateY(-4px);
}

.input:focus:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(52, 125, 251, 0.4);
}


.button-container {
  width: 75%;
  padding: 8px 26px;
  margin: 8px auto;
  font-size: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #347dfb 0%, #6ea8fe 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(52, 125, 251, 0.4);
  cursor: pointer;
  text-align: center;
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.6s ease;
}

.button-container:hover {
  background-position: 100% 50%;
  box-shadow: 0 6px 20px rgba(52, 125, 251, 0.6);
  transform: translateY(-4px);
}

.button-container:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(52, 125, 251, 0.4);
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row; /* 保持navbar的水平布局 */
    justify-content: space-between; /* 保持navbar的对齐方式 */
    padding: 10px 10px; /* 缩小padding，保持整体尺寸 */
  }

  .navbar ul {
    flex-direction: row; /* 保持菜单项水平排列 */
  }

  .navbar ul li {
    margin-left: 10px; /* 缩小菜单项之间的间距 */
  }

  .login-panel {
    width: 90%;
    height: auto; /* 允许面板高度自适应内容 */
    top: 30px;
    padding: 20px 15px; /* 调整面板的内边距以适应小屏幕 */
    border-radius: 20px; /* 增加圆角以在移动端显得更柔和 */
  }

  .input, .button-container {
    width: 100%;
    max-width: none;
    padding: 12px 15px; /* 增加padding，使在移动端更加易于点击 */
  }

  .login-title {
    font-size: 20px; /* 缩小标题字体大小，适应小屏幕 */
  }

  .divider {
    width: 70%;
  }
}
.login-footer {
  font-size: 14px;
  color: #888888;
  text-align: center;
  margin-top: 20px;
}

.footer-link {
  color: #347dfb; /* 高亮颜色 */
  text-decoration: none; /* 去掉下划线 */
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* 平滑过渡效果 */
}

.footer-link:hover {
  color: #6ea8fe; /* 悬停时的颜色变化 */
  transform: translateY(-5px); /* 向上偏移 5px，效果更明显 */

}


.background-link {
  color: #347dfb3d; /* 高亮颜色 */
  text-decoration: none; /* 去掉下划线 */
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* 平滑过渡效果 */
  position: fixed; /* 固定在屏幕底部 */
  bottom: 10px; /* 距离屏幕底部10px */
  left: 50%; /* 水平居中 */
  transform: translateX(-50%); /* 修正居中的偏移 */
  z-index: 1000; /* 确保在其他内容上方 */
  font-weight: bold; /* 设置为粗体 */
  font-size: 8px;
}

.background-link:hover {
  color: #6ea8fe98; /* 悬停时的颜色变化 */
  transform: translate(-50%, -2px); /* 向上偏移 5px，并修正水平居中的偏移 */
  
}







.captcha-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: 73.5%; /* 让验证码容器占满整个宽度 */
}
.captcha-code {
  font-size: 18px;
  font-weight: bold;
  color: #347dfb;
  background-color: #ffffff;
  border: 2px solid #cccccc;
  border-radius: 10px;
  padding: 10px;
  height: 18px; 
  text-align: center;
  width: 80px; /* 让宽度自动适应内容 */
  margin-right: 10px;
}

.refresh-captcha {
  padding: 0 15px;
  background-color: #347dfb;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  height: 40px; /* 调整高度 */
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #347dfb 0%, #6ea8fe 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  box-shadow: 0 4px 15px rgba(52, 125, 251, 0.4);
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.6s ease;
}

.refresh-captcha:hover {
  background-position: 100% 50%; /* 悬停时背景位置变化，触发平滑过渡 */
  box-shadow: 0 6px 20px rgba(52, 125, 251, 0.6); /* 悬停时增加阴影效果 */
  transform: translateY(-4px); /* 悬停时按钮上移效果 */
}

.refresh-captcha:active {
  transform: translateY(0); /* 点击时按钮回到原位 */
  box-shadow: 0 4px 10px rgba(52, 125, 251, 0.4); /* 点击时减弱阴影效果 */
}





.refresh-captcha:hover {
  background-color: #6ea8fe; /* 悬停时颜色变化 */
}

.input_cc {
  flex: 1; /* 让输入框占据剩余的宽度 */
  margin-right: 10px;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #cccccc;
  border-radius: 10px;
  outline: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.6s ease;
  color: #575757;
  opacity: 0.5;
}

.input_cc:focus {
  border-color: #347dfb;
  box-shadow: 0 6px 20px rgba(52, 125, 251, 0.6);
  color: #000;
  opacity: 1;
  transform: translateY(-4px);
}

.input_cc:focus:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(52, 125, 251, 0.4);
}