/* 薬剤師育成アプリ - カスタムスタイル */

/* スクロールバー */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #fff7ed; }
::-webkit-scrollbar-thumb { background: #fdba74; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #fb923c; }

/* グラデーション背景 */
.bg-warm-gradient {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
}
.bg-primary-gradient {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

/* カードホバー */
.card-hover {
  transition: all 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.15);
}

/* バッジ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-orange { background: #ffedd5; color: #9a3412; }
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-gray   { background: #f3f4f6; color: #374151; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-yellow { background: #fef3c7; color: #92400e; }

/* アニメーション */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease-out; }

/* ボタン */
.btn-primary {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
  transition: all 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* タグ */
.tag {
  display: inline-block;
  padding: 2px 8px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* 難易度バー */
.difficulty-bar {
  display: inline-flex;
  gap: 2px;
}
.difficulty-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e5e7eb;
}
.difficulty-bar span.on { background: #f97316; }

/* モバイル下部ナビ */
@media (max-width: 768px) {
  .pb-mobile-nav { padding-bottom: 80px; }
}
