html {
  font-feature-settings: "lnum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, textarea, select, optgroup, option, fieldset, legend, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}

body {
  background: #f5f8fc;
  font-family: PingFangSC-Regular, "Helvetica Neue", Helvetica, Arial, sans-serif, "Microsoft YaHei";
  color: #333;
  min-height: 100vh;
  position: relative;
  padding-bottom: 40px; /* 为底部悬浮备案号预留空间 */
}

fieldset, img {
  border: 0;
}

ul, li, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
}

legend {
  color: #000;
}

input, button, textarea, select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

input, button, select {
  margin: 0;
  line-height: 1.2;
}

a {
  color: #09AAFF;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  color: #0098EA;
  text-decoration: underline;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 清除浮动 */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  zoom: 1;
}

/* 文档样式 */
#doc {
  background-color: #f5f8fc;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

/* 修改位置相关样式 */
.acss-header {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
}

/* 验证表单样式 */
.verify-form {
  margin: 0 auto;
  width: 100%;
  max-width: 450px; 
  text-align: left;
  font-size: 14px;
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* 头部区域水波纹特效 */
.verify-form .header-area {
  background: #1890ff;
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  --x: 50%;
  --y: 50%;
}

.verify-form .header-area:before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
  animation: wave 8s infinite linear;
  border-radius: 50%;
  transform-origin: center;
}

.verify-form .header-area:after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1));
  animation: wave 12s infinite linear;
  border-radius: 50%;
  transform-origin: center;
}

/* 鼠标互动水波纹 */
.verify-form .header-area::before {
  transition: transform 0.5s;
}

.verify-form .header-area:hover::before {
  transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%)) scale(1.5);
  animation-play-state: paused;
}

@keyframes wave {
  0% {
    transform: rotate(0deg) scale(1.2);
  }
  50% {
    transform: rotate(180deg) scale(1.5);
  }
  100% {
    transform: rotate(360deg) scale(1.2);
  }
}

.verify-form .header-area h1 {
  font-size: 22px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.verify-form .header-area p {
  font-size: 14px;
  margin-top: 6px;
  position: relative;
  z-index: 2;
}

.ac-close {
  padding: 30px;
}

.verify-input {
  width: 100%;
  float: none;
  box-sizing: border-box;
}

.verify-input .pickpw {
  margin-bottom: 20px;
}

.verify-input .pickpw dt {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 15px;
  color: #333;
}

.verify-input .input-area {
  position: relative;
  display: block;
  width: 100%;
}

.LxgeIt {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dcdee2;
  padding: 10px 15px;
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s;
  display: block;
  margin-bottom: 20px;
}

.LxgeIt:focus {
  outline: none;
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.QKKaIE {
  width: 100%;
}

#submitBtn {
  width: 100%;
  margin-top: 20px;
}

.verify-form .submit-a {
  display: block;
  width: 100%;
  background: #1890ff;
  color: white;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 4px;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  box-sizing: border-box;
}

.verify-form .submit-a:hover {
  background: #40a9ff !important;
  color: white !important;
}

.verify-form .submit-a .text {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.verify-tips {
  font-size: 13px;
  color: #666;
  text-align: center;
  padding-top: 15px;
}

/* 备案信息悬浮样式 */
.beian-area {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  color: #999;
  z-index: 1000;
  border-top: 1px solid #eee;
}

.beian-area a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.beian-area a:hover {
  color: #1890ff;
  text-decoration: underline;
}

/* 自定义弹窗样式 */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.custom-modal.show {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 420px;
  animation: scaleIn 0.3s ease-out;
  overflow: hidden;
}

.modal-header {
  background-color: #1890ff;
  color: white;
  padding: 15px 20px;
  position: relative;
  overflow: hidden;
}

.modal-header:before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
  animation: wave 8s infinite linear;
  border-radius: 50%;
  transform-origin: center;
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.modal-body {
  padding: 20px;
  text-align: center;
}

.modal-message {
  font-size: 15px;
  margin-bottom: 20px;
  color: #333;
}

.modal-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.modal-icon.success {
  color: #52c41a;
}

.modal-icon.error {
  color: #f5222d;
}

.modal-icon.info {
  color: #1890ff;
}

.modal-icon.warning {
  color: #faad14;
}

.modal-footer {
  padding: 10px 20px 20px;
  text-align: center;
}

.modal-btn {
  display: inline-block;
  min-width: 80px;
  padding: 8px 16px;
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  outline: none;
}

.modal-btn:hover {
  background-color: #40a9ff;
}

.modal-btn.cancel {
  background-color: #f0f0f0;
  color: #333;
  margin-right: 10px;
}

.modal-btn.cancel:hover {
  background-color: #e0e0e0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
}

/* 弹窗样式 */
.layui-layer {
  border-radius: 6px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

.layui-layer-title {
  background-color: #1890ff !important;
  color: white !important;
  border-radius: 6px 6px 0 0 !important;
  border: none !important;
}

.layui-layer-btn .layui-layer-btn0 {
  background-color: #1890ff !important;
  border-color: #1890ff !important;
}

/* 媒体查询优化 */
@media (max-width: 480px) {
  .acss-header {
    width: 90%;
  }
  
  .verify-form {
    width: 100%;
  }
  
  .ac-close {
    padding: 20px;
  }
  
  .modal-content {
    width: 90%;
  }
}