/* =============================================
   SHARED THEME - OJT Management System
   Dark Green Gradient + Glassmorphism Theme
   ============================================= */

/* Google Fonts Import must be before any style rules */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* ===== Brand Colors ===== */
    --brand-green: #0da80d;
    --brand-green-light: #2ecc71;
    --brand-green-dark: #064d06;
    --forest-green: #0a3d0a;
    --emerald: #10b981;
    
    /* ===== Gradient Definitions ===== */
    --gradient-header: linear-gradient(135deg, #064d06 0%, #0a5c0a 50%, #0da80d 100%);
    --gradient-sidebar: linear-gradient(180deg, #053005 0%, #064d06 40%, #0a5c0a 100%);
    --gradient-accent: linear-gradient(135deg, #0da80d 0%, #2ecc71 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(13, 168, 13, 0.1) 0%, rgba(46, 204, 113, 0.05) 100%);
    --gradient-table-header: linear-gradient(135deg, #053005 0%, #0a5c0a 50%, #064d06 100%);
    --gradient-glass-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    
    /* ===== Background Colors ===== */
    --bg-app: #f0f4f0;
    --bg-app-pattern: 
        radial-gradient(ellipse at 20% 20%, rgba(13, 168, 13, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(46, 204, 113, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 77, 6, 0.02) 0%, transparent 70%),
        linear-gradient(135deg, #f0f4f0 0%, #e8f0e8 50%, #f0f4f0 100%);
    --bg-header: var(--gradient-header);
    --bg-sidebar: var(--gradient-sidebar);
    --bg-content: #f5f7f5;
    --bg-content-elevated: linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
    
    /* ===== Surface Colors ===== */
    --surface-primary: #ffffff;
    --surface-secondary: #f8faf8;
    --surface-tertiary: #f0f5f0;
    --surface-glass: rgba(255, 255, 255, 0.95);
    --surface-glass-dark: rgba(6, 77, 6, 0.85);
    --surface-card: linear-gradient(145deg, #ffffff 0%, #fafcfa 100%);
    --surface-card-hover: linear-gradient(145deg, #fcfefc 0%, #f5faf5 100%);
    --surface-card-elevated: linear-gradient(180deg, #ffffff 0%, #f8faf8 50%, #f5f7f5 100%);
    
    /* ===== Text Colors ===== */
    --text-primary: #1a1a1a;
    --text-secondary: #5a6c5a;
    --text-muted: #7a8a7a;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: rgba(255, 255, 255, 0.85);
    --text-on-dark-muted: rgba(255, 255, 255, 0.65);
    
    /* ===== Accent / Status Colors ===== */
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-info: #3b82f6;
    --accent-primary: var(--brand-green);
    
    /* ===== Border Colors ===== */
    --border-light: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.12);
    --border-dark: rgba(255, 255, 255, 0.15);
    --border-accent: var(--brand-green);
    
    /* ===== Shadows ===== */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(13, 168, 13, 0.3);
    --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-sidebar: 4px 0 20px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 8px 24px rgba(13, 168, 13, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    
    /* ===== Glassmorphism ===== */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-bg-hover: rgba(255, 255, 255, 0.18);
    --glass-bg-active: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
    --glass-blur-strong: blur(20px);
    
    /* ===== Border Radius ===== */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
    
    /* ===== Spacing ===== */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* ===== Typography ===== */
    --font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* ===== Transitions ===== */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* ===== Layout ===== */
    --header-height: 70px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
}
