/* index25 스타일 + 토글 버튼 무채색 + 떨림/드래그효과 */
body {
  font-family: "Segoe UI", sans-serif;
  background: #f9f9fb;
  margin: 0;
  padding: 24px;
  color: #222;
}
.main-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
}
h1 {
  font-size: 1.8em;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
}
.info {
  display: inline-block;
  padding-bottom: 10px;
}
.bank {
  display: block;
  font-size: 0.78em;
  font-weight: 400;
  color: #aaa;
  margin-left: 5px;
}
#bank{
  cursor: pointer;
  color: inherit;      /* 부모 요소의 색상 상속 (혹은 원하는 색상으로 변경) */
  text-decoration: none; /* 밑줄 제거 */
  transition:0.3s;
}
#bank:hover{
  color: black;
  
}
.madeby {
  font-size: 0.98em;
  font-weight: 400;
  color: #aaa;
  margin-left: 5px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  vertical-align: bottom;
}
.madeby a {
  color: #aaa;
  text-decoration: underline dotted;
  transition: color 0.15s;
}
.madeby a:hover {
  color: #ea4335;
}
.lang-toggle {
  position: absolute;
  top: 28px;
  right: 36px;
}
.lang-select {
  font-size: 1em;
  border-radius: 7px;
  border: 1.2px solid #bbb;
  background: #fafbff;
  color: #2d2d2d;
  padding: 6px 20px;
}
.upload-section {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.guide {
  flex: 0.35;
  font-size: 0.95em;
  line-height: 1.8;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 20%;
}
.guide ol {
  padding-left: 18px;
}
.dropzones {
  flex: 0.65;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 620px;
}
.dropzone {
  border: 2px dashed #aaa;
  padding: 20px;
  background: #fff6f5;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.dropzone.dragover {
  background: #e0f7ff;
  border-color: #00bcd4;
}
.dropzone.fileon {
  background: #e8fce8;
  border-color: #4caf50;
}
input[type="file"] {
  margin-top: 10px;
}
.ads-area {
  width: 100%;
  height: 110px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.ads-area-text {
  color: #aaa;
  font-size: 1.1em;
}
.list-toggles {
  margin: 10px 0 18px 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.list-toggle-btn {
  display: flex;
  align-items: center;
  border: 2px solid #333;
  background: #f3f3f3;
  color: #222;
  border-radius: 12px;
  padding: 6px 18px;
  cursor: pointer;
  font-size: 0.88em;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(70, 70, 70, 0.07);
  transition: all 0.14s cubic-bezier(0.43, 0.13, 0.67, 1.5);
  margin-bottom: 6px;
  user-select: none;
  position: relative;
}
.list-toggle-btn.selected {
  background: #222;
  color: #fafbff;
  border-color: #555;
}
.list-toggle-btn.dragging {
  opacity: 0.32;
  transform: scale(0.89);
  filter: blur(1.3px) grayscale(0.3);
  animation: shake 0.14s infinite alternate;
}
.list-toggle-btn:hover:not(.dragging) {
  box-shadow: 0 6px 32px 0 #ffffff32, 0 1.5px 14px 0 #000a;
  filter: contrast(1.08) brightness(1.13) blur(0.2px)
    drop-shadow(0 4px 14px #babac5a0);
  background: linear-gradient(120deg, #ededed 70%, #f8fafd 100%);
  color: #222;
  z-index: 10;
  transform: scale(1.045);
}
@keyframes shake {
  0% {
    transform: scale(1.05) rotate(-2deg);
  }
  25% {
    transform: scale(1.08) rotate(2deg);
  }
  50% {
    transform: scale(1.1) rotate(-3deg);
  }
  75% {
    transform: scale(1.06) rotate(3deg);
  }
  100% {
    transform: scale(1.07) rotate(-2deg);
  }
}
.lists {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  height: 60vh;
  overflow-x: auto;
}
.list {
  flex: 0 0 350px;
  background: #ffffff;
  border-radius: 10px;
  padding: 0px 20px 20px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  min-width: 390px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}
.list[hidden] {
  display: none !important;
}
table {
  width: 100%;
  border-spacing: 0;
}
td {
  padding: 8px 6px;
  font-size: 0.95em;
  white-space: nowrap;
  vertical-align: middle;
}
a {
  color: #1e88e5;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  text-decoration: underline;
}
button.sort-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1em;
  margin-left: 8px;
}
h3 {
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05em;
  font-weight: 600;
}
.search-box {
  margin-bottom: 8px;
}
.search-box input {
  width: 95%;
  padding: 6px 7px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.96em;
}
@media (max-width: 700px) {
  .lists {
    flex-direction: column;
    overflow-x: unset;
    height: auto;
  }
  .list {
    min-width: unset;
    width: 100%;
  }
}
.drag-placeholder {
  background: #eee !important;
  border: 2px dashed #bbb !important;
  min-width: 90px;
  min-height: 44px;
}
.chart-tabs {
  display: flex;
  gap: 9px;
  margin-bottom: 8px;
  margin-top: 5px;
  justify-content: left;
}
.chart-tab-btn {
  padding: 4px 12px;
  border-radius: 9px;
  font-size: 0.67em;
  font-weight: 500;
  border: 1.7px solid #444;
  background: #fafbfd;
  color: #333;
  cursor: pointer;
  margin-bottom: 7px;
  transition: all 0.14s cubic-bezier(0.43, 0.13, 0.67, 1.5);
}

.chart-tab-btn:hover:not(.dragging) {
  box-shadow: 0 6px 32px 0 #dadada32, 0 1.5px 14px 0 rgba(194, 194, 194, 0.667);
  filter: contrast(1.08) brightness(1.13) blur(0.2px)
    drop-shadow(0 4px 14px #babac5a0);
  background: linear-gradient(120deg, #ededed 70%, #f8fafd 100%);
  color: #222;
  z-index: 10;
  transform: scale(1.045);
}

.chart-tab-btn.selected {
  background: #4285f4;
  color: #fff;
  border-color: #4285f4;
}
.chart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chart-wrap > canvas {
  margin: 0 auto;
}
/* 리스트 고정 헤더(제목+검색) */
.list-sticky-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  padding-bottom: 6px;
  margin-bottom: 0px;
  padding-top: 25px;
}

/* ===== 정적 콘텐츠 (소개/가이드/FAQ) ===== */
.intro-section {
  width: 100%;
  margin: 0 0 28px 0;
}
.intro-lead {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 1.02em;
  line-height: 1.75;
  color: #333;
  margin: 0;
}
.dropzones .ads-area {
  flex: 0 0 auto;
  min-height: 110px;
  height: auto;
}
.content-section {
  width: 100%;
  margin: 48px 0 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 24px;
}
.content-section article {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.content-section .faq-block {
  grid-column: 1 / -1;
}
.content-section h2 {
  font-size: 1.25em;
  margin: 0 0 14px 0;
  color: #222;
  border-left: 4px solid #4285f4;
  padding-left: 10px;
}
.content-section p {
  line-height: 1.8;
  color: #333;
  margin: 0 0 12px 0;
}
.content-section p:last-child {
  margin-bottom: 0;
}
.content-section ul,
.content-section ol {
  line-height: 1.9;
  padding-left: 22px;
  margin: 0;
  color: #333;
}
.content-section li {
  margin-bottom: 7px;
}
.feature-list {
  list-style: none;
  padding-left: 0 !important;
}
.faq-item {
  margin-bottom: 18px;
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-q {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px 0 !important;
}
.faq-q::before {
  content: "Q. ";
  color: #4285f4;
  font-weight: 700;
}
.faq-a {
  margin: 0 !important;
  color: #555;
}
.faq-a::before {
  content: "A. ";
  color: #ea4335;
  font-weight: 700;
}

/* ===== 푸터 ===== */
.site-footer {
  width: 100%;
  margin: 40px 0 8px 0;
  padding: 20px 0 0 0;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.85em;
  color: #999;
}
.site-footer a {
  color: #666;
  font-weight: 500;
}
.site-footer a:hover {
  color: #1e88e5;
}
.site-footer span {
  margin-left: auto;
}
