@import '~scss/variables';
@import '~scss/mixins';

.body {
  display: flex;
  flex-direction: column;
  top: 0 !important;
  bottom: 0 !important;
  padding: 0 !important;
  max-height: 100vh;

  & > div:last-child {
    height: calc(100% - 60px);

    :global(.spin-container) {
      height: 100%;
    }
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 60px;
  border-radius: 4px;
  background-color: $light;

  .title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.71;

    :global(.icon) {
      margin-right: 12px;
    }
  }

  .button {
    padding: 6px;
    margin-left: 12px;
    line-height: 20px;
    border: none;
    border-radius: 4px;
    background-color: $dark;

    &:hover {
      background-color: $dark !important;
    }
  }
}

.content {
  display: flex;
  flex-direction: column;
  padding: 20px;
  height: 100%;
  overflow: auto;
}
