:root {
  --elleva-primary: #0d6efd;
}

body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e7f1ff, #f8f9fa);
}

.login-card {
  width: 100%;
  max-width: 420px;
  border: 0;
}

.inbox-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  height: calc(100vh - 56px);
}

.inbox-list {
  overflow-y: auto;
  background: #fff;
}

.inbox-chat {
  background: #f0f2f5;
  min-width: 0;
}

.list-group-item-conversa {
  cursor: pointer;
}

.list-group-item-conversa.active {
  background: #e7f1ff;
  border-color: #dee2e6;
}

.chat-messages {
  overflow-y: auto;
}

.msg-bubble {
  max-width: 75%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.msg-in {
  background: #fff;
  align-self: flex-start;
}

.msg-out {
  background: #d9fdd3;
  align-self: flex-end;
  margin-left: auto;
}

.chat-messages {
  display: flex;
  flex-direction: column;
}

.badge-canal {
  font-size: 0.65rem;
}

@media (max-width: 767.98px) {
  .inbox-layout {
    grid-template-columns: 1fr;
  }
  .inbox-chat.mobile-open {
    display: flex !important;
    position: fixed;
    inset: 56px 0 0 0;
    z-index: 10;
  }
}
