/* =============================================
   MYLOG - Design Tokens
   ============================================= */

:root {
    /* ==========================================
       CORES PRINCIPAIS
       ========================================== */

    /* Primary - Teal/Cyan */
    --color-primary: #06bcc1;
    --color-primary-hover: #059a9e;
    --color-primary-light: #cff5f6;
    --color-primary-dark: #047a7d;

    /* Secondary - Slate */
    --color-secondary: #64748b;
    --color-secondary-hover: #475569;
    --color-secondary-light: #f1f5f9;

    /* ==========================================
       CORES SEMÂNTICAS
       ========================================== */

    --color-success: #22c55e;
    --color-success-light: #dcfce7;
    --color-success-dark: #15803d;

    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-warning-dark: #b45309;

    --color-danger: #ef4444;
    --color-danger-light: #fee2e2;
    --color-danger-dark: #b91c1c;

    --color-info: #3b82f6;
    --color-info-light: #dbeafe;
    --color-info-dark: #1d4ed8;

    /* ==========================================
       CORES DE SUPERFÍCIE
       ========================================== */

    --color-background: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-hover: #f1f5f9;
    --color-surface-active: #e2e8f0;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    /* ==========================================
       CORES DE TEXTO
       ========================================== */

    --color-text: #1e293b;
    --color-text-secondary: #64748b;
    --color-text-muted: #94a3b8;
    --color-text-inverse: #ffffff;

    /* ==========================================
       CORES DE CATEGORIAS (Metas/Hábitos)
       ========================================== */

    --color-category-personal: #8b5cf6;
    --color-category-professional: #3b82f6;
    --color-category-health: #22c55e;
    --color-category-financial: #f59e0b;
    --color-category-education: #ec4899;

    /* ==========================================
       CORES DE HUMOR (1-5)
       ========================================== */

    --color-mood-1: #ef4444;  /* Muito ruim */
    --color-mood-2: #f97316;  /* Ruim */
    --color-mood-3: #eab308;  /* Neutro */
    --color-mood-4: #84cc16;  /* Bom */
    --color-mood-5: #22c55e;  /* Muito bom */

    /* ==========================================
       CORES DE PRIORIDADE
       ========================================== */

    --color-priority-high: #ef4444;
    --color-priority-medium: #f59e0b;
    --color-priority-low: #22c55e;

    /* ==========================================
       TIPOGRAFIA
       ========================================== */

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Tamanhos */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */

    /* Pesos */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Alturas de linha */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* ==========================================
       ESPAÇAMENTOS
       ========================================== */

    --spacing-0: 0;
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-5: 1.25rem;   /* 20px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-10: 2.5rem;   /* 40px */
    --spacing-12: 3rem;     /* 48px */
    --spacing-16: 4rem;     /* 64px */
    --spacing-20: 5rem;     /* 80px */

    /* ==========================================
       BORDAS
       ========================================== */

    --radius-none: 0;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    --border-width: 1px;
    --border-width-2: 2px;

    /* ==========================================
       SOMBRAS
       ========================================== */

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* ==========================================
       TRANSIÇÕES
       ========================================== */

    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-slower: 500ms ease;

    /* ==========================================
       Z-INDEX
       ========================================== */

    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;

    /* ==========================================
       LAYOUT
       ========================================== */

    --sidebar-width: 250px;
    --sidebar-width-collapsed: 72px;
    --header-height: 64px;
    --content-max-width: 1200px;

    /* ==========================================
       BREAKPOINTS (para referência em JS)
       ========================================== */

    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* =============================================
   MEDIA QUERIES - Ajustes responsivos
   ============================================= */

@media (max-width: 768px) {
    :root {
        --sidebar-width: 100%;
        --header-height: 56px;
    }
}
