/* ==========================================================================
   DB連携用の追加スタイル
   ========================================================================== */

/* ステータス: オフライン */
.status-offline {
  background: #f0f0f0;
  color: #999;
}
.status-offline::before {
  content: '●';
  margin-right: 3px;
  color: #ccc;
}

/* アバター画像がない時のイニシャル表示 */
.counselor-card-avatar .avatar-initial {
  font-family: 'Quicksand', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* アバター背景色（イニシャル時用にやや濃く） */
.counselor-card-avatar.green:has(.avatar-initial)  { background: #06c755; }
.counselor-card-avatar.blue:has(.avatar-initial)   { background: #4dc4ff; }
.counselor-card-avatar.orange:has(.avatar-initial) { background: #ff8c42; }
.counselor-card-avatar.yellow:has(.avatar-initial) { background: #ffc83d; }

/* :has() 非対応ブラウザ用フォールバック（旧Safari等） */
@supports not selector(:has(*)) {
  .counselor-card-avatar.green  .avatar-initial { background: #06c755; }
  .counselor-card-avatar.blue   .avatar-initial { background: #4dc4ff; }
  .counselor-card-avatar.orange .avatar-initial { background: #ff8c42; }
  .counselor-card-avatar.yellow .avatar-initial { background: #ffc83d; }
  .counselor-card-avatar .avatar-initial {
    width: 100%; height: 100%;
    border-radius: 50%;
  }
}

/* 専門家がいない時の空表示 */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: #999;
}
.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: .4;
}
.empty-state-text {
  font-size: 15px;
  line-height: 1.7;
}

/* カウンセラーカード内の<a>タグ用の調整 */
.btn-consult {
  text-decoration: none;
  text-align: center;
}
