.middle-column {
  overflow-y: auto;
  scrollbar-width: none;     /* 전체 스크롤바 숨기기 */
  -ms-overflow-style: none;  /* IE, Edge 숨기기 */
}
/* WebKit (Chrome, Safari 등) */
.middle-column::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* 테마 정보 컨테이너 (테마명 + 총 거래대금) */
.theme-info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  margin: 10px 0;
}

.theme-name {
  font-size: 16px;
}

.theme-total-value {
  font-size: 16px;
}


/* 테마별 이슈 종목 테이블 */
#theme-stocks-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9rem;
}

#theme-stocks-table tbody td {
  ;
  border-left: none;
  border-right: none;
  vertical-align: top;
}

/* 테이블 열 폭 지정:
   - 첫 번째 열: 종목 정보 → 50%
   - 두 번째 열: 등락률/가격 → 25%
   - 세 번째 열: 거래량 → 25%
*/
#theme-stocks-table tbody tr td:nth-child(1) {
  width: 5%;
}

#theme-stocks-table tbody tr td:nth-child(2) {
  width: 45%;
}

#theme-stocks-table tbody tr td:nth-child(3) {
  width: 25%;
}

#theme-stocks-table tbody tr td:nth-child(4) {
  width: 25%;
}

#theme-stocks-table tbody td:nth-child(3) .top-line,
#theme-stocks-table tbody td:nth-child(3) .bottom-line {
  justify-content: flex-end;
}

#theme-stocks-table tbody td:last-child .top-line,
#theme-stocks-table tbody td:last-child .bottom-line {
  justify-content: flex-end;
}

#theme-stocks-table tbody td.rank {
  text-align: center;
  vertical-align: middle;
}

.search-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px; /* 필요에 따라 간격 조정 */
}

#theme-stock-search {
  width: 90%;  /* 원하는 너비로 조정 */
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}