/* 상단 필터 영역 - 업데이트 정보 위치 */
.chart_filter {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 15px;
}

.tab_group {
  display: flex;
  gap: 6px;
}

.tab_btn {
  border: none;
  color: #999;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  background: #f1f1f1;
}

.tab_btn.is_active {
  background: #ffffff;
  color: #333;
  font-weight: 500;
}

.date_nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date_arrow {
  border: none;
  background: none;
  color: #999;
  font-size: 20px;
  cursor: pointer;
}

/* 기간설정 탭에서는 이동 단위가 없어 비활성 */
.date_arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.date_box {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.date_picker_hidden {
  position: absolute;
  left: 0;
  top: 100%;   /* date_box 바로 아래에서 달력 팝업 뜨게 */
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  border: none;
  padding: 0;
}

.date_range {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.date_icon {
  width: 16px;
  height: 16px;
}

.update_info {
  margin-left: auto;
  font-size: 13px;
  color: #999;
}

/* 성별 탭 + 검색 한 줄 배치 */
.filter_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}
/* 성별 탭 - 세그먼트 토글 */
.gender_tabs {
  display: inline-flex;
  background: #f1f1f1;
  border-radius: 999px;
  padding: 4px;
  gap: 0;
}
.gender_btn {
  background: none;
  border: none;
  padding: 6px 18px;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.gender_btn.is_active {
  background: #fff;
  color: #333;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 순위 테이블 행 클릭 → 상세 페이지 이동 */
.row_link {
  cursor: pointer;
}
.row_link:hover {
  background: #fafafa;
}

/* 상세 페이지 - 검색 영역 위 가수 라벨 */
.singer_label {
  font-size: 17px;
  color: #333;
  font-weight: 600;
}
.singer_label strong {
  color: #d3325a;
}
