@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #0a121a;
  background-color: #fff;
}

.main {
  display: flex;
  flex-direction: row;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  background-color: #0a121a;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* °Ë»öÃ¢°ú µå·Ó´Ù¿î ¸Þ´º ·¡ÆÛ */
.header-right {
  display: flex;
  gap: 10px;
  align-items: center;
}
/* µå·Ó´Ù¿î ¸Þ´º¸¦ ¿À¸¥ÂÊ Á¤·Ä */
.dropdown-menu {
  margin-left: auto;
}

a { text-decoration: none; color: #0a121a;}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.search-container {
  position: relative;
  width: 500px;
  display: flex;
  align-items: right;
  gap: 10px;
}

.search-container input {
  width: 100%;
  padding: 6px 30px 6px 10px; /* ¿À¸¥ÂÊ ¿©¹é Ãß°¡ */
  border-radius: 4px;
  border: none;
  font-size: 14px;
  background-color: #fff;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  background-color: #fff;
  border: none;
  z-index: 1002;
}
.search-icon:hover {
  cursor: pointer !important;
}

.search-result {
  margin-bottom: 20px;
  text-align: left;
}

.search-result h2 {
  border-bottom: 1px solid #eee;
  text-align: left;
}

.search-result h3 {
  font-size: 18px;
  color: #4e6659;
  margin: 40px 0px 10px 0px;  
}

.search-result p {
  font-size: 14px;
  color: #333;
}

input:-webkit-autofill {
  background-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s; /* Æ®¸¯ */
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  color: #000 !important;
}

mark {
  background-color: #ffff66;
  font-weight: bold;
}

.main {
  display: flex;
  height: 100hv;
}

.sidebar {
  position: fixed;
  top: 60px;  /* Çì´õ ³ôÀÌ¸¸Å­ ¾Æ·¡ */
  left: 0;
  width: 260px;
  height: calc(100vh - 60px);
  background-color: #fdf2e6;
  border-right: 1px solid #ccc;
  padding: 16px;
  overflow-y: auto;
  z-index: 999;
}

.sidebar-title {
  font-weight: bold;
  background-color: #f7e4cb;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 4px;
  color: #0a121a;
  text-align: center;
}

.accordion-menu {
  list-style: none;
}



.accordion {
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  font-size: 16px;
}

.accordion .arrow {
  font-size: 0.9em;
  transition: transform 0.3s;
}

.accordion-menu a.active {
  background-color: #f9ebd8;
  color: #000;
  border-left: 4px solid #ff5e6f;
  padding-left: 10px;
  width: 100%;
  display: block;
}

/*
.accordion.active {
  background-color: #f9ebd8;
}
*/
.accordion.active .arrow {
  transform: rotate(180deg); /* ¡å ¡æ ¡ã */
}

.panel {
  list-style: none;
  padding-left: 20px;
  display: none;

}

.panel li {
  margin: 5px 0;
}

.panel a.active {
  background-color: #f9ebd8;
}

.panel a {
  text-decoration: none;
  color: #0a121a;
  font-size: 15px;
  padding: 4px 0;
}

.panel a:hover {
  text-decoration: underline;
}

.content {
  text-align: center;
  padding: 24px;
  margin-top: 60px;
  margin-left: 260px;
  padding: 24px;
  width: 100%;
  height: auto;
  min-height: unset;
}

.content .frame {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 150px);
  background: #fff;
  text-align: center;
  padding: 24px;
}

.content table {
  width: 800px;
}


.kv-center-box h1 {
  color: #4e6659;
  font-size: 100px;
  margin-bottom: 10px;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; 
  font-weight: 400;
}

.kv-center-box .sub-title {
  font-weight: bold;
  font-size: 20px;
}

.kv-center-box .version {
  font-size: 14px;
  margin-top: 10px;
}

.content-page {
  text-align: left;
  line-height: 30px;
  p { margin: 10px 0px 10px 30px; }
  li { list-style: none; padding-left: 8px; margin-top: 5px;}
  ul { margin-top: 30px;}
  h4 { margin: 10px 0px 5px 0px;}
}

.content-page .strong {
  color: #ff5e6f;
  font-weight: bold;
}

.content-page h2 {
  font-size: 32px;
  color: #4e6659;
  margin-bottom: 16px;
}

.content-page h3 {
  font-size: 24px;
  margin-top: 50px;
  color: #333;
}

.content-page ul {
  margin-left: 20px;
}

.content-page .coming-soon {
  font-style: italic;
  color: #999;
}
table {
  line-height: 18px;
}
table td {
  padding: 5px 10px;
  font-size: 12px;
  border-bottom: 1px solid #999;
}
table th {
  text-align: center;
  font-size: 12px;
  border-bottom: 2px solid #999;
  border-top: 2px solid #999;
  background-color: #eee;
}
.image-wrapper {
   width: 800px;
   height: 600px;
   margin-left: 20px; 
   overflow: auto;
   border: 1px solid #999;
}
.image-wrapper img {
  width: 100%;
  cursor: pointer;
}
.overlay-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none; /* ÅØ½ºÆ®¿¡ ¸¶¿ì½º ¿µÇâ ¾øÀ½ */
}

.image-wrapper:hover .overlay-text {
  opacity: 1;
}

/* °Ë»ö °á°ú ¸®½ºÆ® ÀüÃ¼ µé¿©¾²±â */
.search-snippet-list {
  margin-left: 0px; /* ? ±âÁ¸º¸´Ù ´õ ¿À¸¥ÂÊÀ¸·Î ÀÌµ¿ */
  padding-left: 20px;
  list-style-type: disc;
}

