/*
   Theme.css - Single Source of Truth for Design System
   Based on web/static/css/global.css

   NOTE: This is the ONLY place where CSS root variables should be defined.
   Do not define :root variables in custom.css or other CSS files.
*/

:root {
    /* Colors */
    --primary: #1e3a8a;
    --secondary: #3B82F6;
    --accent: #8B5CF6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #06B6D4;
    --light: #f3f4f6;
    --dark: #1f2937;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text: #111827;
    --text-muted: #6b7280;

    /* Backgrounds */
    --bg-primary: #f9fafb;
    --bg-card: #ffffff;
    --background: #f9fafb;
    --card: #ffffff;

    /* Gray Scale */
    --gray-50: #f9fafb;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Gradients */
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #1e3a8a 0%, #3B82F6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Spacing & Radius */
    --radius: 0.75rem;
}

/* Global Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
