/**
 * =====================================================
 * horomusume.net - デザイントークン
 * =====================================================
 * 
 * 【概要】
 * 全フィルターツールで共通使用するCSS変数（デザイントークン）を定義。
 * 
 * 【配色ベース】
 * - 基本デザイン: player_filter
 * - セットA/Bカラー: kijin-filter
 * 
 * 【使用方法】
 * @import '/css/shared/design-tokens.css';
 * または
 * <link rel="stylesheet" href="/css/shared/design-tokens.css">
 */

:root {
  /* ========================================
       プライマリカラー (Blue系)
       player_filter基準
       ======================================== */
  --c-primary: #1d4ed8; /* Tailwind blue-700 */
  --c-primary-hover: #1e40af; /* Tailwind blue-800 */
  --c-primary-light: #dbeafe; /* Tailwind blue-100 */
  --c-primary-border: #93c5fd; /* Tailwind blue-300 */
  --c-primary-text: #1e3a8a; /* Tailwind blue-900 */

  /* ========================================
       セットA カラー (Blue系)
       kijin-filter基準 - 青系統
       ======================================== */
  --c-set-a-bg: #dbeafe; /* blue-100 */
  --c-set-a-bg-hover: #bfdbfe; /* blue-200 */
  --c-set-a-border: #93c5fd; /* blue-300 */
  --c-set-a-text: #1e40af; /* blue-800 */
  --c-set-a-text-dark: #1e3a8a; /* blue-900 */

  /* ========================================
       セットB カラー (Red系)
       kijin-filter基準 - 赤系統
       ======================================== */
  --c-set-b-bg: #fee2e2; /* red-100 */
  --c-set-b-bg-hover: #fecaca; /* red-200 */
  --c-set-b-border: #fca5a5; /* red-300 */
  --c-set-b-text: #991b1b; /* red-800 */
  --c-set-b-text-dark: #7f1d1d; /* red-900 */

  /* ========================================
       ユーティリティカラー
       ======================================== */
  --c-success: #10b981; /* emerald-500 */
  --c-success-hover: #059669; /* emerald-600 */
  --c-success-light: #d1fae5; /* emerald-100 */

  --c-error: #ef4444; /* red-500 */
  --c-error-hover: #dc2626; /* red-600 */

  --c-warning: #f59e0b; /* amber-500 */
  --c-warning-hover: #d97706; /* amber-600 */

  --c-info: #3b82f6; /* blue-500 */
  --c-info-hover: #2563eb; /* blue-600 */

  /* ========================================
       グレースケール / 背景
       ======================================== */
  --c-bg: #f3f4f6; /* gray-100 */
  --c-bg-card: #ffffff;
  --c-bg-alt: #f9fafb; /* gray-50 */
  --c-bg-hover: #eef2ff; /* indigo-50 */
  --c-bg-header: #f9fafb; /* gray-50 */

  /* ========================================
       テキスト
       ======================================== */
  --c-text: #374151; /* gray-700 */
  --c-text-sub: #6b7280; /* gray-500 */
  --c-text-muted: #9ca3af; /* gray-400 */

  /* ========================================
       ボーダー / セパレーター
       ======================================== */
  --c-border: #e5e7eb; /* gray-200 */
  --c-border-strong: #d1d5db; /* gray-300 */

  /* ========================================
       フォーカス / インタラクション
       ======================================== */
  --c-focus-ring: #6366f1; /* indigo-500 */
  --c-focus-shadow: #a5b4fc; /* indigo-300 */

  /* ========================================
       スペーシング
       ======================================== */
  --spacing-xs: 0.25rem; /* 4px */
  --spacing-sm: 0.5rem; /* 8px */
  --spacing-md: 1rem; /* 16px */
  --spacing-lg: 1.5rem; /* 24px */
  --spacing-xl: 2rem; /* 32px */

  /* ========================================
       ボーダー半径
       ======================================== */
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.375rem; /* 6px */
  --radius-lg: 0.5rem; /* 8px */
  --radius-xl: 0.75rem; /* 12px */

  /* ========================================
       シャドウ
       ======================================== */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

  /* ========================================
       トランジション
       ======================================== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ========================================
       フォント
       ======================================== */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
}
