@charset "UTF-8";
.data-page .tabs {
  display: flex;
  flex: auto;
}

.data-page .tabs .item {
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  height: 50px;
  display: flex;
  align-items: center;
  margin-right: 20px;
  position: relative;
  flex: none;
}

.data-page .tabs .item.active {
  color: #2546a1;
}

.data-page .tabs .item.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 100%;
  height: 3px;
  background: #2546a1;
  border-radius: 3px;
}

.exchange-rate {
  margin: 20px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
}

.exchange-rate h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.data-page .converter {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 25px 0;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
}

.input-group {
  flex: 1;
  position: relative;
}

.input-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 15px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  padding-right: 35px;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

.input-group select:hover {
  border-color: #2546a1;
}

.input-group select:focus {
  border-color: #2546a1;
  box-shadow: 0 0 0 2px rgba(37, 70, 161, 0.1);
  outline: none;
}

.input-group input {
  width: 100%;
  padding: 15px;
  font-size: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}

.input-group input:focus {
  border-color: #2546a1;
  box-shadow: 0 0 0 2px rgba(37, 70, 161, 0.1);
  outline: none;
}

.equal-sign {
  font-size: 28px;
  color: #2546a1;
  font-weight: 600;
  background: #e8edf7;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.rate-info {
  color: #666;
  font-size: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  display: inline-block;
}

.rate-info #current-rate {
  color: #2546a1;
  font-weight: 600;
  margin-left: 5px;
}

#to-amount {
  background-color: #f8f9fa;
  color: #2546a1;
  font-weight: 600;
}

.quick-select {
  margin-top: 40px;
}

.quick-select h2 {
  font-size: 18px;
  margin-bottom: 15px;
}

.currency-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.currency-item {
  padding: 8px 15px;
  background: #f5f5f5;
  border-radius: 20px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
}

.currency-item:hover {
  background: #e0e0e0;
}

.data-page {
  padding: 20px;
  background: #fff;
}

.header-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.currency-select {
  position: relative;
  min-width: 120px;
}

.currency-select select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  appearance: none;
  background: #fff;
}

.data-page .search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-page .search-input {
  width: 300px;
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.data-page .year-select {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
}

.data-page .date-picker {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
}

.data-page .action-buttons {
  display: flex;
  gap: 10px;
}

.data-page .btn {
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.data-page .btn-primary {
  background: #1890ff;
  color: #fff;
}

.data-page .btn-outline {
  background: #fff;
  border: 1px solid #e0e0e0;
}

.data-page .btn-outline.active {
  background: #fff;
  border: 1px solid #2546a1;
  color: #2546a1;
}

.data-page .charts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.data-page .chart-box {
  background: #fff;
  padding: 20px;
}

.data-page .chart-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #333;
}

.data-page .chart {
  height: 300px;
}

.data-page .tab_two {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  margin-top: 20px;
}

.data-page .world-map-container {
  width: calc(100% - 300px);
  height: 600px;
  margin-bottom: 30px;
  position: relative;
  background: #fff;
  border-radius: 8px;
}

.data-page .loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.data-page .loading-text {
  font-size: 16px;
  color: #333;
}

.data-page .error-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff4d4f;
  text-align: center;
  display: none;
}

.data-page .statistics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.data-page .statistics-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.data-page .statistics-actions {
  display: flex;
  gap: 10px;
}

