#root {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.title {
  text-align: center;
  padding: 24px;
}

.main {
  width: 100%;
  height: 100%;
}

.db-connect-button {
  display: flex;
  align-items: center;
  font-size: 14px;
  background-color: rgb(244, 63, 94);
  margin-bottom: 16px;
  gap: 8px;
  width: max-content;
}

.db-connect-button svg {
  flex-shrink: 0;
}

.db-connect-button span {
  text-align: left;
  text-wrap: balance;
}

.projects-panel {
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  overflow: hidden;
  /* gap: 8px; */
  /* padding-top: 16px; */
  /* border-right: 1px solid lightgray; */
}

.projects-list {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
  overflow-y: scroll;
}
.info-box {
  padding: 16px;
  border-radius: 8px;
  background-color: #3339;
  width: 100%;
  margin-inline: 16px;
  text-align: center;
}

.project-item {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
  /* border-radius: 8px; */
  /* background-color: #333; */
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  border: 1px solid #0000;
  max-width: 320px;
}

.project-item:hover {
  box-shadow: 0px 0px 8px 1px #4b472482;
  border-color: #ffffff33;
}

.project-item.active {
  /* background-color: #4b4724; */
  border-color: #ffffffcc;
  color: #fff;
  /* font-weight: bold; */
}

.project-name {
  font-size: 16px;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.project-item .project-edit-button {
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
  background-color: #242424;
}

.project-item:hover .project-edit-button {
  opacity: 1;
}

.project-id {
  font-size: 11px;
  opacity: 0.8;
  white-space: nowrap;
}