.search-snippet-list li {
  margin-bottom: 5px;
  line-height: 1.6;
}

.search-input {
  position: relative;
  width: 300px;
}

.manual-dropdown {
  display: flex;
  align-items: right;
  margin-bottom: 5px;
  border-radius: 4px;
  color: #0a121a;
  text-align: center;
  width: auto;
  text-align: center;
}

.manual-dropdown select {
  margin: 0 auto;
  border-radius: 4px;
  border: none;
  font-size: 13px;
  background-color: #fff;
  color: #0a121a;
  cursor: pointer;
  font-weight: bold;
  padding: 6px;
}

.hamburger-btn {
  width: 30px;
  height: 24px;
  position: relative;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-btn .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f7e4cb; /* ?? ¿äÃ»ÇÑ »ö»ó */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ÃÊ±â »óÅÂ: À§-Áß¾Ó-¾Æ·¡ */
.bar1 { top: 0; }
.bar2 { top: 50%; transform: translateY(-50%); }
.bar3 { top: 100%; transform: translateY(-100%); }

/* STEP 1: bar1 ¡æ ¾Æ·¡·Î ÀÌµ¿ / bar3 ¡æ À§·Î ÀÌµ¿ ¡æ ¸ðµÎ bar2 À§Ä¡·Î */
.hamburger-btn.move .bar1 {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-btn.move .bar3 {
  top: 50%;
  transform: translateY(-50%);
}

/* STEP 2: È¸Àü + bar2 »ç¶óÁü */
.hamburger-btn.cross .bar1 {
  transform: translateY(-50%) rotate(45deg);
}
.hamburger-btn.cross .bar3 {
  transform: translateY(-50%) rotate(-45deg);
}
.hamburger-btn.cross .bar2 {
  opacity: 0;
}

.search-mobile {
  display: none;
}

.install-btn {
  border: 1px solid #999;
  padding: 0px 10px;
  border-radius: 3px;
}

.process_frame {
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  padding-top: 30px;
  .chart { width: 400px; margin: 0 auto; height: auto; padding: 30px 0px; border-radius: 20px; border: 5px solid #f7e4cb; margin-top: 5px; margin-bottom: 5px; background-color: #f7e4cb; box-shadow: 0px 5px 5px 2px gray;}
  img { width: 50px;}
}

/* ¸ð¹ÙÀÏ¿¡¼­ ¼¼·Î Á¤·Ä·Î º¯°æ */
@media screen and (max-width: 768px) {
  body {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body::-webkit-scrollbar {
    display: none;
  }
  .sidebar {
    position: fixed;
    top: 60px; /* Çì´õ ¾Æ·¡¿¡ À§Ä¡ */
    left: -260px; /* Ã³À½¿¡´Â ¼û°ÜÁø »óÅÂ */
    width: 260px;
    height: calc(100vh - 60px);
    background-color: #fdf2e6;
    border-right: 1px solid #ccc;
    padding: 16px;
    overflow-y: auto;
    transition: left 0.3s ease; /* ? ºÎµå·¯¿î ½½¶óÀÌµå È¿°ú */
    z-index: 999;
  }
  .sidebar.open {
    left: 0; /* ? º¸ÀÌ°Ô µÊ */
  }
  .content {
    margin-left: 0;
    width: 100%;
  }
  .frame {
    padding: 20px;
  }
  .search-box {
    display: none;
  }
  /* µå·Ó´Ù¿î ¸Þ´º´Â ¿À¸¥ÂÊ Á¤·Ä À¯Áö */
  .dropdown-menu {
    margin-left: auto;
  }
.search-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 0; /* ¿ä¼Ò °£ °Å¸® Á¦°Å */
}
.manual-dropdown {
  width: 90%;
  flex: none;
  display: flex;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}
  .manual-dropdown select {
    width: 100%;
    font-size: 14px;
    padding: 6px;
  }
  .logo { padding-right: 10px;}
  .hamburger-btn {
    width: 26px;                /* ? »ìÂ¦ ÀÛ°Ô */
    height: 22px;
    flex-shrink: 0;
    margin-left: 0px;           /* ? °£°Ý 0 */
  }
  .hamburger-btn { display: block;}
  .hamburger-btn { display: flex;}
  .kv-center-box .sub-title { font-size: 12px;}
  .kv-center-box .version { font-size: 13px;}
  .kv-center-box h1{ font-size: 50px;}
  .content-page ul { margin-left: 0px;}
  .content-page p { margin: 0px;}
  .content-page h3 { margin-left: 0px;}
  .content-page li {padding-left: 0px;}
  .content-page img { width: 100%; margin-top: 10px;}
  .content-page table { width: 100%; margin-left: 0px; margin-top: 10px;}
  .content-page .image-wrapper { margin-left: 0px; width: 100%;}
  .search-desktop { display: none;}
  .search-mobile { display: block; margin-bottom: 10px;}
  .search-input { position: relative; width: 100%;}
    .search-input input {
    width: 100%;
    padding: 8px 36px 8px 10px; /* ¾ÆÀÌÄÜ °ø°£ °í·Á */
    border-radius: 4px;
    border: 1px solid #ccc;
  }
  .process_frame {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 50px;
    .chart { width: 100%; margin: 0 auto; height: auto; padding: 30px 0px; border-radius: 20px; border: 5px solid #f7e4cb; margin-top: 5px; margin-bottom: 5px; background-color: #f7e4cb; box-shadow: 0px 5px 5px 2px gray;}
    img { width: 50px;}
  }
}