/* 移除所有按钮和链接的焦点状态效果 */
button {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

button:focus, .xht-focus-none:focus {
  outline: none !important;
  box-shadow: none !important;
}

@tailwind components;
@tailwind utilities;

.clip-texts {
  background: linear-gradient(90deg, #fe4ffb 0%, #009ffe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* 添加在样式文件中或内联样式 */
.xht-loading-animation {
  position: relative;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.xht-loading-bar {
  position: absolute;
  height: 100%;
  width: 20%;
  background-color: #4a90e2;
  animation: xht-loading 1.5s infinite ease-in-out;
  border-radius: 10px;
}

@keyframes xht-loading {
  0% { left: -20%; }
  100% { left: 100%; }
}

