/* ================================================
   3206 - 자사주 소각 결정 공시
   ================================================ */

@media (min-width: 1320px) {
  .postid-3206 #stock-table-header-3206,
  .postid-3206 #stock-table-container-3206,
  .postid-3206 .list-title-container-3206 {
    width: 1650px !important;
    max-width: 1650px !important;
    margin: 0 auto !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}
@media (max-width: 1319px) {
  .postid-3206 #stock-table-header-3206,
  .postid-3206 #stock-table-container-3206,
  .postid-3206 .list-title-container-3206 {
    width: 100% !important;
    max-width: unset !important;
  }
}

.list-title-container-3206 { text-align: center; margin-bottom: 20px; }
.list-title-container-3206 h2 { font-size: 32px; font-weight: bold; color: #333; }

#stock-table-header-3206 {
  display: flex; justify-content: space-between; align-items: center;
  background: #f8f9fa; padding: 16px; border-radius: 10px; margin-bottom: 16px;
  flex-wrap: wrap; gap: 10px;
}
#stock-table-header-3206 select {
  padding: 10px 14px; border: none; border-radius: 30px;
  background: linear-gradient(135deg, #6fb1fc, #4364f7);
  color: #fff; font-weight: bold; cursor: pointer;
  box-shadow: 0 4px 10px rgba(67, 100, 247, 0.4);
}
#stock-table-header-3206 select.filter-active {
  background: linear-gradient(135deg, #ffc371, #ff5f6d);
}
#search-input-3206 {
  padding: 10px 16px; border: 1px solid #ccc; border-radius: 30px; min-width: 200px;
}
.info-text-3206 { font-size: 14px; color: #666; margin-right: 6px; }
.header-left-controls-3206 { display: flex; align-items: center; gap: 8px; }
.filter-controls-3206 { display: flex; gap: 8px; flex-wrap: wrap; }

#stock-table-container-3206 {
  overflow-x: auto;
  max-height: 900px;
  overflow-y: auto;
  border: 1px solid #dee2e6; border-radius: 10px;
  background-color: #fff;
  position: relative;
}

.stock-table-3206 {
  width: 100%; min-width: 1400px; border-collapse: separate; border-spacing: 0;
}

/* 헤더 고정 */
.stock-table-3206 th {
  background: #1f4e79; color: #fff; padding: 12px;
  white-space: nowrap;
  position: sticky; top: 0; z-index: 10;
  border-bottom: 2px solid #0d2d4a;
  font-size: 13px;
}

/* 모든 행 흰색 배경 */
.stock-table-3206 td {
  padding: 10px 12px; border-bottom: 1px solid #e9ecef;
  white-space: nowrap; font-size: 14px;
  background-color: #ffffff;
}
.stock-table-3206 tr:hover td { background-color: #e8f0ff; }

/* 정렬 */
.ar { text-align: right !important; }
.ac { text-align: center !important; }
.al { text-align: left !important; }

/* 시장 배지 */
.badge-market-3206 {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px; font-size: 12px; font-weight: 700;
}
.badge-kospi-3206  { background: #e3f2fd; color: #1565c0; }
.badge-kosdaq-3206 { background: #fff3e0; color: #e65100; }
.badge-konex-3206  { background: #f3e5f5; color: #6a1b9a; }

/* 기업명 */
.company-name-3206 { color: #333; font-weight: 600; }

/* 종목코드 */
.ticker-3206 {
  color: #888; font-size: 13px; font-family: 'SF Mono', 'Consolas', monospace;
}

/* 비율 강조 */
.ratio-cancel  { color: #c0392b; font-weight: 700; }
.ratio-current { color: #7b1fa2; font-weight: 700; }
.ratio-after   { color: #1565c0; font-weight: 700; }

/* 소각금액 */
.amount-value { font-weight: 700; color: #2c3e50; }

/* 강조 열 배경 - 데이터 행 */
.col-highlight {
  background-color: #f4f4f4 !important;
}
/* 강조 열 배경 - 헤더 */
.stock-table-3206 th.th-col-highlight {
  background: #2d6096 !important;
}
/* hover 시 강조 열도 덮어씀 */
.stock-table-3206 tr:hover td.col-highlight {
  background-color: #dce8ff !important;
}

/* 공시 링크 */
.dart-link a {
  color: #1155cc; text-decoration: none; font-size: 13px;
}
.dart-link a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  #stock-table-header-3206 { flex-direction: column; align-items: stretch; }
  .filter-controls-3206 { justify-content: space-between; }
  #stock-table-header-3206 select { flex-grow: 1; }
}
