/* 国际业务看板样式 - 深蓝绿色主题 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 50%, #0f4c75 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 顶部标题栏 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(50, 130, 184, 0.3);
}

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

.logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #bfdbfe;
}

.header-center {
    text-align: center;
}

.header-center h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #3282b8, #0f4c75);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(50, 130, 184, 0.5);
}

.subtitle {
    font-size: 14px;
    color: #93c5fd;
    letter-spacing: 2px;
}

.header-right {
    text-align: right;
}

.datetime {
    font-size: 16px;
    color: #bfdbfe;
    margin-bottom: 5px;
}

.business-status {
    font-size: 14px;
    color: #93c5fd;
}

.status-excellent {
    color: #10b981;
    font-weight: 600;
}

/* 主要内容区域 */
.main-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1920px;
    margin: 0 auto;
}

/* 行布局 */
.row-1, .row-2, .row-3, .row-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 面板样式 */
.panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(50, 130, 184, 0.2);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(50, 130, 184, 0.4);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(50, 130, 184, 0.2);
    border-bottom: 1px solid rgba(50, 130, 184, 0.3);
}

.panel-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.panel-content {
    padding: 25px;
}

/* 标签页 */
.panel-tabs {
    display: flex;
    gap: 10px;
}

.tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tab.active, .tab:hover {
    background: rgba(50, 130, 184, 0.6);
    color: #ffffff;
}

/* 控制按钮 */
.distribution-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.control-btn.active, .control-btn:hover {
    background: rgba(50, 130, 184, 0.6);
}

/* 业务总览 */
.business-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-circle {
    position: relative;
    width: 150px;
    height: 150px;
}

.circle-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#3282b8 0deg, #3282b8 333deg, rgba(255,255,255,0.2) 333deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-inner {
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.circle-value {
    font-size: 24px;
    font-weight: 700;
    color: #3282b8;
    margin-bottom: 5px;
}

.circle-label {
    font-size: 12px;
    color: #93c5fd;
}

.business-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 1;
}

.number-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.number-label {
    font-size: 14px;
    color: #93c5fd;
    margin-bottom: 8px;
}

.number-value {
    font-size: 24px;
    font-weight: 700;
    color: #3282b8;
}

/* 业务分类 */
.business-categories {
    display: flex;
    gap: 20px;
}

.category-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.category-icon {
    font-size: 32px;
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 5px;
}

.category-count {
    font-size: 14px;
    color: #93c5fd;
}

.category-growth {
    font-size: 18px;
    font-weight: 600;
    color: #10b981;
}

/* 全球分布 */
.global-map {
    display: flex;
    gap: 30px;
    align-items: center;
}

