/*@import "tailwindcss/preflight";*/
/*@import "tailwindcss/utilities";*/

html{
  overflow: hidden;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.08); /* 滑块颜色 */
  /*border-radius: 5px; !* 滑块圆角 *!*/
}

::-webkit-scrollbar-thumb:hover {
  background-color: #929191;
}


::-webkit-scrollbar-track {
  background-color: rgba(241, 241, 241, 0);
  /*border-radius: 5px;*/
}

/* 滚动条轨道中没有滑块覆盖的部分 */
::-webkit-scrollbar-track-piece {
  /* 可以设置不同的轨道部分样式 */
}


::-webkit-scrollbar-corner {
  background-color: rgba(204, 204, 204, 0);
}


.scrollable-element
{
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/* WebKit 细滚动条样式 */
.scrollable-element ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollable-element ::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px
;
}

.scrollable-element ::-webkit-scrollbar-track {
  background-color: transparent;
}

.scrollable-container {
  scrollbar-width: none; /* 隐藏 Firefox 默认滚动条 */
}

.scrollable-container::-webkit-scrollbar {
  background: #00000000;
  width: 6px; /* 悬停时显示垂直滚动条 */
  height: 6px; /* 悬停时显示水平滚动条 */
}

.scrollable-container:hover::-webkit-scrollbar {
  width: 6px; /* 悬停时显示垂直滚动条 */
  height: 6px; /* 悬停时显示水平滚动条 */
}

.scrollable-container:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.scrollable-container:hover::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', 'Oxygen',
  'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
  monospace;
}

.center-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 0;
}
.center-link img {
  margin-right: 5px; /* 图片和文字间隔 */
}


.h-screen{
  height: 100vh;
}

.h-full{
  height: 100%;
}



.overflow-hidden{
  overflow: hidden;
}

.overflow-auto{
  overflow: auto;
}

.bg-dark {
  background: #001529;
}

.bg-light {
  background: #0E61AE;
}

.flex{
  display: flex;
}

.flex-col{
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center{
  justify-content: center;
}

.bg-black{
  background: #000;
}