/**
 * 비쥬얼랩 인트라넷 - 모던 디자인 시스템 변수
 */

/* Pretendard 폰트 로드 - 최상단에 위치 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  /* 브랜드 컬러 - 차분한 Trustworthy Blue (엔터프라이즈급) */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-primary-50: #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-600: #2563eb;
  --color-primary-700: #1d4ed8;
  
  --color-accent: #0ea5e9;
  --color-accent-dark: #0284c7;
  --color-accent-light: #38bdf8;
  
  /* 그라데이션 제거 - 단색 사용 */
  --gradient-primary: #2563eb;
  --gradient-primary-reverse: #1d4ed8;
  
  /* 텍스트 컬러 - Slate 계열 */
  --color-text: #0f172a;
  --color-text-sub: #64748b;
  --color-text-light: #94a3b8;
  --color-text-white: #ffffff;
  
  /* 배경 컬러 - 옅은 쿨톤 그레이 베이스 */
  --color-bg-primary: #f8fafc;
  --color-bg-secondary: #f1f5f9;
  --color-bg-white: #ffffff;
  --color-bg-gray: #f8fafc;
  --color-bg-hover: #f1f5f9;
  
  /* 상태 컬러 */
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-success-50: #ecfdf5;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-warning-50: #fffbeb;
  --color-error: #fb5d5d;
  --color-error-light: #fee2e2;
  --color-error-50: #fef2f2;
  --color-info: #3b82f6;
  --color-info-light: #dbeafe;
  --color-info-50: #eff6ff;
  
  /* 보더 컬러 - Slate 계열 */
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-border-dark: #cbd5e1;
  --color-border-focus: #2563eb;
  
  /* 그림자 - 얕고 깔끔한 그림자 (엔터프라이즈급) */
  --shadow-xs: 0 1px 1px 0 rgba(0, 0, 0, 0.04);
  --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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --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), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* 간격 */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  
  /* 폰트 - Pretendard 고정 (한국어/영어 모두) */
  --font-family: 'Pretendard', system-ui, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --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 */
  
  /* 폰트 두께 */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* 보더 반경 - rounded-xl 통일 */
  --radius-sm: 0.375rem;   /* 6px */
  --radius: 0.5rem;        /* 8px */
  --radius-md: 0.75rem;    /* 12px */
  --radius-lg: 1rem;       /* 16px */
  --radius-xl: 0.75rem;    /* 12px - 엔터프라이즈급 통일 */
  --radius-full: 9999px;
  
  /* 전환 효과 - 더 부드러운 애니메이션 */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* 사이드바 */
  --sidebar-width: 280px;
  --sidebar-collapsed-width: 80px;
  
  /* 헤더 (제거됨) */
  --header-height: 0px;
  
  /* Z-index 계층 */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* 다크모드 무시 - 항상 밝은 테마 유지 */
html {
  color-scheme: light;
}

body {
  color-scheme: light;
}

/* 다크모드에서도 밝은 색상 강제 적용 */
@media (prefers-color-scheme: dark) {
  html {
    color-scheme: light !important;
  }
  
  body {
    color-scheme: light !important;
  }
  
  :root {
    --color-text: #0f172a !important;
    --color-text-sub: #64748b !important;
    --color-text-light: #94a3b8 !important;
    --color-bg-primary: #f8fafc !important;
    --color-bg-secondary: #f1f5f9 !important;
    --color-bg-white: #ffffff !important;
    --color-bg-gray: #f8fafc !important;
    --color-border: #e2e8f0 !important;
    --color-border-light: #f1f5f9 !important;
  }
}