.map-container {
    flex: 1;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.region-stats {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.region-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.region-flag {
    font-size: 24px;
}

.region-info {
    flex: 1;
}

.region-name {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
}

.region-value {
    font-size: 16px;
    font-weight: 600;
    color: #3282b8;
}

.region-percent {
    font-size: 14px;
    color: #10b981;
}

/* 贸易合规 */
.compliance-overview {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.compliance-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.compliance-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #93c5fd;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #3282b8;
    margin-bottom: 5px;
}

.stat-trend {
    font-size: 12px;
}

.stat-trend.up {
    color: #10b981;
}

.stat-trend.down {
    color: #ef4444;
}

.compliance-items h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
}

.compliance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.item-name {
    min-width: 100px;
    font-size: 14px;
    color: #ffffff;
}

.item-status {
    font-size: 16px;
}

.item-status.completed {
    color: #10b981;
}

.item-status.processing {
    color: #f59e0b;
}

.item-progress {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3282b8, #0f4c75);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.item-count {
    font-size: 12px;
    color: #93c5fd;
    min-width: 80px;
    text-align: right;
}

/* 物流监控 */
.logistics-overview {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.transport-modes {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.mode-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
    flex: 1;
}

.mode-icon {
    font-size: 32px;
}

.mode-info {
    text-align: center;
}

.mode-name {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
}

.mode-count {
    font-size: 16px;
    font-weight: 600;
    color: #3282b8;
    margin-bottom: 5px;
}

.mode-percent {
    font-size: 12px;
    color: #93c5fd;
}

.shipment-tracking h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
}

.tracking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tracking-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.shipment-id {
    min-width: 100px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.shipment-route {
    min-width: 120px;
    font-size: 14px;
    color: #93c5fd;
}

.shipment-status {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.status-progress {
    height: 100%;
    background: linear-gradient(90deg, #3282b8, #0f4c75);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.status-text {
    font-size: 12px;
    color: #3282b8;
    min-width: 35px;
}

.shipment-eta {
    font-size: 12px;
    color: #10b981;
    min-width: 60px;
    text-align: right;
}

/* 海外仓储 */
.warehouse-overview {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.warehouse-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.warehouse-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
    flex: 1;
}

.stat-unit {
    font-size: 12px;
    color: #93c5fd;
}

.warehouse-regions h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
}

.region-warehouses {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.warehouse-region {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
    padding: 15px;
}

.region-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(50, 130, 184, 0.2);
}

.region-name {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}

.region-count {
    font-size: 14px;
    color: #93c5fd;
}

.warehouse-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.warehouse-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.warehouse-name {
    min-width: 120px;
    font-size: 14px;
    color: #ffffff;
}

.warehouse-capacity {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.capacity-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, #3282b8, #0f4c75);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.capacity-text {
    font-size: 12px;
    color: #3282b8;
    min-width: 35px;
}

/* 汇率监控 */
.exchange-overview {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.exchange-rates {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.rate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
    text-align: center;
}

.currency-pair {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
}

.current-rate {
    font-size: 24px;
    font-weight: 700;
    color: #3282b8;
    margin-bottom: 8px;
}

.rate-change {
    font-size: 14px;
    margin-bottom: 5px;
}

.rate-change.up, .change-percent.up {
    color: #10b981;
}

.rate-change.down, .change-percent.down {
    color: #ef4444;
}

.change-percent {
    font-size: 12px;
}

.exchange-chart {
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

/* 风险管控 */
.risk-overview {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.risk-level {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.risk-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.indicator-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.risk-indicator.low .indicator-circle {
    background: #10b981;
}

.risk-indicator.medium .indicator-circle {
    background: #f59e0b;
}

.risk-indicator.high .indicator-circle {
    background: #ef4444;
}

.risk-text {
    text-align: left;
}

.risk-status {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
}

.risk-score {
    font-size: 14px;
    color: #93c5fd;
}

.risk-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.risk-category {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.category-name {
    min-width: 80px;
    font-size: 14px;
    color: #ffffff;
}

.risk-meter {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meter-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.meter-fill.low {
    background: #10b981;
}

.meter-fill.medium {
    background: #f59e0b;
}

.meter-fill.high {
    background: #ef4444;
}

.meter-value {
    font-size: 14px;
    color: #3282b8;
    min-width: 30px;
    text-align: right;
}

/* 业绩分析 */
.performance-overview {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.performance-kpis {
    display: flex;
    gap: 20px;
}

.kpi-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

.kpi-icon {
    font-size: 32px;
}

.kpi-info {
    flex: 1;
}

.kpi-label {
    font-size: 14px;
    color: #93c5fd;
    margin-bottom: 5px;
}

.kpi-value {
    font-size: 20px;
    font-weight: 700;
    color: #3282b8;
    margin-bottom: 5px;
}

.kpi-trend {
    font-size: 12px;
}

.kpi-trend.excellent {
    color: #10b981;
}

.kpi-trend.good {
    color: #3282b8;
}

.performance-chart {
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(50, 130, 184, 0.2);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .row-1, .row-2, .row-3, .row-4 {
        grid-template-columns: 1fr;
    }
    
    .header-center h1 {
        font-size: 28px;
    }
    
    .business-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .business-categories {
        flex-direction: column;
    }
    
    .global-map {
        flex-direction: column;
    }
    
    .performance-kpis {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .panel-content {
        padding: 20px;
    }
    
    .business-numbers {
        grid-template-columns: 1fr;
    }
    
    .transport-modes {
        flex-direction: column;
    }
    
    .warehouse-stats {
        flex-direction: column;
    }
    
    .exchange-rates {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.panel {
    animation: fadeInUp 0.6s ease-out;
}

.panel:nth-child(1) { animation-delay: 0.1s; }
.panel:nth-child(2) { animation-delay: 0.2s; }
.panel:nth-child(3) { animation-delay: 0.3s; }
.panel:nth-child(4) { animation-delay: 0.4s; }

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(50, 130, 184, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(50, 130, 184, 0.8);
}