@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');

@font-face {
  font-family: 'S-CoreDream-4Regular';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'S-CoreDream-5Medium';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'S-CoreDream-6Bold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'TmoneyRoundWindRegular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/TmoneyRoundWindRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
  font-family: 'TmoneyRoundWindRegular', 'Nanum Gothic', sans-serif;
  background-color: rgb(243, 244, 246);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  overflow-y: auto;
  border-radius: 10px;
}

/* 로그 버튼 스타일 */
#log-control button {
  background: linear-gradient(145deg, #4CAF50, #43a047); /* 그라데이션 효과 */
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.1), -4px -4px 8px rgba(255,255,255,0.7);
  transition: all 0.2s ease-in-out;
}

#log-control button:hover {
  background: linear-gradient(145deg, #43a047, #388e3c);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1), -2px -2px 4px rgba(255,255,255,0.7);
}

#log-control button:active {
  transform: scale(0.98);
  box-shadow: none;
}


#logo {
  text-align: center;
  max-width: 414px;
  margin: auto;
}

#logo img {
  width: 70%;
}

div#container, div#header {
  padding: 1rem;
  padding-top: 0rem;
  display: flex;
  max-width: none;
  flex-wrap: wrap;
}
div#container {
  justify-content: space-evenly;
}
div#header {
  padding-top: .5rem;
  padding-bottom: 0rem;
  justify-content: space-between;
  min-height: 80px;
}

header {
  position: sticky;
  top: 0;
  background-color: rgb(243, 244, 246);
  padding: 1rem 0rem;
  z-index: 1000;
}

article {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
  min-width: 320px;
  width: 380px;
  max-width: 414px;
}

article h1 {
  font-size: 1.5rem;
  margin: 0px;
  color: rgb(59,130,246);
}

article .content {
  padding-left: 1rem;
}

.disabled {
  opacity: 30%;
  pointer-events: none;
}

.btn_download span {
  width: 70%;
  font-weight: bold;
}

.canvas_disabled {
  cursor: not-allowed;
  pointer-events: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

input.data_input {
  height: 1.2rem;
  line-height: 1.2rem;
  width: 7rem;
}

input.short {
  width: 2rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: right;
  padding-right: .5rem;
}

input.mini {
  width: 1.5rem;
  height: 1.2rem;
  line-height: 1.2rem;
  text-align: right;
  padding-right: .5rem;
}

table td {
  height: 1.75rem;
  line-height: 1.75rem;
}

.reset-zoom {
	position: absolute!important;
	top: 170px;
	right: 20px;
  border: none;
}

.btn {
  background: linear-gradient(145deg, #4CAF50, #43a047); /* 녹색 그라데이션 */
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'TmoneyRoundWindRegular', 'Nanum Gothic', sans-serif; 
  cursor: pointer;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.1), -4px -4px 8px rgba(255,255,255,0.7);
  transition: all 0.2s ease-in-out;
  text-decoration: none; /* a 태그인 경우 밑줄 제거 */
}

/* 버튼 Hover/Active 효과
.btn:hover {
  background: linear-gradient(145deg, #43a047, #388e3c);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1), -2px -2px 4px rgba(255,255,255,0.7);
} */
.btn:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* 
  2) '정지' 상태 등 다른 색을 원한다면 .btn.stop 같이 별도 클래스 추가
     예) 빨간색으로 바꾸고 싶다면:
*/
.btn.stop {
  background: linear-gradient(145deg, #E53935, #D32F2F) !important;
}

/* 
  3) 공통 Select (.select-common) 스타일 
     드롭다운(로그 파일 선택)에도 동일한 폰트·크기를 적용
*/
.select-common {
  font-family: 'TmoneyRoundWindRegular', 'Nanum Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1), -2px -2px 4px rgba(255,255,255,0.7);
  transition: border-color 0.2s ease;
  background-color: #fff;  /* 원하는 배경색 */
}

/* Select hover/focus 효과 */
.select-common:hover,
.select-common:focus {
  border-color: #888;
}