/* ============================================
   DOTCLONE - CSS VARIABLES
   Extracted from Flutter app theme
   ============================================ */

:root {
  /* ==========================================
     PRIMARY BRAND COLORS
     ========================================== */
  
  /* Main brand color - Used for buttons, links, accents, active states */
  --primary-color: #825415;
  
  /* Primary color with transparency - For hover states, overlays */
  --primary-color-light: rgba(130, 84, 21, 0.1);
  --primary-color-medium: rgba(130, 84, 21, 0.5);
  
  
  /* ==========================================
     LIGHT THEME COLORS
     ========================================== */
  
  /* Main background color for the entire page */
  --light-bg: #F2F2F2;
  
  /* Scaffold/content area background - Slightly lighter than main bg */
  --light-scaffold-bg: #F5F5F5;
  
  /* Card and popup background in light mode */
  --light-card-bg: #FFFFFF;
  
  /* Primary text color in light mode */
  --light-text-primary: #1E1E1E;
  
  /* Secondary/muted text color in light mode - For descriptions, captions */
  --light-text-muted: #757575;
  
  /* Even lighter muted text - For placeholders, disabled text */
  --light-text-subtle: #9E9E9E;
  
  /* Border color for inputs, cards, dividers in light mode */
  --light-border: #E0E0E0;
  
  /* Shadow color for light mode - Cards, dropdowns, modals */
  --light-shadow: rgba(0, 0, 0, 0.1);
  
  /* Stronger shadow for elevated elements */
  --light-shadow-strong: rgba(0, 0, 0, 0.26);
  
  
  /* ==========================================
     DARK THEME COLORS
     ========================================== */
  
  /* Main background color for dark mode */
  --dark-bg: #1E1E1E;
  
  /* Scaffold/content area background in dark mode - Even darker */
  --dark-scaffold-bg: #121212;
  
  /* Card and popup background in dark mode */
  --dark-card-bg: #2D2D2D;
  
  /* Primary text color in dark mode */
  --dark-text-primary: #FFFFFF;
  
  /* Secondary/muted text color in dark mode */
  --dark-text-muted: #BDBDBD;
  
  /* Even more muted text in dark mode */
  --dark-text-subtle: #757575;
  
  /* Border color for inputs, cards, dividers in dark mode */
  --dark-border: #757575;
  
  /* Shadow color for dark mode */
  --dark-shadow: rgba(0, 0, 0, 0.3);
  
  /* Stronger shadow for dark mode */
  --dark-shadow-strong: rgba(0, 0, 0, 0.5);
  
  
  /* ==========================================
     STATUS / FEEDBACK COLORS
     ========================================== */
  
  /* Error color - For error messages, validation errors, destructive actions */
  --color-error: #F44336;
  --color-error-light: rgba(244, 67, 54, 0.1);
  
  /* Success color - For success messages, confirmations, completed states */
  --color-success: #4CAF50;
  --color-success-light: rgba(76, 175, 80, 0.1);
  
  /* Warning color - For warnings, cautions */
  --color-warning: #FF9800;
  --color-warning-light: rgba(255, 152, 0, 0.1);
  
  /* Info color - For informational messages, tips */
  --color-info: #2196F3;
  --color-info-light: rgba(33, 150, 243, 0.1);
  
  
  /* ==========================================
     PASSWORD STRENGTH INDICATOR COLORS
     ========================================== */
  
  /* Very weak password - Red */
  --password-very-weak: #F44336;
  
  /* Weak password - Orange */
  --password-weak: #FF5722;
  
  /* Medium password - Yellow */
  --password-medium: #FFEB3B;
  
  /* Strong password - Green */
  --password-strong: #4CAF50;
  
  
  /* ==========================================
     TYPOGRAPHY
     ========================================== */
  
  /* Primary font family - Montserrat from Google Fonts */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Font sizes */
  --font-size-xs: 0.75rem;     /* 12px - Small labels, captions */
  --font-size-sm: 0.875rem;    /* 14px - Secondary text */
  --font-size-base: 1rem;      /* 16px - Body text */
  --font-size-lg: 1.125rem;    /* 18px - Large body text, buttons */
  --font-size-xl: 1.25rem;     /* 20px - Small headings */
  --font-size-2xl: 1.5rem;     /* 24px - Section headings (matches app title) */
  --font-size-3xl: 1.875rem;   /* 30px - Page headings */
  --font-size-4xl: 2.25rem;    /* 36px - Hero headings */
  --font-size-5xl: 3rem;       /* 48px - Large hero text */
  
  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  
  /* ==========================================
     SPACING
     ========================================== */
  
  /* Based on Flutter's EdgeInsets values */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px - Most common spacing in app */
  --spacing-lg: 1.5rem;    /* 24px - Container padding in app */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 2.5rem;   /* 40px */
  --spacing-3xl: 3rem;     /* 48px */
  
  
  /* ==========================================
     BORDER RADIUS
     ========================================== */
  
  /* Based on Flutter's BorderRadius values */
  --radius-sm: 4px;
  --radius-md: 8px;        /* Used for buttons, inputs in app */
  --radius-lg: 12px;       /* Used for cards, containers in app */
  --radius-xl: 16px;
  --radius-full: 9999px;   /* For circular elements, pills */
  
  
  /* ==========================================
     SHADOWS
     ========================================== */
  
  /* Based on Flutter's BoxShadow - blur: 10, offset: (0, 4) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);      /* Main shadow used in app */
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.26);     /* Stronger shadow from app */
  --shadow-xl: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  
  /* ==========================================
     TRANSITIONS
     ========================================== */
  
  /* Smooth transitions for hover states, theme changes */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;   /* Matches Flutter animation duration */
  --transition-slow: 500ms ease;
  
  
  /* ==========================================
     Z-INDEX LAYERS
     ========================================== */
  
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  
  
  /* ==========================================
     LAYOUT
     ========================================== */
  
  /* Max content width */
  --max-width-sm: 640px;
  --max-width-md: 768px;
  --max-width-lg: 1024px;
  --max-width-xl: 1280px;
  --max-width-2xl: 1536px;
  
  /* Sidebar width - Matches Flutter app */
  --sidebar-width: 280px;
  --sidebar-collapsed-width: 60px;
  
  /* Navbar height */
  --navbar-height: 64px;
}


