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

  .detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-grow: 1;
    width: 100%;
    overflow: scroll;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 32px;
  }

  .header {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid var(--mantine-color-text-7);
    padding-left: 16px;
    padding-right: 16px;
    height: 48px;
    flex-shrink: 0;
  }

  .close {
    cursor: pointer;
    padding-top: 2px;
    position: relative;
    right: -9px;
  }

  .match {
    opacity: 0;
  }

  .label {
    font-size: 22px;
    text-align: center;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex-grow: 1;
  }

  .image {
    position: relative;
    width: 90%;
    max-width: 250px;
    margin-top: 8px;
    margin-bottom: 24px;
  }

  .divider {
    margin-top: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--mantine-color-text-7);
    width: 100%;
  }

  .nameSet {
    width: 100%;
    padding-left: 8px;
    font-size: 24px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex-shrink: 0;
  }

  .nameUnset {
    width: 100%;
    padding-left: 8px;
    font-size: 24px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-style: italic;
    flex-shrink: 0;
    color: var(--mantine-color-text-7);
  }

  .entry {
    width: 100%;
    padding-left: 8px;
    display: flex;

    .entryIcon {
      width: 32px;
      flex-shrink: 0;
    }

    .entrySet {
      font-size: 14px;
      white-space: preserve;
      overflow-wrap: break-word;
      min-width: 0;
    }

    .entryUnset {
      font-size: 14px;
      font-style: italic;
      color: var(--mantine-color-text-7);
    }
  }

  .actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding-top: 16px;
    flex-wrap: wrap;
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;

    .action {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      height: fit-content;

      .actionLabel {
        font-size: 12px;
        color: var(--mantine-color-dbgreen-1);
      }
    }
  }

  .status {
    flex-shrink: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    .unknownStatus {
      color: var(--mantine-color-status-0);
      font-size: 12px;
    }

    .savedStatus {
      color: var(--mantine-color-status-1);
      font-size: 12px;
    }

    .pendingStatus {
      color: var(--mantine-color-status-2);
      font-size: 12px;
    }

    .requestedStatus {
      color: var(--mantine-color-status-3);
      font-size: 12px;
    }

    .connectingStatus {
      color: var(--mantine-color-status-4);
      font-size: 12px;
    }

    .connectedStatus {
      color: var(--mantine-color-status-5);
      font-size: 12px;
    }

    .offsyncStatus {
      color: var(--mantine-color-status-6);
      font-size: 12px;
    }
  }
}
