@import "mixins/mixins";
@import "mixins/utils";
@import "common/var";
@import "common/popup";
.aos-drag-box{
  padding: 16px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0px 0px 2px 2px #F4F6F8;
  cursor: pointer;
  .aos-drag-container{
    height: 100%;
    width: 100%;
    position: relative;
    .drag-header{
      position: relative;
      height: 32px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .header {
        font-size: 16px;
        font-weight: 500;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        .title {
          margin-right: 16px;
        }
      }
      .drag-close{
        justify-content: flex-start;
        align-items: center;
        cursor: pointer;
        padding: 8px;
        padding-top: 0;
        .close {
          margin-left: 16px;
        }
      }
      .drag-close:hover {
        color: $--color-primary;
      }
    }
    .drag-body{
      margin-top: 8px;
      height: calc(100% - 90px);
      overflow-y: auto;
      position: relative;
    }
    .drag-collapse {
      cursor: pointer;
      width: 32px;
      height: 32px;
      font-size: 20px;
      position: absolute;
      right: 0;
      top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      .aos-drag-down-arrow{
        margin-left: 8px;
        transition: transform .3s;
      }
      .active{
        transform: rotate(-90deg);
      }
    }
    .drag-footer{
      display: flex;
      justify-content: flex-end;
      align-items: center;
      position: absolute;
      margin-top: 8px;
      height: 50px;
      bottom: 0;
      left: 0;
      right: 0;
    }
  }
}