@use "../../../ui/styles/_variables" as *;

.queryBuildingContainer {
  display: flex;
  flex-direction: column;
  width: 15rem;
  margin: auto;
}

.queryTitle {
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.queryBuildingContainer > * {
  margin-top: 1rem;
}

.emptyStateQueryContainer {
  padding: 2.5rem 5rem;
}

.emptyQueryTitle {
  width: fit-content;
  margin: 0;
}

.emptyQuerySubtitle {
  width: fit-content;
  margin: 0.5rem 0;
}

.emptyQueryIcon {
  width: 7.5rem;
  height: 7.5rem;
  color: $text-inactive;
}

.emptyQueryExplainer {
  padding-left: 1.5rem;
  margin: 0 0 1.5rem 0;
}

.createQueryButton {
  width: fit-content;
  padding: 1rem !important;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.customQueryTable {
  tbody td:last-child {
    opacity: 0;
    text-align: right;
    padding-right: 1.5rem;
    white-space: nowrap;
  }

  tbody tr:hover td:last-child,
  tbody tr:focus td:last-child,
  tbody td:last-child:hover,
  tbody td:last-child:focus-within {
    opacity: 1;
    pointer-events: auto;
  }
}

.icon-text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}
