.mask {
  position: fixed;
  inset: 0;
  z-index: 1004;
  height: 100%;
  background-color: var(--ant-color-bg-mask);
  opacity: 0;
  transition: opacity var(--ant-motion-duration-slow)
    var(--ant-motion-ease-in-out);
}

.maskOpen {
  opacity: 1;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 1005;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: var(--ant-color-bg-elevated);
  border-radius: var(--ant-border-radius-lg) 0 0 var(--ant-border-radius-lg);
  box-shadow:
    -6px 0 16px 0 rgb(0 0 0 / 8%),
    -3px 0 6px -4px rgb(0 0 0 / 12%),
    -9px 0 28px 8px rgb(0 0 0 / 5%);
  transform: translateX(100%);
  transition: transform var(--ant-motion-duration-slow)
    var(--ant-motion-ease-in-out);
}

.overlayOpen {
  transform: translateX(0);
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: var(--ant-padding) var(--ant-padding-lg);
  border-bottom: 1px solid var(--ant-color-split);
  color: var(--ant-color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
}

.title {
  display: flex;
  min-width: 0;
  align-items: center;
}

.subTitle {
  margin-left: 8px;
  border-color: var(--ant-color-border-secondary);
  border-radius: 4px;
  color: var(--ant-color-text-secondary);
  font-size: 12px;
  font-weight: 400;
}

.content {
  padding-block: 16px;
  flex: 1;
  height: calc(100vh - 57px);
  overflow-y: auto;
}

.footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px 8px;
}
