/**
 * Room Talk — chat surface, day separators, messages, empty state
 */

/* Room Talk — el-warshah (KMA) style chat surface */
.lms-room-talk {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}
html[data-theme="dark"] .lms-room-talk {
  border-color: rgba(255, 255, 255, 0.12);
  background: #1a1d24;
}
.lms-room-talk-surface {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  position: relative;
  background: #f3f4f6;
}
html[data-theme="dark"] .lms-room-talk-surface {
  background: #1a1d24;
}
.lms-room-talk-date-float {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  transition: opacity 0.15s ease;
}
html[data-theme="dark"] .lms-room-talk-date-float {
  color: #e5e7eb;
  background: rgba(38, 43, 54, 0.95);
  border-color: #374151;
}
.lms-room-talk-day-separator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.25rem 0 0.75rem;
  clear: both;
}
.lms-room-talk-day-separator span {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #4b5563;
  background: rgba(229, 231, 235, 0.95);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
html[data-theme="dark"] .lms-room-talk-day-separator span {
  color: #d1d5db;
  background: rgba(55, 65, 81, 0.95);
}
.lms-room-talk-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 2.75rem 1rem;
  min-height: 0;
}
.lms-room-talk-messages.is-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lms-room-talk-empty {
  text-align: center;
  max-width: 22rem;
  color: #6b7280;
}
.lms-room-talk-empty__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.35rem;
}
html[data-theme="dark"] .lms-room-talk-empty__title {
  color: #f3f4f6;
}
.lms-room-talk-empty__hint {
  font-size: 0.875rem;
  line-height: 1.45;
}
.lms-room-talk-msg-row {
  display: flex;
  margin-bottom: 0.5rem;
  justify-content: flex-start;
}
.lms-room-talk-msg-row--mine {
  justify-content: flex-end;
}
