/* ============================================
   LOCATEWISE - 리셋 & 베이스 스타일
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: var(--line-height-normal);
  min-height: 100vh;
}

/* 선택적 텍스트 선택 방지 */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 접근성 - 포커스 스타일 */
:focus-visible {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
}

/* 텍스트 선택 스타일 */
::selection {
  background: rgba(10, 158, 135, 0.2);
  color: var(--text);
}

/* 스크롤바 커스텀 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-400);
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: var(--font-family);
}

input,
select,
textarea {
  font-family: var(--font-family);
}

/* Lucide 아이콘 기본 스타일 */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 인쇄 방지 */
@media print {
  body { display: none !important; }
}
