/* WEB_CSS/point-verify.css */
/* 弹窗容器 - 居中显示 */
.char-verify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* 最高层级，覆盖其他内容 */
    display: none; /* 初始隐藏 */
  }
  
  /* 弹窗内容区 */
  .char-verify-modal > div {
    width: 90%;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  
  /* 图片区域 */
  .verify-img-wrapper {
    position: relative;
    height: 220px;
    background-color: #f0f0f0;
  }
  
  .verify-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* 图片遮罩（增强文字对比度） */
  .img-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 70%);
  }
  
  /* 汉字容器 */
  #char-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  /* 刷新按钮 */
  #char-refresh {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
    transition: background-color 0.3s;
  }
  
  #char-refresh:hover {
    background-color: white;
    outline: none;
  }
  #char-refresh:focus {
      outline: none;
  }

 /* 文字关闭按钮 */
 #close-verify {
     position: absolute;
     top: 10px;
     right: 10px;
     background-color: rgba(255, 255, 255, 0.8);
     border: none;
     border-radius: 50%;
     width: 36px;
     height: 36px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
     transition: background-color 0.3s;
   }
   
   #close-verify:hover {
     background-color: white;
     outline: none;
   }
  
    /* 图形关闭按钮 */
 #close-captcha {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #close-captcha:hover {
    background-color: white;
    outline: none;
  }
  /* 提示区域 */
  .verify-tips {
    padding: 16px;
  }
  
  .target-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 500;
  }
  
  .target-text {
    color: #2c7be5;
    font-weight: bold;
  }
  
  /* 按钮区域 */
  .btn-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #char-reset {
    padding: 6px 14px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #char-reset:hover {
    background-color: #e0e0e0;
  }
  
  .countdown {
    font-size: 12px;
    color: #666;
  }
  
  /* 汉字样式 - 带顺序标记 */
  .char-item {
    position: absolute;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .char-item:hover {
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.3);
  }
  
  /* 汉字上的顺序标记（圆形小气泡） */
  .char-order {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: #2c7be5;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  /* 失败抖动动画 */
  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
  }
  
  .shake {
    animation: shake 0.5s;
  }

  #check-captcha-btn:focus {
    outline: none; /* 去除焦点轮廓 */
}
button:focus {
    outline: none; /* 去除焦点轮廓 */
}
