html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #f5f5f5;
}

article,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

ul,
li {
  list-style: none;
}

img {
  border: 0;
  vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: "Microsoft YaHei", "SimHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #c41230;
  text-decoration: none;
}

div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
form,
label,
input,
textarea,
button,
img,
span,
dl,
dt,
dd,
th,
pre {
  margin: 0;
  padding: 0;
  outline: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.hidden {
  display: none !important;
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1180px;
  }
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}

.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12 {
  float: left;
}

.col-xs-12 { width: 100%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-9 { width: 75%; }
.col-xs-8 { width: 66.66666667%; }
.col-xs-7 { width: 58.33333333%; }
.col-xs-6 { width: 50%; }
.col-xs-5 { width: 41.66666667%; }
.col-xs-4 { width: 33.33333333%; }
.col-xs-3 { width: 25%; }
.col-xs-2 { width: 16.66666667%; }
.col-xs-1 { width: 8.33333333%; }

@media (min-width: 992px) {
  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11,
  .col-md-12 {
    float: left;
  }
  .col-md-12 { width: 100%; }
  .col-md-11 { width: 91.66666667%; }
  .col-md-10 { width: 83.33333333%; }
  .col-md-9 { width: 75%; }
  .col-md-8 { width: 66.66666667%; }
  .col-md-7 { width: 58.33333333%; }
  .col-md-6 { width: 50%; }
  .col-md-5 { width: 41.66666667%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-3 { width: 25%; }
  .col-md-2 { width: 16.66666667%; }
  .col-md-1 { width: 8.33333333%; }
}

.th_padding,
.left_padding {
  padding-left: 0;
  padding-right: 0;
}

.th_margintop {
  margin-top: 15px;
}

.oil-price-body {
  background: #f5f5f5;
  min-height: 100vh;
}

.gov-topbar {
  background: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
  height: 36px;
  line-height: 36px;
  font-size: 13px;
  color: #666;
}

.gov-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-left span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar-right a {
  color: #666;
}

.topbar-right a:hover {
  color: #c41230;
}

.gov-header {
  background: #fff;
  border-bottom: 3px solid #c41230;
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-placeholder {
  height: 106px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 70px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #c41230 0%, #8b0d22 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-right: 12px;
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: #c41230;
  letter-spacing: 1px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text span {
  display: block;
  font-size: 11px;
  color: #999;
  font-weight: normal;
  letter-spacing: 0;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.gov-nav {
  display: flex;
  align-items: center;
  height: 70px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}

.gov-nav li {
  position: relative;
  flex-shrink: 0;
}

.gov-nav li a {
  display: block;
  padding: 0 16px;
  height: 70px;
  line-height: 70px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gov-nav li a:hover,
.gov-nav li.act a {
  color: #c41230;
  border-bottom-color: #c41230;
  background: rgba(196, 18, 48, 0.03);
}

.gov-nav li a i {
  margin-left: 5px;
  font-size: 11px;
  transition: transform 0.2s ease;
}

.gov-nav li:hover > a i {
  transform: rotate(180deg);
}

.gov-subnav {
  position: absolute;
  top: 70px;
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: 2px solid #c41230;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  display: none;
  z-index: 100;
}

.gov-nav li:hover .gov-subnav {
  display: block;
}

.gov-subnav li a {
  height: 40px;
  line-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  border-bottom: none;
  margin-bottom: 0;
}

.gov-subnav li a:hover {
  background: #fafafa;
  color: #c41230;
}

.header-search {
  flex-shrink: 0;
}

.gov-search {
  display: flex;
  align-items: center;
  position: relative;
}

.gov-search form {
  display: flex;
  align-items: center;
}

.search-input {
  width: 180px;
  height: 36px;
  padding: 0 40px 0 15px;
  border: 1px solid #ddd;
  border-radius: 18px;
  font-size: 13px;
  color: #333;
  background: #fff;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #c41230;
  width: 220px;
  box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.1);
}

.search-input::placeholder {
  color: #aaa;
}

.search-btn {
  position: absolute;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.search-btn:hover {
  color: #c41230;
  background: rgba(196, 18, 48, 0.05);
}

.search-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
}

.search-suggest .suggest-item {
  display: block;
  padding: 10px 15px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.search-suggest .suggest-item:last-child {
  border-bottom: none;
}

.search-suggest .suggest-item:hover {
  background: #fafafa;
  color: #c41230;
}

.search-suggest .suggest-item i {
  color: #c41230;
  margin-right: 8px;
}

.search-suggest .suggest-empty {
  padding: 15px;
  text-align: center;
  color: #999;
  font-size: 13px;
}

.gov-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  font-size: 13px;
  color: #666;
}

.gov-breadcrumb a {
  color: #666;
}

.gov-breadcrumb a:hover {
  color: #c41230;
}

.gov-breadcrumb span {
  margin: 0 8px;
  color: #999;
}

.gov-banner {
  background: linear-gradient(135deg, #c41230 0%, #8b0d22 100%);
  padding: 50px 0;
  text-align: center;
  color: #fff;
}

.banner-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.banner-subtitle {
  font-size: 15px;
  opacity: 0.9;
}

.gov-stats {
  margin-top: -25px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.gov-stat-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 25px 20px;
  text-align: center;
}

.gov-stat-card .stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.gov-stat-card .stat-icon.red { color: #c41230; }
.gov-stat-card .stat-icon.green { color: #2e8b57; }
.gov-stat-card .stat-icon.blue { color: #1e4e8c; }
.gov-stat-card .stat-icon.orange { color: #d35400; }

.gov-stat-card .stat-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.gov-stat-card .stat-value {
  font-size: 36px;
  font-weight: bold;
  font-family: "Arial Black", "Microsoft YaHei", sans-serif;
}

.gov-stat-card .stat-value.red { color: #c41230; }
.gov-stat-card .stat-value.green { color: #2e8b57; }
.gov-stat-card .stat-value.blue { color: #1e4e8c; }
.gov-stat-card .stat-value.orange { color: #d35400; }

.gov-stat-card .stat-region {
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}

.gov-section {
  padding: 25px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #c41230;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: #c41230;
  margin-right: 12px;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #c41230;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.refresh-btn:hover {
  background: #a30f28;
}

.status-text {
  font-size: 13px;
  color: #666;
}

.status-text .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2e8b57;
  border-radius: 50%;
  margin-right: 6px;
}

.gov-table-wrapper {
  background: #fff;
  border: 1px solid #e5e5e5;
}

.gov-table {
  width: 100%;
  border-collapse: collapse;
}

.gov-table th {
  background: #f8f8f8;
  padding: 14px 15px;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #c41230;
}

.gov-table td {
  padding: 14px 15px;
  border-bottom: 1px solid #eee;
}

.gov-table tbody tr:hover {
  background: #fafafa;
}

.gov-table tbody tr:last-child td {
  border-bottom: none;
}

.region-name {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.region-name i {
  color: #c41230;
  margin-right: 8px;
  font-size: 14px;
}

.price-value {
  font-family: "Arial", sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.price-value.up { color: #c41230; }
.price-value.down { color: #2e8b57; }
.price-value.normal { color: #333; }

.action-link {
  color: #1e4e8c;
  font-size: 14px;
}

.action-link:hover {
  color: #c41230;
  text-decoration: underline;
}

.gov-chart-wrapper {
  background: #fff;
  border: 1px solid #e5e5e5;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 20px 15px;
  border-bottom: 2px solid #c41230;
  background: #fafafa;
}

.chart-title-group {
  flex-shrink: 0;
}

.chart-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.chart-subtitle {
  font-size: 12px;
  color: #999;
  margin: 5px 0 0;
}

.chart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.chart-type-group,
.chart-range-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chart-label {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

.chart-type-btns {
  display: flex;
  gap: 0;
}

.type-btn {
  padding: 6px 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  margin-left: -1px;
}

.type-btn:first-child {
  margin-left: 0;
}

.type-btn:hover {
  background: #f5f5f5;
}

.type-btn.active {
  background: #c41230;
  border-color: #c41230;
  color: #fff;
}

.chart-tabs {
  display: flex;
  gap: 0;
}

.chart-tab {
  padding: 6px 16px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  margin-left: -1px;
}

.chart-tab:first-child {
  margin-left: 0;
}

.chart-tab:hover,
.chart-tab.active {
  background: #1e4e8c;
  border-color: #1e4e8c;
  color: #fff;
}

.chart-body {
  padding: 20px;
}

.chart-stats {
  display: flex;
  gap: 30px;
  padding: 15px 20px;
  background: #f8f8f8;
  border: 1px solid #eee;
  margin-bottom: 20px;
}

.chart-stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chart-stat-item .stat-label {
  font-size: 12px;
  color: #999;
}

.chart-stat-item .stat-value {
  font-size: 20px;
  font-weight: bold;
  font-family: "Arial", sans-serif;
}

.chart-stat-item .stat-value.high {
  color: #c41230;
}

.chart-stat-item .stat-value.low {
  color: #2e8b57;
}

.chart-stat-item .stat-value.avg {
  color: #1e4e8c;
}

.chart-stat-item .stat-value.up {
  color: #c41230;
}

.chart-stat-item .stat-value.down {
  color: #2e8b57;
}

.chart-container {
  height: 350px;
  position: relative;
}

.gov-footer {
  background: #333;
  color: #999;
  padding: 30px 0;
  margin-top: 30px;
  text-align: center;
}

.footer-links {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #444;
  text-align: left;
}

.footer-links .links-title {
  color: #ccc;
  font-size: 14px;
  margin-right: 10px;
}

.footer-links .links-list {
  display: inline;
}

.footer-links .links-list a {
  color: #999;
  font-size: 13px;
  margin: 0 8px;
}

.footer-links .links-list a:hover {
  color: #fff;
}

.footer-text {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-small {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.footer-beian {
  font-size: 12px;
  color: #666;
}

.footer-beian a {
  color: #888;
}

.footer-beian a:hover {
  color: #fff;
}

.gov-footer a {
  color: #ccc;
}

.gov-footer a:hover {
  color: #fff;
}

.footer-sitemap {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #444;
}

.sitemap-title {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 500;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  text-align: left;
}

.sitemap-section-title {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 8px;
  font-weight: 500;
}

.sitemap-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sitemap-links a {
  color: #888;
  font-size: 12px;
  transition: color 0.2s;
}

.sitemap-links a:hover {
  color: #fff;
}

.thgotop {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 99;
}

.thgotop ul li {
  width: 44px;
  height: 44px;
  background: #c41230;
  margin-top: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thgotop ul li:hover {
  background: #a30f28;
}

.thgotop ul li i {
  color: #fff;
  font-size: 18px;
}

@media (max-width: 768px) {
  .gov-topbar {
    display: none;
  }
  
  .gov-header {
    top: 0;
    height: 60px;
  }
  
  .header-placeholder {
    height: 60px;
  }
  
  .header-inner {
    position: relative;
    padding: 0 15px;
  }
  
  .header-logo {
    width: 100%;
  }
  
  .logo-link {
    height: 60px;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .logo-text {
    font-size: 18px;
  }
  
  .logo-text span {
    display: none;
  }
  
  .header-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }
  
  .header-nav.active {
    display: block;
  }
  
  .gov-nav {
    flex-direction: column;
    height: auto;
  }
  
  .gov-nav li a {
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
  }
  
  .gov-subnav {
    position: static;
    border: none;
    border-top: none;
    padding: 0;
    background: #f9f9f9;
  }
  
  .gov-subnav li a {
    padding-left: 40px;
  }
  
  .header-search {
    display: none;
  }
  
  .header-search.active {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    border-top: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .banner-title {
    font-size: 24px;
  }
  
  .banner-subtitle {
    font-size: 13px;
  }
  
  .gov-stat-card {
    padding: 20px 15px;
  }
  
  .gov-stat-card .stat-value {
    font-size: 28px;
  }
  
  .gov-table th,
  .gov-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .wap_display {
    display: none !important;
  }
  
  .wap_headerclick {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #333;
  }
  
  .wap_headerclick .fa-times {
    display: none;
  }
  
  .wap_headerclick.active .fa-bars {
    display: none;
  }
  
  .wap_headerclick.active .fa-times {
    display: block;
  }
  
  .chart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .chart-controls {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .chart-type-group,
  .chart-range-group {
    width: 100%;
  }
  
  .chart-type-btns,
  .chart-tabs {
    width: 100%;
  }
  
  .type-btn,
  .chart-tab {
    flex: 1;
    text-align: center;
  }
  
  .chart-stats {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .chart-stat-item {
    flex: 1;
    min-width: 80px;
  }
  
  .chart-container {
    height: 280px;
  }
  
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .sitemap-section {
    margin-bottom: 10px;
  }
}

.gov-banner-small {
  background: linear-gradient(135deg, #c41230 0%, #8b0d22 100%);
  padding: 30px 0;
  color: #fff;
}

.gov-banner-small .banner-content {
  text-align: center;
}

.gov-banner-small .banner-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.gov-banner-small .banner-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.city-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 15px 20px;
}

.filter-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 6px 16px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: #c41230;
  color: #c41230;
}

.filter-tab.active {
  background: #c41230;
  border-color: #c41230;
  color: #fff;
}

.filter-right {
  flex-shrink: 0;
}

.city-search {
  display: flex;
  align-items: center;
  position: relative;
}

.city-search .search-input {
  width: 200px;
  height: 36px;
  padding: 0 40px 0 15px;
  border: 1px solid #ddd;
  font-size: 13px;
  color: #333;
  background: #fff;
}

.city-search .search-input:focus {
  outline: none;
  border-color: #c41230;
}

.city-search .search-btn {
  position: absolute;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
}

.city-search .search-btn:hover {
  color: #c41230;
}

.city-stats-bar {
  display: flex;
  gap: 30px;
  padding: 15px 20px;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
}

.city-stats-bar .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

.city-stats-bar .stat-item i {
  color: #c41230;
}

.city-stats-bar .stat-item strong {
  color: #333;
}

.city-list-wrapper {
  background: #fff;
  border: 1px solid #e5e5e5;
  position: relative;
  min-height: 400px;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-size: 13px;
  color: #666;
}

.sort-select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #ddd;
  font-size: 13px;
  color: #333;
  background: #fff;
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  border-color: #c41230;
}

.province-group {
  border-bottom: 1px solid #eee;
}

.province-group:last-child {
  border-bottom: none;
}

.province-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.province-name {
  font-size: 15px;
  font-weight: bold;
  color: #333;
}

.province-name i {
  color: #c41230;
  margin-right: 8px;
}

.province-header .city-count {
  font-size: 12px;
  color: #999;
}

.province-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: #eee;
}

.city-card {
  background: #fff;
  padding: 15px 20px;
  transition: all 0.2s ease;
  width: calc(25% - 1px);
  flex-shrink: 0;
}

.city-card:hover {
  background: #fafafa;
}

.city-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.city-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.city-abbr {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #c41230;
  color: #fff;
  font-size: 12px;
}

.city-prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.city-prices .price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: #f8f8f8;
}

.city-prices .price-label {
  font-size: 12px;
  color: #666;
}

.city-prices .price-value {
  font-size: 14px;
  font-weight: bold;
  color: #c41230;
}

.city-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 13px;
  color: #1e4e8c;
}

.city-link:hover {
  color: #c41230;
}

.city-link i {
  margin-left: 5px;
}

.loading-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 10;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top-color: #c41230;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.city-hot-section {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 20px;
}

.hot-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.hot-city-card {
  border: 1px solid #e5e5e5;
  padding: 15px;
  transition: all 0.2s ease;
}

.hot-city-card:hover {
  border-color: #c41230;
  box-shadow: 0 2px 8px rgba(196, 18, 48, 0.1);
}

.hot-city-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.hot-city-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.hot-city-province {
  font-size: 12px;
  color: #999;
}

.hot-city-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.hot-city-price .price-label {
  font-size: 13px;
  color: #666;
}

.hot-city-price .price-num {
  font-size: 16px;
  font-weight: bold;
  color: #c41230;
}

.hot-city-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #1e4e8c;
}

.hot-city-link:hover {
  color: #c41230;
}

.hot-city-link i {
  margin-left: 5px;
}

@media (max-width: 768px) {
  .city-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-left {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-tabs {
    width: 100%;
  }
  
  .filter-tab {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .filter-right {
    width: 100%;
  }
  
  .city-search .search-input {
    width: 100%;
  }
  
  .city-stats-bar {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .province-cities {
    flex-direction: column;
  }
  
  .city-card {
    width: 100% !important;
  }
  
  .hot-cities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) and (min-width: 993px) {
  .city-card {
    width: calc(33.33% - 1px) !important;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .city-card {
    width: calc(50% - 1px) !important;
  }
}

@media (min-width: 1201px) {
  .city-card {
    width: calc(25% - 1px) !important;
  }
}

.gov-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  font-size: 13px;
  color: #666;
}

.gov-breadcrumb a {
  color: #666;
}

.gov-breadcrumb a:hover {
  color: #c41230;
}

.gov-breadcrumb span {
  margin: 0 8px;
  color: #999;
}

.city-detail-header {
  background: linear-gradient(135deg, #c41230 0%, #8b0d22 100%);
  padding: 25px 0;
  color: #fff;
}

.city-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.city-main {
  display: flex;
  align-items: center;
  gap: 15px;
}

.city-badge {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.city-info .city-name {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 5px;
}

.city-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.city-meta i {
  margin-right: 5px;
}

.city-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.action-btn i {
  margin-right: 5px;
}

.price-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px;
  width: 100%;
}

.price-cards-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.price-cards-row:last-child {
  margin-bottom: 0;
}

.price-cards-row .price-card {
  flex: 1;
}

.price-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  transition: all 0.2s ease;
}

.price-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: #ddd;
}

.price-card.main {
  border-color: #c41230;
  background: linear-gradient(135deg, #fff 0%, #fef6f6 100%);
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  flex-shrink: 0;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #c41230 0%, #e8194a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}

.card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body .price-main {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-symbol {
  font-size: 20px;
  color: #c41230;
}

.card-body .price-value {
  font-size: 42px;
  font-weight: bold;
  color: #c41230;
  font-family: "Arial", sans-serif;
  line-height: 1;
}

.price-unit {
  font-size: 14px;
  color: #999;
  margin-left: 3px;
}

.price-change {
  text-align: right;
}

.change-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}

.change-value {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: bold;
}

.change-value.up {
  background: #fef6f6;
  color: #c41230;
}

.change-value.down {
  background: #f0fff4;
  color: #2e8b57;
}

.detail-row {
  display: flex;
  gap: 20px;
}

.detail-main {
  flex: 1;
}

.detail-side {
  width: 320px;
  flex-shrink: 0;
}

.gov-chart-wrapper .chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.gov-chart-wrapper .chart-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.gov-chart-wrapper .chart-subtitle {
  font-size: 12px;
  color: #999;
  margin: 3px 0 0;
}

.gov-chart-wrapper .chart-body {
  padding: 20px;
}

.chart-type-group {
  display: flex;
  gap: 0;
}

.chart-type-group .type-btn {
  padding: 6px 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  margin-left: -1px;
}

.chart-type-group .type-btn:first-child {
  margin-left: 0;
}

.chart-type-group .type-btn:hover {
  background: #f5f5f5;
}

.chart-type-group .type-btn.active {
  background: #c41230;
  border-color: #c41230;
  color: #fff;
}

.info-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  margin-bottom: 15px;
}

.info-card:last-child {
  margin-bottom: 0;
}

.info-header {
  padding: 12px 15px;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.info-header h3 {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.info-header h3 i {
  color: #c41230;
  margin-right: 8px;
}

.info-body {
  padding: 15px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item.highlight {
  background: #fef6f6;
  margin: 10px -15px -15px;
  padding: 12px 15px;
}

.info-label {
  font-size: 13px;
  color: #666;
}

.info-value {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.info-value.up {
  color: #c41230;
}

.info-value.down {
  color: #2e8b57;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-item label {
  font-size: 12px;
  color: #666;
}

.calc-select,
.calc-input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  font-size: 13px;
  color: #333;
}

.calc-select:focus,
.calc-input:focus {
  outline: none;
  border-color: #c41230;
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8f8f8;
  margin-top: 5px;
}

.result-label {
  font-size: 13px;
  color: #666;
}

.result-value {
  font-size: 20px;
  font-weight: bold;
  color: #c41230;
}

.compare-table-wrapper,
.history-table-wrapper {
  padding: 0 20px 20px;
}

.table-notice {
  text-align: center;
  color: #999;
  font-size: 12px;
  padding: 10px 0 0;
  margin: 0;
}

.compare-table,
.history-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.history-table th {
  background: #f8f8f8;
  padding: 12px 15px;
  text-align: left;
  font-size: 13px;
  color: #333;
  border-bottom: 2px solid #c41230;
}

.compare-table td,
.history-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.compare-table tbody tr:hover,
.history-table tbody tr:hover {
  background: #fafafa;
}

.compare-table .city-name {
  font-weight: 500;
}

.compare-table .price {
  color: #c41230;
  font-weight: 500;
}

.action-link {
  color: #1e4e8c;
}

.action-link:hover {
  color: #c41230;
}

.adjust-type {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
}

.adjust-type.up {
  background: #fef6f6;
  color: #c41230;
}

.adjust-type.down {
  background: #f0fff4;
  color: #2e8b57;
}

.history-table td.up {
  color: #c41230;
}

.history-table td.down {
  color: #2e8b57;
}

@media (max-width: 768px) {
  .price-cards-grid {
    grid-template-columns: 1fr !important;
  }
  
  .price-cards-row {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .price-card {
    padding: 20px 25px;
  }
  
  .card-body .price-value {
    font-size: 36px;
  }
  
  .detail-row {
    flex-direction: column;
  }
  
  .detail-side {
    width: 100%;
  }
  
  .city-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .city-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .price-card {
    padding: 15px 20px;
    gap: 15px;
  }
  
  .card-header {
    width: 60px;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .card-body .price-value {
    font-size: 28px;
  }
  
  .price-symbol {
    font-size: 16px;
  }
  
  .card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .price-change {
    text-align: left;
    width: 100%;
  }
  
  .gov-chart-wrapper .chart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .chart-type-group {
    width: 100%;
  }
  
  .chart-type-group .type-btn {
    flex: 1;
    text-align: center;
  }
  
  .compare-table-wrapper,
  .history-table-wrapper {
    overflow-x: auto;
    padding: 0 15px 15px;
  }
  
  .compare-table,
  .history-table {
    min-width: 600px;
  }
}

@media (min-width: 769px) {
  .wap_headerclick {
    display: none;
  }
}
