/* Modern Clean Design System (Circle.so inspired) */
:root {
    /* Colors */
    --primary: #3B82F6;
    /* Blue 500 - Trust */
    --primary-hover: #2563EB;
    /* Blue 600 */
    --accent: #22C55E;
    /* Emerald 500 - Action/Success */
    --accent-hover: #16A34A;
    /* Emerald 600 */

    --bg-body: #F9FAFB;
    /* Gray 50 */
    --bg-white: #FFFFFF;
    --bg-sidebar: #1E3A8A;
    /* Dark Blue - Trust/Sidebar */

    --text-main: #111827;
    /* Gray 900 */
    --text-muted: #6B7280;
    /* Gray 500 */
    --text-light: #9CA3AF;
    /* Gray 400 */
    --text-on-dark: #FFFFFF;
    /* White contrast */
    --text-sidebar-muted: #94A3B8;
    /* Slate contrast */

    --border-color: #E5E7EB;
    /* Gray 200 */
    --divider: #F3F4F6;
    /* Gray 100 */
    --sidebar-divider: rgba(255, 255, 255, 0.1);


    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Shadow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Overrides - Applied to html element */
html.dark-mode,
html.dark-mode body {
    --bg-body: #0F172A;
    /* Midnight Blue */
    --bg-white: #1E293B;
    /* Slate 800 */
    --bg-sidebar: #020617;
    /* Rich black-blue */

    --text-main: #F8FAFC;
    /* Slate 50 */
    --text-muted: #94A3B8;
    /* Slate 400 */
    --text-light: #64748B;
    /* Slate 500 */

    --border-color: #334155;
    /* Slate 700 */
    --divider: #1E293B;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}