/**
 * Firebase Chat CSS
 * AIフレンズ トークルーム用のスタイル
 */

/* ユーザー表示エリア */
.header-user-display {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 600;
  background-color: rgba(3, 169, 244, 0.1);
  border-radius: 20px;
  margin-right: 10px;
}

/* メッセージ関連スタイル */
.message {
  padding: 10px 15px;
  margin: 10px 0;
  background-color: #f5f5f5;
  border-radius: 10px;
  border-left: 4px solid #03A9F4;
  max-width: 80%;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.85rem;
}

.message-author {
  font-weight: 600;
  color: #0288D1;
}

.message-time {
  color: #999;
}

.message-content {
  word-break: break-word;
}

/* 空のメッセージ状態 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #777;
}

.empty-state div {
  font-size: 48px;
  margin-bottom: 20px;
}

/* サイドバー・ルームリスト関連 */
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eee;
}

.sidebar-list-link {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sidebar-list-link:hover {
  background-color: rgba(3, 169, 244, 0.1);
  text-decoration: none;
}

.sidebar-list-link.active {
  background-color: rgba(3, 169, 244, 0.2);
  color: #0288D1;
  font-weight: 600;
  border-left: 4px solid #0288D1;
}