.data-page .search-section {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.data-page .country-list {
  width: 400px;
  height: 600px;
  overflow-y: scroll;
  margin-top: 20px;
}

.data-page .country-item {
  padding: 15px;
}

.data-page .country-item .country-item-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.data-page .country-item .country-item-value {
  display: flex;
  align-items: center;
}

.data-page .country-name {
  flex: 1;
  font-size: 16px;
}

.data-page .country-value {
  font-weight: 500;
  color: #2546a1;
}

.data-page .country-percent {
  width: 100px;
  text-align: right;
  color: #666;
}

.data-page .progress-bar {
  width: 100px;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  margin: 0 15px;
}

.data-page .progress-bar-fill {
  height: 100%;
  background: #2546a1;
  border-radius: 4px;
}

.tab_three {
  border-radius: 8px;
  margin-top: 20px;
}

.tab_three .trade-container {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}

.trade-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.trade-filters {
  display: flex;
  gap: 15px;
  align-items: center;
}

.trade-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.trade-table th {
  background: #f5f7fa;
  padding: 12px;
  text-align: center;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #eee;
}

.trade-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.trade-table .number {
  color: #333;
  font-family: Arial;
}

.trade-table .positive {
  color: #52c41a;
}

.trade-table .negative {
  color: #f5222d;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 8px;
}

.pagination a {
  padding: 6px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
}

.pagination a.active {
  background: #1890ff;
  color: #fff;
  border-color: #1890ff;
}

.pagination a:hover:not(.active) {
  color: #1890ff;
  border-color: #1890ff;
}

.chart-container {
  margin-top: 30px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.chart-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 20px;
}

#tradeDistributionChart {
  height: 400px;
  width: 100%;
}

.tab_four {
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.indonesia-header {
  margin: 10px 0 20px;
}

.indonesia-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.date-range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-input {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  width: 150px;
}

.indonesia-filters {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.indonesia-table {
  width: 100%;
  overflow-x: scroll;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.indonesia-table th {
  padding: 12px;
  text-align: left;
  font-weight: 500;
  color: #333;
  border-width: 0px;
  background-color: #fff;
  box-shadow: none;
}

.indonesia-table td {
  padding: 12px;
  border-width: 0px;
  background-color: #fff;
  box-shadow: none;
  border-bottom: 1px solid #eee;
}

.indonesia-table .number {
  font-family: Arial;
  text-align: right;
}

.indonesia-table .positive {
  color: #52c41a;
}

.indonesia-table .negative {
  color: #f5222d;
}

#indonesiaChart {
  height: 400px;
  margin-top: 20px;
}

.chart-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.data-page .btn-primary.active {
  background: #1890ff;
}

.data-page .chart-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.data-page .chart-box {
  position: relative;
}

.data-page .rate-info {
  position: relative;
}

.data-page {
  /* 分页样式 */
  /* 表格容器样式 */
  /* 自定义滚动条样式 */
  /* 表格样式优化 */
}
.data-page .pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 10px 0;
}
.data-page .three-pagination-info,
.data-page .pagination-info {
  color: #666;
  font-size: 14px;
}
.data-page .pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.data-page .pagination-controls .btn {
  border: none;
}
.data-page .pagination-controls button {
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  padding: 0 8px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #666;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s;
}
.data-page .pagination-controls button:hover {
  color: #1890ff;
  border-color: #1890ff;
}
.data-page .pagination-controls button.active {
  background: #1890ff;
  color: #fff;
  border-color: #1890ff;
}
.data-page .pagination-controls button.active:hover {
  background: #40a9ff;
}
.data-page .pagination-controls button:disabled {
  color: #d9d9d9;
  border-color: #d9d9d9;
  cursor: not-allowed;
}
.data-page .page-numbers {
  display: flex;
  gap: 8px;
}
.data-page .page-numbers button {
  min-width: 32px;
}
.data-page .current-flag {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
}
.data-page .pagination-container {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.data-page .indonesia-data .table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 16px;
}
.data-page .indonesia-data .table-container::-webkit-scrollbar {
  height: 8px;
  background-color: #f5f5f5;
}
.data-page .indonesia-data .table-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}
.data-page .indonesia-data .table-container::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}
.data-page .indonesia-data .table-container::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  border-radius: 4px;
}
.data-page .indonesia-table {
  margin-bottom: 0;
  white-space: nowrap;
  border-collapse: separate;
  border-spacing: 0;
}
.data-page .indonesia-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 16px;
}
.data-page .indonesia-table .number {
  text-align: right;
  font-family: monospace;
}
.data-page .indonesia-table .total-row {
  font-weight: bold;
}
.data-page .box {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}
.data-page .th-bg {
  background: #f5f7fa;
  padding: 12px;
  text-align: center;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #eee;
}
.data-page .indonesia-table th {
  font-weight: bold;
}
.data-page .trade-table th {
  font-weight: bold;
}
