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;
}

.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;
}

tr.concept-row-selected > td {
  background-color: #f1aeb5 !important;
}

tr.task-row-selected > td {
  background-color: #f1aeb5 !important;
}

.concept-row-component:not(.concept-row-selected) > td {
  background-color: #c8f7c5 !important;
}

.concept-date-col,
.concept-time-col {
  white-space: nowrap;
}

.concept-date-col {
  min-width: 7.5rem;
}

.concept-time-col {
  min-width: 6.5rem;
}

[data-editable-cell="true"],
[data-editable-cell] {
  cursor: text;
}

[data-editable-cell]:focus {
  outline: 2px solid #258cfb;
  outline-offset: -2px;
  background-color: #fff8e1;
}

.grid-sort-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;
}

.grid-sort-link:hover {
  color: #0d6efd;
}

/* User avatar circle */
.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Chat bubbles */
.chat-bubble {
  max-width: 70%;
  padding: .5rem .75rem;
  border-radius: .75rem;
  word-break: break-word;
}

.chat-bubble-me {
  background-color: #0d6efd;
  color: #fff;
  border-bottom-right-radius: .2rem;
}

.chat-bubble-me a { color: #cfe2ff; }

.chat-bubble-other {
  background-color: #f1f3f5;
  color: #212529;
  border-bottom-left-radius: .2rem;
}

.chat-bubble-other a { color: #0d6efd; }

/* Chat sidebar hover */
.hover-bg-light:hover {
  background-color: #f8f9fa;
}