/**
 *
 * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). 
 * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc..  
 * 
 * This source code is licensed under the Apache license.
 * See LICENSE file in the project root for license information.
 *
 */
.auxo-drawer {
  position: fixed;
  z-index: 1000;
  width: 0%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1), height 0s ease 0.3s, width 0s ease 0.3s;
}
.auxo-drawer > * {
  transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1), box-shadow 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
}
.auxo-drawer-content-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
}
.auxo-drawer .auxo-drawer-content {
  width: 100%;
  height: 100%;
}
.auxo-drawer-left,
.auxo-drawer-right {
  top: 0;
  width: 0%;
  height: 100%;
}
.auxo-drawer-left .auxo-drawer-content-wrapper,
.auxo-drawer-right .auxo-drawer-content-wrapper {
  height: 100%;
}
.auxo-drawer-left.auxo-drawer-open,
.auxo-drawer-right.auxo-drawer-open {
  width: 100%;
  transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
}
.auxo-drawer-left {
  left: 0;
}
.auxo-drawer-left .auxo-drawer-content-wrapper {
  left: 0;
}
.auxo-drawer-left.auxo-drawer-open .auxo-drawer-content-wrapper {
  box-shadow: 2px 0px 8px 0px rgba(37, 41, 49, 0.1);
}
.auxo-drawer-right {
  right: 0;
}
.auxo-drawer-right .auxo-drawer-content-wrapper {
  right: 0;
}
.auxo-drawer-right.auxo-drawer-open .auxo-drawer-content-wrapper {
  box-shadow: -2px 0px 8px 0px rgba(37, 41, 49, 0.1);
}
.auxo-drawer-right.auxo-drawer-open.no-mask {
  right: 1px;
  transform: translateX(1px);
}
.auxo-drawer-top,
.auxo-drawer-bottom {
  left: 0;
  width: 100%;
  height: 0%;
}
.auxo-drawer-top .auxo-drawer-content-wrapper,
.auxo-drawer-bottom .auxo-drawer-content-wrapper {
  width: 100%;
}
.auxo-drawer-top.auxo-drawer-open,
.auxo-drawer-bottom.auxo-drawer-open {
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
}
.auxo-drawer-top {
  top: 0;
}
.auxo-drawer-top.auxo-drawer-open .auxo-drawer-content-wrapper {
  box-shadow: 0px 2px 8px 0px rgba(37, 41, 49, 0.1);
}
.auxo-drawer-bottom {
  bottom: 0;
}
.auxo-drawer-bottom .auxo-drawer-content-wrapper {
  bottom: 0;
}
.auxo-drawer-bottom.auxo-drawer-open .auxo-drawer-content-wrapper {
  box-shadow: 0px -2px 8px 0px rgba(37, 41, 49, 0.1);
}
.auxo-drawer-bottom.auxo-drawer-open.no-mask {
  bottom: 1px;
  transform: translateY(1px);
}
.auxo-drawer.auxo-drawer-open .auxo-drawer-mask {
  height: 100%;
  opacity: 1;
  transition: none;
  animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
  pointer-events: auto;
}
.auxo-drawer-title {
  margin: 0;
  color: #252931;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}
.auxo-drawer-content {
  position: relative;
  z-index: 1;
  overflow: auto;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 0;
}
.auxo-drawer-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  display: block;
  padding: 20px;
  color: #898b8f;
  font-weight: 700;
  font-size: 16px;
  font-style: normal;
  line-height: 1;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  transition: color 0.3s;
  text-rendering: auto;
}
.auxo-drawer-close:focus,
.auxo-drawer-close:hover {
  color: #898b8f;
  text-decoration: none;
}
.auxo-drawer-header-no-title .auxo-drawer-close {
  margin-right: var(--scroll-bar);
  /* stylelint-disable-next-line function-calc-no-invalid */
  padding-right: calc(20px - var(--scroll-bar));
}
.auxo-drawer-header {
  position: relative;
  padding: 16px 24px;
  color: #565960;
  background: #ffffff;
  border-bottom: 1px solid #eeeff0;
  border-radius: 4px 4px 0 0;
}
.auxo-drawer-header-no-title {
  color: #565960;
  background: #ffffff;
}
.auxo-drawer-wrapper-body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
}
.auxo-drawer-body {
  flex-grow: 1;
  padding: 24px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.5715;
  word-wrap: break-word;
}
.auxo-drawer-footer {
  flex-shrink: 0;
  padding: 24px 16px;
  border-top: 1px solid #eeeff0;
}
.auxo-drawer-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.45);
  opacity: 0;
  filter: alpha(opacity=45);
  transition: opacity 0.3s linear, height 0s ease 0.3s;
  pointer-events: none;
}
.auxo-drawer-open-content {
  box-shadow: 0px 4px 16px 0px rgba(37, 41, 49, 0.08);
}
.auxo-drawer .auxo-picker-clear {
  background: #ffffff;
}
@keyframes antdDrawerFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.auxo-drawer-rtl {
  direction: rtl;
}
.auxo-drawer-rtl .auxo-drawer-close {
  right: auto;
  left: 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/* ------------- new ------------- */
.auxo-drawer-footer:not(.sp-null) {
  padding: 16px 24px;
}
.auxo-drawer-footer:not(.sp-null) .auxo-drawer-footer-default {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auxo-drawer-footer:not(.sp-null) .auxo-drawer-footer-default button + button {
  margin-left: 8px;
}
.auxo-drawer-footer:not(.sp-null) .auxo-drawer-footer-default .auxo-drawer-footer-help {
  white-space: nowrap;
  overflow: hidden;
  margin-right: 24px;
}
.auxo-drawer-footer:not(.sp-null) .auxo-drawer-footer-default .auxo-drawer-footer-buttons {
  flex: none;
}
.auxo-drawer.auxo-drawer-no-body-spacing .auxo-drawer-body {
  padding: 0;
}
.auxo-drawer-header-no-title {
  height: 54px;
  border-bottom: 1px solid #eeeff0;
}
.auxo-drawer-close {
  width: 54px;
  font-size: 20px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px 0 0;
}
.auxo-drawer-header-tabs .auxo-drawer-header {
  padding-top: 0;
  padding-bottom: 0;
}
.auxo-drawer-header-tabs .auxo-drawer-header .auxo-tabs-nav::before {
  border-bottom: none !important;
}
.auxo-drawer-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.auxo-drawer-header-return {
  display: flex;
}
.auxo-drawer-header-return-icon {
  font-size: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-right: 10px;
}
