/* packages/shared/css/theme.css */
:root {
    /* Transitions */
    --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, shadow 0.3s ease;

    /* Light Mode (Global) */
    --bg-main: #f3f4f6;
    --bg-card: #ffffff;
    --bg-sidebar: #f9fafb;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow-main: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    /* Semantic Mapped Variables */
    --theme-header: var(--bg-card);
    --theme-border: var(--border-color);
    --theme-main: var(--text-main);
    --theme-muted: var(--text-muted);
    --theme-card: var(--bg-card);
}

/* Dark Mode (Global) */
.dark-mode {
    --bg-main: #0a0a0a;
    --bg-card: #111111;
    --bg-sidebar: #0f0f0f;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-main: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* App-Specific Primary Colors (Standardized) */
.app-travel {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --theme-primary: var(--primary-color);
}

.app-time {
    --primary-color: #059669;
    --primary-hover: #047857;
    --primary-light: #ecfdf5;
    --theme-primary: var(--primary-color);
}

.app-booze {
    --primary-color: #d97706;
    --primary-hover: #b45309;
    --primary-light: #fffbeb;
    --theme-primary: var(--primary-color);
}

.app-expense {
    --primary-color: #e11d48;
    --primary-hover: #be123c;
    --primary-light: #fff1f2;
    --theme-primary: var(--primary-color);
    
    /* User specific colors */
    --color-henrique: #2563eb;
    --color-henrique-light: #eff6ff;
    --color-juliana: #db2777;
    --color-juliana-light: #fdf2f8;
}

/* Global Base Styles */
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: var(--theme-transition);
}

.card-base {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-main);
    transition: var(--theme-transition);
}

.sidebar-base {
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    transition: var(--theme-transition);
}