.registry {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;

  .header {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding-top: 8px;
    align-items: center;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--mantine-color-text-9);
    width: 100%;

    .close {
      cursor: pointer;
      flex-shrink: 0;
    }

    .username {
      flex: 2;
    }

    .server {
      flex: 3;
    }

    .add {
      flex-shrink: 0;
    }
  }

  .none {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cards {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: none;

    .card {
      width: 100%;
      height: 48px;
      padding-top: 8px;
      padding-bottom: 8px;
      padding-right: 16px;
      padding-left: 16px;
      border-bottom: 1px solid var(--mantine-color-text-9);

      &:hover {
        background: var(--mantine-color-surface-4);
      }
    }
  }
}
