/* ========================================
   主题变量系统 — 三套主题
   ======================================== */

/* ---------- 琥珀珊瑚 (默认) ---------- */
:root, [data-theme="amber-coral"] {
    --primary:       #d97706;
    --primary-hover: #b45309;
    --primary-light: rgba(217, 119, 6, 0.12);
    --primary-glow:  rgba(217, 119, 6, 0.2);

    --secondary:     #f59e0b;
    --accent:        #e85d3a;

    --bg-page:       #fef7ed;
    --bg-card:       #ffffff;
    --bg-input:      #fff7ed;
    --bg-input-focus:#ffffff;

    --text-primary:   #1c1917;
    --text-secondary: #78716c;
    --text-placeholder: #a8a29e;

    --border:         #e7e5e4;
    --border-focus:   #d97706;

    --success:        #22c55e;
    --warning:        #f59e0b;
    --danger:         #ef4444;

    --text-on-primary: #ffffff;
    --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ---------- 珊瑚海盐 ---------- */
[data-theme="coral-seasalt"] {
    --primary:       #e85d3a;
    --primary-hover: #d04a2a;
    --primary-light: rgba(232, 93, 58, 0.12);
    --primary-glow:  rgba(232, 93, 58, 0.2);

    --secondary:     #fb923c;
    --accent:        #3b82f6;

    --bg-page:       #fafafa;
    --bg-card:       #ffffff;
    --bg-input:      #f5f5f4;
    --bg-input-focus:#ffffff;

    --text-primary:   #0f172a;
    --text-secondary: #64748b;
    --text-placeholder: #94a3b8;

    --border:         #e2e8f0;
    --border-focus:   #e85d3a;

    --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.05);
}

/* ---------- 奶油拿铁 ---------- */
[data-theme="cream-latte"] {
    --primary:       #b45309;
    --primary-hover: #92400e;
    --primary-light: rgba(180, 83, 9, 0.12);
    --primary-glow:  rgba(180, 83, 9, 0.2);

    --secondary:     #d97706;
    --accent:        #059669;

    --bg-page:       #fffbeb;
    --bg-card:       #ffffff;
    --bg-input:      #fffbeb;
    --bg-input-focus:#ffffff;

    --text-primary:   #292524;
    --text-secondary: #78716c;
    --text-placeholder: #a8a29e;

    --border:         #e7e5e4;
    --border-focus:   #b45309;

    --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.06);
}
