/* Modern Clean Theme - High Readability & Soft UI */

/* Inter 字体本地化（避免 Google Fonts CDN 在国内访问缓慢） */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/static/vendor/fonts/inter-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/vendor/fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/vendor/fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/vendor/fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/static/vendor/fonts/inter-700.woff2') format('woff2');
}

:root {
    /* Color Palette - Soft & Professional */
    --bg-app: #f3f4f6;
    /* Light Grey Background */
    --bg-surface: #ffffff;
    /* Pure White Cards */
    --bg-surface-hover: #f9fafb;
    --bg-glass: rgba(255, 255, 255, 0.9);

    /* Accents - Trustworthy Blue & Indigo */
    --primary: #4f46e5;
    /* Indigo 600 */
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    /* Very light indigo for backgrounds */

    --secondary: #64748b;
    /* Slate */

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Text - High Contrast */
    --text-main: #111827;
    /* Almost Black */
    --text-muted: #4b5563;
    /* Dark Grey */
    --text-dim: #9ca3af;
    /* Light Grey */

    /* Typography */
    --font-heading: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing & Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --border-color: #e5e7eb;
    /* Light Border */

    /* Effects - Soft Shadows */
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --transition-base: all 0.2s ease-in-out;
}

body {
    background-color: var(--bg-app);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    letter-spacing: -0.01em;
    font-weight: 600;
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}

.bg-white {
    background-color: white !important;
}

.shadow-sm {
    box-shadow: var(--shadow-card) !important;
}

/* Global Reset for Dark Mode remnants */
.btn {
    text-transform: none;
    /* Remove futuristic uppercase */
    letter-spacing: normal;
}