/* ==================== 平台指标组件 ==================== */
#platform-metrics-wrapper {
    width: 1229px;
    height: 180px;
    display: flex;
    flex-direction: column;
}

.metrics-title {
    font-size: 18px;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

#platform-metrics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    flex: 1;
    min-height: 0;
}

.metric-card {
    position: relative;
    border-radius: 14px;
    padding: 0 16px;
    /* 让flex控制高度，水平padding保留 */
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all var(--transition-base);
    height: 100%;
    /* 充满网格单元格 */
}

/* 第一个卡片 - 蓝色渐变 */
.metric-card:nth-child(1) {
    background: linear-gradient(135deg, #FFF 32.33%, #F3F9FF 100%);
}

/* 第二个卡片 - 紫色渐变 */
.metric-card:nth-child(2) {
    background: linear-gradient(135deg, #FFF 32.31%, #FBF4FF 100%);
}

/* 第三个卡片 - 橙色渐变 */
.metric-card:nth-child(3) {
    background: linear-gradient(135deg, #FFF 31.67%, #FFFAF8 100%);
}

/* 第四个卡片 - 绿色渐变 */
.metric-card:nth-child(4) {
    background: linear-gradient(135deg, #FFF 31.72%, #F3FFF8 100%);
}

.metric-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 12.501px 18.751px -3.75px rgba(0, 0, 0, 0.10), 0 5px 7.5px -5px rgba(0, 0, 0, 0.10);
}

.metric-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.metric-icon.gradient-blue {
    background: linear-gradient(135deg, #2B7FFF 0%, #00B8DB 100%);
}

.metric-icon.gradient-purple {
    background: linear-gradient(135deg, #AD46FF 0%, #F6339A 100%);
}

.metric-icon.gradient-orange {
    background: linear-gradient(135deg, #FF6900 0%, #FB2C36 100%);
}

.metric-icon.gradient-green {
    background: linear-gradient(135deg, #00C950 0%, #00BC7D 100%);
}

.metric-content {
    flex: 1;
    min-width: 0;
}

.metric-value {
    font-size: 30px;
    font-weight: 700;
    color: #314158;
    line-height: 1.2;
    margin-bottom: 2px;
}

.metric-label {
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== 系统标题组件 ==================== */
#system-title-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #155DFC 0%, #0092B8 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 602px;
    height: 180px;
}

.title-bg-decoration {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px,
            transparent 40px),
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px,
            transparent 40px);
}

.title-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.title-logo {
    max-width: 100%;
    padding: 0 40px;
    height: auto;
}

.title-text {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* ==================== 中国地图组件 ==================== */
#china-map-container {
    position: relative;
    width: 1229px;
    height: 600px;
    padding: 18px;
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.map-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-main-title {
    font-size: 18px;
    color: #6b7280;
    font-weight: 500;
}

.map-legend {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-bar {
    width: 100px;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(to right, #00ccff, #70bf00, #ffa500);
}

.map-time-filter {
    display: flex;
    gap: 8px;
}

.time-filter-btn {
    padding: 6px 16px;
    border-radius: 8px;
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: 13px;
    transition: all var(--transition-base);
}

.time-filter-btn:hover {
    background: #f3f4f6;
    border-color: #62748E;
}

.time-filter-btn.active {
    background: #111827;
    color: white;
    border-color: #111827;
}

.map-content {
    position: relative;
    height: calc(100% - 60px);
}

.map-controls {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 10;
}

.map-reset-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}

.map-reset-btn:hover {
    background: #00172c;
    color: #ffffff;
}

.map-reset-btn svg {
    width: 14px;
    height: 14px;
    display: block;
    /* Eliminate font baseline spacing issues */
}

.map-hint {
    font-size: 12px;
    color: #6b7280;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 180px;
    line-height: 1.4;
}

.map-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-image {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

/* ==================== 最新项目组件 ==================== */
#recent-projects-container {
    display: flex;
    flex-direction: column;
    width: 602px;
    height: 284px;
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.projects-header .card-title {
    margin-bottom: 0;
}

.projects-header-left {
    display: flex;
    align-items: center;
    /* Vertical Center */
    gap: 12px;
}

.projects-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-icon-container svg {
    width: 24px;
    height: 24px;
    color: #155dfc;
    /* Blue for Recent Projects */
}

.btn-view-more {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #155DFC;
    background: none;
    padding: 0;
}

.btn-view-more:hover {
    color: #2563eb;
}

.btn-view-more svg {
    width: 14px;
    height: 14px;
}

#projects-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

#projects-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-item {
    padding: 11px 12px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    transition: all var(--transition-base);
}

.project-item:hover {
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.project-province {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 8px;
    background: #DBEAFE;
    color: #1447E6;
}

.project-type {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 8px;
    color: #6b7280;
}

/* 省内/跨省 类型标识 */
.project-type-cross {
    background: #030213;
    color: #ffffff;
}

.project-type-local {
    background: #ECEEF2;
    color: #6b7280;
}

/* 状态标识基础样式 */
.project-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

/* 评标结束 - 蓝色 (原红色位置互换) */
.project-status-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* 待评标 - 绿色 */
.project-status-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* 评标中 - 橙色 */
.project-status-orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* 未开标 - 红色 (原蓝色位置互换) */
.project-status-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.project-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.project-name {
    font-size: 13px;
    color: #374151;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    padding-right: 13px;
}

.project-time {
    font-size: 12px;
    color: #62748E;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 搜索按钮容器 */
.search-btn-wrapper {
    display: flex !important;
    justify-content: flex-end;
    /* Align bottom in column flex */
    padding-bottom: 2px;
    /* Slight adjustment to align with inputs */
}

.btn-search {
    width: 100%;
    padding: 6px 16px;
    background: var(--color-primary-light);
    /* Use explicit variable */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 36px;
    /* Match input height roughly */
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-reset {
    margin-right: 10px;
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-reset:hover {
    background: #e5e7eb !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
}

/* Radar Chart View */
#province-radar-view {
    display: none;
    width: 100%;
    height: 280px;
}

#province-radar-chart {
    width: 100%;
    height: 100%;
}

/* Project Status Alignment */
.project-header .project-status {
    margin-left: auto;
}

/* ==================== 活跃省份组件 ==================== */
#active-provinces-container {
    display: flex;
    flex-direction: column;
    width: 602px;
    height: 284px;
}

.provinces-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Vertical Center */
    gap: 12px;
    margin-bottom: 12px;
}

.provinces-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.provinces-header .card-title {
    margin-bottom: 0;
}

.provinces-icon-container svg {
    width: 24px;
    height: 24px;
    color: #155dfc;
    /* Blue for Active Provinces */
}

#provinces-list-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

#provinces-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

#provinces-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.province-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    transition: all var(--transition-base);
}

.province-item:hover {
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.province-name {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.province-stats {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.province-count {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
}

.province-unit {
    font-size: 12px;
    color: #62748E;
}

/* ==================== 交易中心组件 ==================== */
.trading-centers-card {
    display: flex;
    flex-direction: column;
    width: 602px;
    height: 400px;
}

.trading-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.trading-title-section {
    display: flex;
    align-items: center;
    /* Vertical Center */
    gap: 12px;
}

/* Ensure all trading icon containers are flex center */
.trading-main-icon-container,
.trading-sub-icon-container,
.trading-seats-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trading-icon-container svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
    /* Default Blue */
}

/* Specific Trading Icon Colors */
.trading-main-icon-container svg {
    color: #3b82f6;
    /* Blue */
    width: 24px;
    height: 24px;
}

.trading-sub-icon-container svg {
    color: #a855f7;
    /* Purple */
    width: 24px;
    height: 24px;
}

.trading-seats-icon-container svg {
    color: #10b981;
    /* Green */
    width: 24px;
    height: 24px;
}

.trading-title {
    font-size: 18px;
    font-weight: 600;
    color: #314158;
}

.trading-tab-label {
    font-size: 18px;
    font-weight: 600;
    color: #314158;
    margin-left: 4px;
}

.centers-scroll-container {
    flex: 1;
    overflow: hidden;
}

.centers-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.center-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(to right, #f9fafb, white);
    border: 1px solid #e5e7eb;
    transition: all var(--transition-base);
}

.center-item:hover {
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.center-info {
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}

.center-name {
    font-size: 14px;
    color: #374151;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.center-province {
    font-size: 12px;
    color: #62748E;
}

.center-count {
    font-size: 20px;
    font-weight: 700;
}

.center-count.blue {
    color: #3b82f6;
}

.center-count.purple {
    color: #a855f7;
}

.center-count.green {
    color: #10b981;
}

/* ==================== Dialog 弹出框 ==================== */
.dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: var(--backdrop-blur);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.dialog-overlay.dialog-visible {
    opacity: 1;
}

.dialog-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.dialog-visible .dialog-content {
    transform: scale(1);
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.dialog-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.dialog-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: none;
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.dialog-close:hover {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
}

.dialog-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.dialog-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 0;
}

.table-scroll-area {
    flex: 1;
    overflow-y: auto;
    position: relative;
    border: 1px solid #eee;
    /* Optional: adds a border around scroll area */
    border-left: none;
    border-right: none;
}

/* 搜索过滤区 */
.filter-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 24px;
    padding: 0 10px;
}

/* 针对只有两个筛选条件的情况（交易中心弹窗），改为两列并左右排布 */
/* 针对只有两个筛选条件的情况（交易中心弹窗），改为3列以容纳按钮 */
#dialog-trading-centers .filter-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 针对项目搜索弹窗，改为5列以容纳按钮 */
#dialog-projects .filter-section {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

#dialog-trading-centers .filter-field {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

#dialog-trading-centers .filter-label {
    white-space: nowrap;
    min-width: fit-content;
    margin-bottom: 0;
}

#dialog-trading-centers .filter-field input,
#dialog-trading-centers .filter-field select {
    flex: 1;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.filter-label {
    font-size: 14px;
    color: #45556C;
    font-weight: normal;
}

.filter-field input,
.filter-field select {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    /* 调整 vertical padding (8px) 可改变高度 */
    height: 48px;
    /* 或者直接设置固定高度 */
    border-radius: 0;
    font-size: 14px;
    color: #BEBEBE;
    background: transparent;
}

.filter-field input:focus,
.filter-field select:focus {
    box-shadow: none;
    border-color: var(--color-primary-light);
}

/* Specific placeholder style for project name to match other inputs */
#search-project-name::placeholder {
    color: #BEBEBE;
    opacity: 1;
    /* Firefox sets opacity to lower value by default */
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
}

.table-header {
    background: #f9f9f9;
}

.table-header-cell {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f9f9f9;
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.table-cell {
    padding: 16px 20px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.data-table tbody tr:hover {
    background: #f0f7ff;
}

/* 表格列宽控制 (总和 100%) */
.col-province {
    width: 8%;
}

.col-status {
    width: 8%;
}

.col-name {
    width: 25%;
}

.col-code {
    width: 12%;
}

.col-section {
    width: 15%;
}

.col-sec-code {
    width: 8%;
}

.col-time {
    width: 12%;
}

.col-eval-time {
    width: 12%;
}

/* 省份标签 */
.province-badge {
    color: #409eff;
    background: #ecf5ff;
    border: 1px solid #d9ecff;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    display: inline-block;
    white-space: nowrap;
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: 30px;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-size: 0.875rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--color-bg-secondary);
    border-color: var(--color-primary-light);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.pagination-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.pagination-input {
    width: 60px;
    padding: 0.5rem 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.875rem;
    /* Remove default numbering arrows */
    -moz-appearance: textfield;
    appearance: textfield;
}

.pagination-input::-webkit-outer-spin-button,
.pagination-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ==================== 已覆盖省份弹窗 ==================== */
.cp-page-container {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.cp-column-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cp-column-header {
    height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.cp-header-covered {
    background-color: #faf5ff;
    border-color: #f3e8ff;
}

.cp-header-uncovered {
    background-color: #f8fafc;
    border-color: #f1f5f9;
}

.cp-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
}

/* 通用弹窗标题样式 */
.dialog-title-custom {
    font-size: 18px;
    font-weight: 600;
    color: #1d293d;
    margin: 0;
    display: flex;
    align-items: center;
}

.cp-header-covered .cp-title {
    color: #8b5cf6;
}

.cp-header-uncovered .cp-title {
    color: #314158;
}

.cp-badge {
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cp-badge-covered {
    background-color: #e9d4ff;
    color: #581c87;
}

.cp-badge-uncovered {
    background-color: #e2e8f0;
    color: #475569;
}

.cp-province-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cp-province-item {
    height: 40px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #f1f5f9;
}

.cp-item-covered {
    background-color: #fff;
    color: #314158;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cp-item-uncovered {
    background-color: #f8fafc;
    color: #62748e;
    opacity: 0.6;
}

/* 覆盖省份 ✓ 图标 */
.cp-icon-check {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9'%3E%3Cpath fill='%2300c950' fill-rule='evenodd' d='M5.37402 3.35254c0.15789-0.15789 0.41438-0.15789 0.57227 0 0.15789 0.15789 0.15789 0.41438 0 0.57226l-1.61719 1.61719c-0.15789 0.15789-0.41438 0.15789-0.57226 0l-0.8086-0.80859c-0.15789-0.15789-0.15789-0.41438 0-0.57227 0.15789-0.15789 0.41438-0.15789 0.57227 0l0.52246 0.52246 1.33105-1.33105z m-0.92675-3.35254c2.45616 0 4.44727 1.99111 4.44726 4.44727 0 2.45616-1.99111 4.44727-4.44726 4.44726-2.45616 0-4.44727-1.99111-4.44727-4.44726 0-2.45616 1.99111-4.44727 4.44727-4.44727z m0 0.80859c-2.00958 0-3.63867 1.62909-3.63868 3.63868 0 2.00958 1.62909 3.63867 3.63868 3.63867 2.00958 0 3.63867-1.62909 3.63867-3.63867 0-2.00958-1.62909-3.63867-3.63867-3.63868z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* 未覆盖省份 ✕ 图标 */
.cp-icon-close {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2390a1b9' d='M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ==================== 已覆盖省份弹窗高度修正 ==================== */
#dialog-covered-provinces .dialog-content-wrapper {
    height: auto;
    min-height: 300px;
}

/* ==================== 已对接省份明细弹窗 ==================== */
#dialog-connected-provinces .dialog-content-wrapper {
    height: auto;
    min-height: 300px;
}

.cnp-page-container {
    width: 100%;
}

.cnp-section-header {
    height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    background-color: #f5f9ff;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.cnp-title {
    font-weight: 500;
    font-size: 15px;
    color: #1447E6;
}

.cnp-badge {
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: bold;
    background-color: #dbeafe;
    color: #1e40af;
}

.cnp-province-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cnp-province-item {
    height: 40px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #f1f5f9;
    color: #314158;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.cnp-icon-check {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9'%3E%3Cpath fill='%2300c950' fill-rule='evenodd' d='M5.37402 3.35254c0.15789-0.15789 0.41438-0.15789 0.57227 0 0.15789 0.15789 0.15789 0.41438 0 0.57226l-1.61719 1.61719c-0.15789 0.15789-0.41438 0.15789-0.57226 0l-0.8086-0.80859c-0.15789-0.15789-0.15789-0.41438 0-0.57227 0.15789-0.15789 0.41438-0.15789 0.57227 0l0.52246 0.52246 1.33105-1.33105z m-0.92675-3.35254c2.45616 0 4.44727 1.99111 4.44726 4.44727 0 2.45616-1.99111 4.44727-4.44726 4.44726-2.45616 0-4.44727-1.99111-4.44727-4.44726 0-2.45616 1.99111-4.44727 4.44727-4.44727z m0 0.80859c-2.00958 0-3.63867 1.62909-3.63868 3.63868 0 2.00958 1.62909 3.63867 3.63868 3.63867 2.00958 0 3.63867-1.62909 3.63867-3.63867 0-2.00958-1.62909-3.63867-3.63867-3.63868z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ==================== 当年运行项目数弹窗 ==================== */
#dialog-running-projects .dialog-content-wrapper {
    width: 500px;
    height: auto;
    min-height: 200px;
}

.rp-data-table {
    width: 100%;
}

.rp-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 36px;
    background-color: #f8fafc;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #62748e;
    box-sizing: border-box;
}

.rp-table-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rp-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.rp-col-year {
    color: #314158;
    font-size: 14px;
    display: flex;
    align-items: center;
    line-height: 1.71;
}

.rp-table-header .rp-col-year,
.rp-table-header .rp-col-count {
    color: #62748e;
    font-weight: normal;
}

.rp-col-count {
    font-size: 14px;
    width: 80px;
    text-align: center;
    line-height: 1.71;
}

.rp-value {
    font-weight: 700;
    color: #1d293d;
}

.rp-icon-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff6900;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

/* ==================== 省份切换Tab样式 ==================== */
.province-tabs {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.province-tab {
    cursor: pointer;
    margin-right: 15px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 4px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.province-tab.active {
    color: #1447E6;
}

/* 线性箭头指示器 */
.province-tab.active::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -6px;
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231447E6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5 L5 1 L9 5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}