/* Barcode Studio - 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-elevated: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --accent: #38bdf8;
    --success: #22c55e;
    --error: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* 亮色模式可选 - 通过添加 .light 到 body 切换 */
body.light {
    --bg: #f1f5f9;
    --bg-card: #ffffff;
    --bg-elevated: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

a { color: var(--primary-light); text-decoration: none; font-weight: 500; }
a:hover { color: var(--accent); }
