@use 'variable/breakpoint' as *;
@use 'mixins/amixin' as *;
.builder-workspace {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 0 1 calc(100% - 70px);
  > .mat-drawer-container {
    background-color: transparent;
    .mat-drawer-content {
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.11);
      @include scrollbar(var(--mat-sys-primary));
    }
  }
}
.sidebar {
  width: 230px;
  background-color: var(--mat-sys-surface);
  border-radius: 0;
  border-right-color: var(--mat-sys-surface-container-highest);
  ::ng-deep {
    .mat-expansion-panel-header {
      padding: 0 16px;
    }
    .mat-expansion-panel-body {
      padding-left: 16px;
      padding-right: 16px;
    }
    .mat-drawer-inner-container {
      @include scrollbar(var(--mat-sys-outline));
    }
  }
  @media #{$gt-sm} {
    width: 300px;
  }
}
.builder-main {
  height: calc(100% - 56px) !important;
}

.mat-drawer-container {
  height: 100%;
}
::ng-deep {
  > .mat-drawer-content {
    display: block;
  }

  // don't move
  .cdk-drag-placeholder {
    height: 60px;
    transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
    background-color: var(--mat-sys-primary-fixed);
    border: 2px dotted var(--mat-sys-outline);
    width: 100%;
    &:hover {
      background-color: var(--mat-sys-inverse-primary);
      border-color: var(--mat-sys-primary);
    }
  }
}