/* ============================================
   THEME CLASSES
   Apply these to <body> or <html> to switch themes
   ============================================ */

/* Light theme (default) */
[data-theme="light"],
:root {
  --bg-primary: var(--light-scaffold-bg);
  --bg-secondary: var(--light-bg);
  --bg-card: var(--light-card-bg);
  --text-primary: var(--light-text-primary);
  --text-muted: var(--light-text-muted);
  --text-subtle: var(--light-text-subtle);
  --border-color: var(--light-border);
  --shadow-color: var(--light-shadow);
  --shadow-color-strong: var(--light-shadow-strong);
}

/* Dark theme */
[data-theme="dark"] {
  --bg-primary: var(--dark-scaffold-bg);
  --bg-secondary: var(--dark-bg);
  --bg-card: var(--dark-card-bg);
  --text-primary: var(--dark-text-primary);
  --text-muted: var(--dark-text-muted);
  --text-subtle: var(--dark-text-subtle);
  --border-color: var(--dark-border);
  --shadow-color: var(--dark-shadow);
  --shadow-color-strong: var(--dark-shadow-strong);
}


/* ============================================
   USAGE EXAMPLES (for reference)
   ============================================
   
   Button:
   background-color: var(--primary-color);
   border-radius: var(--radius-md);
   padding: var(--spacing-md) var(--spacing-lg);
   font-family: var(--font-primary);
   font-size: var(--font-size-lg);
   transition: all var(--transition-normal);
   
   Card:
   background-color: var(--bg-card);
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-md);
   padding: var(--spacing-lg);
   
   Input:
   border: 1px solid var(--border-color);
   border-radius: var(--radius-md);
   
   Input focused:
   border-color: var(--primary-color);
   
   ============================================ */