.vs1-guestchat {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--dm-surface-2, #f8f9fc);
  font-family: Nunito, sans-serif;
}

.vs1-guestchat-signin {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 16px 16px;
}

.vs1-guestchat-email {
  height: 3rem;
  margin: 0 0 1rem;
  border: 1px solid var(--dm-border-2, #d1d3e2);
  border-radius: 0.35rem;
}

.vs1-guestchat-email:focus {
  border-color: #00a3d3;
  box-shadow: 0 0 0 0.15rem rgba(0, 163, 211, 0.35);
}

.vs1-guestchat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  background: var(--dm-surface, #fff);
  border-bottom: 1px solid var(--dm-border, #e3e6f0);
}

.vs1-guestchat-logo {
  height: 32px;
  width: auto;
}

.vs1-guestchat-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.vs1-guestchat-who {
  margin-left: auto;
  font-size: 0.875rem;
}

.vs1-guestchat-card {
  flex: 1;
  min-height: 0;
  margin: 16px;
  padding: 0 16px;
  background: var(--dm-surface, #fff);
  border: 1px solid var(--dm-border, #e3e6f0);
  border-radius: 0.35rem;
  height: calc(100vh - 90px);
  overflow: hidden;
}

.vs1-guestchat .vs1-guestchat-row {
  height: 100% !important;
}

.vs1-guestchat .vs1-guestchat-row > div {
  height: 100% !important;
  display: flex;
  flex-direction: column;
}

.vs1-guestchat .vs1-guestchat-row #contactListBox {
  flex: 1;
  min-height: 0;
}

.vs1-guestchat .vs1-guestchat-row .contact-list {
  height: 100% !important;
}

.vs1-guestchat .vs1-guestchat-row .chat-container {
  flex: 1;
  min-height: 0;
}

.vs1-guestchat .vs1-guestchat-row .chat-messages {
  height: 100% !important;
}

.vs1-guestchat .vs1-guestchat-row .py-5.px-4.border-top {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.vs1-guestchat-back {
  display: none;
  margin-right: 8px;
  padding: 8px;
  font-size: 1.25rem;
  color: #0087b3;
}

@media (max-width: 991.98px) {
  .vs1-guestchat-card {
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    height: calc(100vh - 57px);
  }

  .vs1-guestchat .vs1-guestchat-row:not(.is-open) > div:nth-child(2),
  .vs1-guestchat .vs1-guestchat-row.is-open > div:first-child {
    display: none !important;
  }

  .vs1-guestchat-back {
    display: inline-block;
  }

  .vs1-guestchat .vs1-guestchat-row .py-2.px-4.border-bottom {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vs1-guestchat .vs1-guestchat-row .chat-messages {
    padding: 1rem 0.5rem !important;
  }

  .vs1-guestchat .vs1-guestchat-row .py-5.px-4.border-top {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 400px) {
  .vs1-guestchat-logo {
    height: 26px;
  }

  .vs1-guestchat-title {
    font-size: 1rem;
  }
}
