.message-detail-wrapper {
  height: calc(100% - 48px);
  width: 100%;
  overflow-y: auto;
  z-index: 2;
}

.public-chat-message-wrapper {
  padding-inline-start: 10px;
  padding-inline-end: 10px;
}

.group-invitation-container {
  display: flex;
  flex-direction: column;
}

.group-invitation {
  background-color: var(--message-bubbles-received-background-color);

  &.invitation-outgoing {
    background-color: var(--message-bubbles-sent-background-color);
    align-self: flex-end;

    .contents {
      .session-icon-button {
        background-color: var(--transparent-color);
      }
    }
  }

  display: inline-block;
  margin: 4px 16px;
  padding: 4px;

  border-radius: var(--border-radius-message-box);

  align-self: flex-start;

  box-shadow: none;

  .contents {
    display: flex;
    align-items: center;
    margin: 6px;

    .invite-group-avatar {
      height: 48px;
      width: 48px;
    }

    .group-details {
      display: inline-flex;
      flex-direction: column;

      padding: 0px 12px;
      .group-name {
        font-weight: bold;
        font-size: 18px;
      }
    }

    .session-icon-button {
      background-color: var(--primary-color);
    }
  }
}

.group-invitation {
  .group-details {
    color: var(--message-bubbles-received-text-color);
  }
}

.group-invitation.invitation-outgoing {
  .group-details {
    color: var(--message-bubbles-sent-text-color);
  }
}
