/* ==========================================================================
   counselor-detail.php DB連携用の追加スタイル
   ========================================================================== */

/* プロフィールヒーローのアバターイニシャル */
.profile-avatar-initial {
  font-family: 'Quicksand', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.profile-avatar-initial.green   { background: #06c755; }
.profile-avatar-initial.blue    { background: #4dc4ff; }
.profile-avatar-initial.orange  { background: #ff8c42; }
.profile-avatar-initial.yellow  { background: #ffc83d; }

/* プロフィールステータスマークの色 */
.profile-status-mark.status-available {
  background: #06c755;
}
.profile-status-mark.status-busy {
  background: #ff8c42;
}
.profile-status-mark.status-offline {
  background: #ccc;
}

/* CTAステータスバッジの色 */
.cta-status.status-available {
  background: #e6fbf0;
  color: #06a647;
}
.cta-status.status-busy {
  background: #fff3eb;
  color: #d96a1f;
}
.cta-status.status-offline {
  background: #f5f5f5;
  color: #999;
}

/* ==========================================================================
   メニュー一覧
   ========================================================================== */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-card {
  position: relative;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow .2s, transform .1s;
}
.menu-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.menu-card.recommended {
  border: 2px solid #06c755;
  background: linear-gradient(180deg, #f0fff7 0%, #fff 60%);
}

.menu-meta {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.menu-duration {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 999px;
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

.menu-buy-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: #06c755;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background .2s, transform .1s;
}
.menu-buy-btn:hover {
  background: #05a847;
}
.menu-buy-btn:active {
  transform: scale(.98);
}

.menu-note {
  margin-top: 24px;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 12px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}
.menu-note strong {
  color: #1a1a1a;
}

/* ==========================================================================
   関連の専門家のイニシャル表示
   ========================================================================== */
.related-avatar .avatar-initial {
  font-family: 'Quicksand', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.related-avatar.green  .avatar-initial { background: #06c755; }
.related-avatar.blue   .avatar-initial { background: #4dc4ff; }
.related-avatar.orange .avatar-initial { background: #ff8c42; }
.related-avatar.yellow .avatar-initial { background: #ffc83d; }

/* ==========================================================================
   モバイル対応
   ========================================================================== */
@media (max-width: 768px) {
  .menu-card {
    padding: 18px;
  }
  .menu-buy-btn {
    width: 100%;
    margin-top: 16px;
  }
}
