/* ==================== CSS VARIABLES ==================== */
/* Global CSS custom properties for consistent theming */

:root {
  --bg: #f2f2f7;
  --card-bg: rgba(255, 255, 255, 0.8);
  --text: #1c1c1e;
  --muted: #6e6e73;
  --accent: #059669;
  --success: #30d158;
  --warning: #ff9f0a;
  --danger: #ff453a;
  --primary-green: #294A42;
  --primary-light: #3a6b5e;
  --primary-dark: #1e3530;
  --radius: 16px;
  --spacing: 16px;
  --avatar-size: 80px;
  
  /* Button Variables */
  --btn-primary-bg: linear-gradient(135deg, #294A42, #2a4e44);
  --btn-primary-bg-hover: linear-gradient(135deg, #2a4e44, #2c5146);
  --btn-primary-border: #294A42;
  --btn-primary-text: white;
  --btn-secondary-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
  --btn-secondary-border: rgba(0, 0, 0, 0.1);
  --btn-danger-bg: linear-gradient(135deg, #ff453a, #e6342a);
  --btn-danger-border: #ff453a;
  --btn-warning-bg: linear-gradient(135deg, #ff9f0a, #e08900);
  --btn-warning-bg-hover: linear-gradient(135deg, #e08900, #cc7a00);
  --btn-warning-border: #ff9f0a;
  --btn-warning-text: white;
  
  /* Shadow values */
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
  
  /* Breakpoints */
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-wide: 1440px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
  
  /* Animation curves */
  --ease-out-cubic: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

/* Global Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-y: auto;
}

/* Flex layout only for specific pages that need centered content */
[data-page="login"] body,
[data-page="register"] body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--spacing);
}