.video-tool-component {
  position: absolute;
  bottom: 1.5rem;
  z-index: 9;
}

.video-storyboard-tools {
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 4px 20px #0009;
}
.video-storyboard-tools-clean{
  border: none;
  box-shadow: none;
}
.video-storyboard-tools .tool-submit-button {
  display: flex;
  height: 36px;
  width: 120px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 10px;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(29 33 41 / var(--tw-text-opacity));
  background-color: #fff;
}

.video-storyboard-tools .tool-submit-button.disabled {
  background-color: #fff;
  opacity: .3;
  cursor: not-allowed;
}

.video-storyboard-tools .tool-submit-button.loading {
  background-color: #fff;
  opacity: .7;
  cursor: not-allowed;
  pointer-events: none;
}

.storyboard-tools-tab {
  border-radius: 16px 16px 0 0;
  background: #ffffff0d;
}

.storyboard-tools-tab .tab-item {
  position: relative;
  cursor: pointer;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  line-height: 32px;
}

.storyboard-tools-tab .tab-item.active,
.storyboard-tools-tab .tab-item.active span {
  opacity: 1;
}

.storyboard-tools-tab .tab-item.active:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background-color: #fff;
  transform: translate(-50%);
}

.video-prompt-editor .editor-content {
  line-height: 26px;
  outline: none;
  white-space: pre-wrap;
}

.video-prompt-editor .editor-content[contenteditable] {
  display: inline-block;
  width: 100%;
}

.video-prompt-editor.focus {
  background-color: #ffffff0d;
}

.underline {
  text-decoration-line: underline;
}

.tool-scroll-box-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tool-operation-button {
  display: flex;
  height: 36px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: .875rem;
  line-height: 1.25rem;
  background-color: #ffffff0d;
}

.tool-operation-button:hover {
  background-color: #ffffff1a;
}

/* 下拉菜单样式 */
.mode-dropdown.ant-dropdown .ant-dropdown-menu {
  background: rgba(25, 27, 30, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 280px;
}

.mode-dropdown.ant-dropdown .ant-dropdown-menu-item {
  padding: 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.mode-dropdown.ant-dropdown .ant-dropdown-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mode-dropdown.ant-dropdown .ant-dropdown-menu-item-selected {
  background: rgba(255, 255, 255, 0.1);
}

.animated-text {
  color: #dfdcff;
  font-size: clamp(2rem, 12rem, 1vw);
  line-height: 1.2;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  perspective: 500px;
}
