@import "../../../assets/theme";

.pf-node-graph {
  position: relative;
  height: 100%;
  overflow: auto;
  padding: 0.625rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fafafa;
}

.pf-node-graph-add-button-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 40px;
}

.pf-node-graph-add-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.pf-node-graph__controls {
  display: flex;
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  gap: 0.5rem;
  z-index: 10;
}

.pf-hero {
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  border-radius: 0.5rem;

  .hero-title {
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 1.1em;
    color: $pf-minimal-foreground-disabled;
  }
}

.pf-source-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  width: 200px;
  text-align: center;

  &:hover {
    background-color: lighten($pf-minimal-background-active, 70%);
  }

  .material-icons {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.1rem;
    font-weight: 500;
  }

  p {
    font-size: 0.9rem;
    flex-grow: 1;
    color: $pf-minimal-foreground-disabled;
  }
}
