html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.chat-shell {
  max-width: 900px;
  margin: 0 auto;
}

.chat-messages {
  min-height: 280px;
  max-height: 55vh;
  overflow-y: auto;
  background: var(--bs-tertiary-bg);
}

.profile-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  flex: 0 0 3rem;
}

.profile-placeholder {
  text-transform: uppercase;
}

.profile-avatar-sm {
  width: 2.5rem;
  height: 2.5rem;
  flex-basis: 2.5rem;
}

.presence-dot {
  display: inline-block;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  margin-right: .25rem;
  background: var(--bs-secondary-color);
}

.presence-dot.online {
  background: #198754;
}

.embed-body {
  margin: 0;
  padding: .75rem;
  min-height: 100vh;
  background: var(--bs-body-bg);
}

.embed-dark {
  --bs-body-bg: #15151b;
  --bs-body-color: #f4f4f6;
  --bs-tertiary-bg: #24242c;
}

.embed-shell .chat-messages {
  min-height: 220px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
