@charset "utf-8";
/* KR-VIEW Dark Mode (safe overrides)
   적용 방식: html.dark 클래스로 토글
   - 기본 테마(theme.css)를 건드리지 않고 덮어쓰는 용도
*/

html.dark, html.dark body{
  background: #0b0f14 !important;
  color: #e5e7eb !important;
}

/* 레이아웃/컨테이너 */
html.dark .wrapper,
html.dark #nt_header,
html.dark #nt_lnb,
html.dark #nt_sticky,
html.dark .nt-container,
html.dark .nt-container-wide{
  background: transparent !important;
}

/* 표면(카드/박스) */
html.dark .bg-white,
html.dark .card,
html.dark .list-group,
html.dark .dropdown-menu,
html.dark .modal-content,
html.dark .toast,
html.dark .alert,
html.dark .shadow,
html.dark .shadow-sm{
  background: #121826 !important;
  color: #e5e7eb !important;
  box-shadow: none !important;
}

/* 테두리/구분선 */
html.dark hr,
html.dark .border,
html.dark .border-top,
html.dark .border-bottom,
html.dark .border-left,
html.dark .border-right,
html.dark .dropdown-divider{
  border-color: #273244 !important;
}

/* 텍스트 */
html.dark .text-dark { color: #e5e7eb !important; }
html.dark .text-body { color: #e5e7eb !important; }
html.dark .text-muted,
html.dark small,
html.dark .small { color: #9ca3af !important; }

/* 링크 */
html.dark a { color: #93c5fd !important; }
html.dark a:hover { color: #bfdbfe !important; }

/* 폼 */
html.dark input,
html.dark select,
html.dark textarea{
  background: #0b0f14 !important;
  color: #e5e7eb !important;
  border-color: #273244 !important;
}
html.dark input::placeholder,
html.dark textarea::placeholder{ color:#9ca3af !important; }

/* 테이블 */
html.dark table,
html.dark .table{
  color: #e5e7eb !important;
}
html.dark .table thead th{
  border-color: #273244 !important;
}
html.dark .table td,
html.dark .table th{
  border-color: #273244 !important;
}

/* 버튼(기본) */
html.dark .btn-outline-secondary,
html.dark .btn-outline-dark{
  color:#e5e7eb !important;
  border-color:#273244 !important;
}
html.dark .btn-outline-secondary:hover,
html.dark .btn-outline-dark:hover{
  background:#1b2436 !important;
}

/* 페이지네이션 */
html.dark .page-link{
  background:#121826 !important;
  border-color:#273244 !important;
  color:#e5e7eb !important;
}
html.dark .page-item.active .page-link{
  background:#1b2436 !important;
  border-color:#1b2436 !important;
}

/* 코드/인용 */
html.dark pre,
html.dark code,
html.dark .code,
html.dark blockquote{
  background:#0f1623 !important;
  color:#e5e7eb !important;
  border-color:#273244 !important;
}

/* 본문 영역(에디터 출력 깨짐 최소화) */
html.dark .view_content,
html.dark .view_content *{
  color: inherit;
}
html.dark .view_content a{ color:#93c5fd !important; }

/* 다크모드 토글 UI(테스트용) */
#nt_theme_toggle{ cursor:pointer; }
