@use "../../../typography/typography.module.scss";
@use "@cloud-editor-mono/ui-components/public/shared.module.scss";

.app-lab-dialog {
  border-radius: 16px;
  background: var(--surface-bg-baseline, #232b2e);
  color: var(--text-default, #fff);
  z-index: shared.$zIndex5 !important;

  &-header {
    display: flex;
    justify-content: space-between;
    padding: 16px;

    h2 {
      font-family: typography.$roboto-mono-font-family !important;
      font-size: 14px !important;
      margin: 0;
    }

    &-close {
      height: 20px;
      width: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      border-radius: 4px;
      padding: 0;
      background: rgba(255, 136, 120, 0.2);
      svg {
        path {
          fill: #ff8878;
        }
      }

      &:hover {
        background: rgba(255, 136, 120, 0.1);
        cursor: pointer;
      }
    }
  }

  &-body {
    padding: 40px 16px !important;
    border-top: 1px solid #434f54;
    background: none !important;
  }

  &-footer {
    padding: 16px !important;
    background: none !important;
    display: flex;
    justify-content: end;
    gap: 16px;
  }

  &-content {
    background: none !important;

    & > div:nth-child(2) {
      flex: 1;
    }
  }

  ::-webkit-scrollbar {
    background-color: transparent;
    width: 8px;
    height: 8px;
  }
}
