@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

.hover {
    background: #007ab8;
    color: #fff;
}


.button_search {
    background-color: #47a;
    font-weight: bold;
    color: #fff;
    margin: 0 .2em;
    font-size: 14px;
    border: 0 none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 5px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

form {
    border: 0;
    padding: 0;
}

table th {
    font-size: 13px;
    padding: 6px 4px;
    font-weight: bold;
}

table td {
    font-size: 13px;
    padding: 4px;
}

.display {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.display tbody td:nth-child(2) {
    width: 18%;
    max-width: 22%;
    white-space: normal;
    word-wrap: break-word;
}

.display tbody td:nth-child(7) {
    max-width: 28%;
    white-space: normal;
    word-wrap: break-word;
}

table td a {
    color: #4c9ac9;
    cursor: pointer;
    text-decoration: none;
}

table td a:hover {
    color: #4c9889;
    text-decoration: underline;
}

.warning {
    background-color: #c7ddef;
    cursor: pointer;
}

.module {
    background: #fff;
    border-radius: 6px;
    padding: 0;
    line-height: 1.4;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.mod_title {
    display: block;
    cursor: pointer;
    border: 1px solid #97b0c8;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 14px;
    background: #f5f7fa;
}

.mod_title a {
    color: #14376c;
    text-decoration: none;
}

.crop-selector-container {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    width: 100%;
    margin: 8px 0;
}

.crop-selector-container select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.crop-info {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.legend {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    font-size: 12px;
    margin: 8px 0;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 4px 0;
}

.legend-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #c00;
}

.legend-color {
    width: 20px;
    height: 12px;
    margin-right: 8px;
    border-radius: 2px;
}

.legend-algin {
    width: 50px;
}

.charts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding: 0 5px;
}

.chart {
    flex: 0 0 100%;
    min-width: 280px;
    min-height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 8px;
}

/* =============================
   搜索模块
============================= */
.search-wrapper {
    background-color: #fff;
    padding-bottom: 2px;
    text-align: center;
}

.search-container {
    text-align: center;
    padding-top: 30px;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

.search-label {
    padding-right: 15px;
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.search-input {
    width: 36vw;
    height: 38px;
    max-width: 600px;
    padding: 0 14px;
    border: 2px solid #2c5aa0;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    background-color: #fafbfc;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #1a4b8c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(44,90,160,0.15);
}

.search-button {
    font-size: 18px;
    max-width: 200px;
    margin-left: 8px;
}

.example-box {
    padding: 8px 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.example-title {
    font-size: 15px;
    color: #666;
}

.example-item {
    padding-left: 8px;
    font-size: 14px;
    color: #e65555;
    cursor: pointer;
    transition: color 0.2s;
}

.example-item:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* =============================
   Header
============================= */
.page-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e6e7;
    padding: 12px 15px;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
}

.header-title .en {
    font-size: 19px;
    font-weight: bold;
    color: #0d4587;
    margin: 0;
}

.header-logo{
    height: 56px;
}
.header-logo2{
    height: 60px;
}
.header-title .cn {
    font-size: 15px;
    color: #2c5aa0;
    font-weight: 500;
    letter-spacing: 1.2px;
    margin: 4px 0 0;
    padding: 2px 8px;
    border-left: 3px solid #2c5aa0;
    border-right: 3px solid #2c5aa0;
    display: inline-block;
    align-self: center;
}

/* =============================
   Footer
============================= */
.footer {
    width: 100%;
    background-color: #f5f7fa;
    border-top: 1px solid #dce2e8;
    padding: 20px 15px;
    margin-top: 30px;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
    color: #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.footer h4 {
    font-size: 15px;
    font-weight: bold;
    color: #14376c;
    margin: 0 0 6px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 700px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-item i {
    font-size: 15px;
    color: #007bff;
}

.footer-item a {
    color: #007bff;
    text-decoration: none;
}

.footer-copyright {
    max-width: 1200px;
    margin: 12px auto 0;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.map-section {
  position: relative;
  width: 100% !important;
  height: auto !important;
  min-height: 300px;
  padding: 20px 0;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: block !important;
}

.map-section img,
.map-section svg,
.map-section canvas,
.map-section #map,
.map-section {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border: none !important;
  outline: none !important;
}
.map-container{
    height: 600px;
}
/* 平板适配 */
@media (max-width: 992px) {
  .map-section {
    min-height: 500px;
    padding: 15px 0;
  }
    .map-container {
        height: 480px;
    }
}

/* 手机适配 */
@media (max-width: 768px) {
  .map-section {
    min-height: 480px;
    padding: 10px;
  }
        .map-container {
        height: 460px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .map-section {
    min-height: 460px;
    padding: 8px 5px;
  }
  .map-container {
        height: 440px;
  }
}

/* =============================================
   统一合并响应式（仅保留 600/768/992/1024）
============================================= */

/* 小平板 / 大屏手机 (≥600px) */
@media (min-width: 600px) {
    .chart {
        flex: 0 0 48%;
        min-height: 350px;
    }
}

/* 平板 (≤768px) */
@media (max-width: 768px) {
    table th, table td {
        font-size: 12px;
        padding: 3px;
    }
    .display {
        width: 100% !important;
    }
    .charts-container {
        flex-direction: column;
        align-items: center;
    }
    .chart {
        flex: 0 0 100%;
        width: 100%;
        min-height: 320px;
        margin-bottom: 10px;
    }
    .mod_title {
        font-size: 13px;
        padding: 8px 10px;
    }
    .footer {
        padding: 20px 10px;
    }
    .footer-contact-row {
        flex-direction: column;
        gap: 8px;
    }
    .header-logo {
        height: 40px;
    }
    .header-logo2 {
        height: 44px;
    }
    .header-title .en {
        font-size: 16px;
    }
    .header-title .cn {
        font-size: 14px;
    }
    .search-container {
        width: 95%;
        padding-top: 20px;
    }
    .search-label {
        display: block;
        padding-right: 0;
        margin-bottom: 10px;
        font-size: 18px;
    }
    .search-input {
        width: 90%;
        margin-bottom: 10px;
    }
}

/* 小屏电脑 / 大平板 (≤992px) */
@media (max-width: 992px) {
    .charts-container {
        justify-content: center;
    }
    .chart {
        flex: 0 0 48%;
        min-height: 350px;
    }
    .footer-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* PC 电脑 (≥1024px) */
@media (min-width: 1024px) {
    .chart {
        flex: 0 0 32%;
        min-height: 380px;
    }
    .module {
        min-width: auto;
    }
    /* 🔥 大屏表格强制 100% 宽度展示 */
    .display {
        width: 100% !important;
    }
}