@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Sans+KR:wght@100..900&family=Noto+Sans+SC:wght@100..900&display=swap');
*{
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  min-height: 100vh;
  font-family: "Noto Sans KR", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: #333;
  background-color: #ffffff;
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: #555;
}

input,button,select,textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,select:focus,textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

input:disabled,select:disabled,textarea:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}


button {
  cursor: pointer;
  background-color: #0066cc;
  color: white;
  border: none;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover:not(:disabled) {
  background-color: #0052a3;
  transform: translateY(-1px);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

button:disabled {
  background-color: #e5e5e5;
  color: #999;
  cursor: not-allowed;
  transform: none;
}

button.secondary {
  background-color: #6c757d;
}

button.secondary:hover:not(:disabled) {
  background-color: #5a6268;
}

button.outline {
  background-color: transparent;
  color: #0066cc;
  border: 1px solid #0066cc;
}

button.outline:hover:not(:disabled) {
  background-color: #0066cc;
  color: white;
}

@media (max-width: 640px) {
  html {
    font-size: 14px;
  }

  input, button, select, textarea {
    padding: 0.625rem 0.75rem;
  }
}

@media (min-width: 1025px) {
  html {
    font-size: 16px;
  }
}