/* Empath LINE 予約管理 SPA 用スタイル
   Tailwind で表現しづらい部分（システムフォント・トースト・モーダル背景）のみ最小限で定義する。
   40〜60代も使う前提：本文 16px 以上、タップターゲット 44px 以上。
*/

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 16px;
  color: #111827;
}

/* ブランドカラー（顧客向け LIFF と統一）。 */
.brand-green { color: #06C755; }
.bg-brand-green { background: #06C755; }
.bg-brand-green-dark { background: #047857; }

/* タップターゲット最小 44px を担保するためのユーティリティ。 */
.tap-target {
  min-height: 44px;
  min-width: 44px;
}

/* トースト通知（画面上部・自動消滅）。 */
.toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  max-width: 90%;
  text-align: center;
}
.toast-success { background: #DCFCE7; color: #166534; }
.toast-warning { background: #FEF3C7; color: #92400E; }
.toast-error   { background: #FEE2E2; color: #991B1B; }
.toast-info    { background: #DBEAFE; color: #1E40AF; }

/* モーダル：背景固定 + センタリング。 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  background: #fff;
  border-radius: 0.75rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.25rem;
}

/* ステータスバッジ：色 + テキスト併記でアクセシビリティ確保。 */
.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-confirmed { background: #DCFCE7; color: #166534; }
.badge-completed { background: #DBEAFE; color: #1E40AF; }
.badge-no_show   { background: #FED7AA; color: #9A3412; }
.badge-canceled  { background: #E5E7EB; color: #374151; }
