/* Eyeverse World - Unified Design System */

/* CSS Variables for consistent theming */
:root {
    /* Primary Colors */
    --primary-color: #B10202;
    --primary-dark: #9A0202;
    --primary-light: #C80202;
    
    /* Background Colors */
    --bg-primary: #1b1b1b;
    --bg-secondary: #1b1b1b;
    --bg-tertiary: #1b1b1b;
    
    /* Surface Colors */
    --surface-primary: rgba(255, 255, 255, 0.08);
    --surface-secondary: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.12);
    --surface-nav: rgba(26, 26, 26, 0.95);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dark: #2d3748;
    --text-dark-secondary: #4a5568;
    
    /* Border Colors */
    --border-primary: rgba(255, 255, 255, 0.15);
    --border-secondary: rgba(255, 255, 255, 0.08);
    --border-accent: var(--primary-color);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* VT323 font loaded via HTML link tags */

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 16px;
}

/* Navigation */
.navigation {
    background: var(--surface-nav);
    backdrop-filter: blur(20px);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-title {
    font-family: 'VT323', 'Courier New', 'Courier', monospace;
    font-size: 32px;
    font-weight: 400;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    letter-spacing: 1px;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-display: swap;
}

.nav-title:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-title::before {
    content: "";
    width: 28px;
    height: 28px;
    background-image: url('https://eyeverse.world/wp-content/uploads/2023/01/ezgif.com-gif-maker.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-family: 'VT323', 'Courier New', 'Courier', monospace;
    font-weight: 400;
    font-size: 24px;
    color: white;
    text-decoration: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    letter-spacing: 1px;
    transition: color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: transparent;
    color: var(--primary-color);
    transform: none;
}

.nav-link.active {
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
}

/* Content Layout */
.content {
    padding: var(--spacing-xl);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xxl);
    opacity: 0.9;
    text-align: center;
    font-weight: 400;
}

/* Cards and Surfaces */
.card {
    background: var(--surface-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
}

.card:hover {
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--surface-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    transform: translateY(-1px);
}

/* Form Controls */
.control-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.control-group label {
    font-weight: 600;
    min-width: 120px;
    color: var(--text-primary);
}

select, input[type="range"], input[type="number"] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    background: var(--surface-primary);
    color: var(--text-primary);
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

select:focus, input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Viz Buttons */
.viz-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.viz-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--surface-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.viz-btn:hover {
    background: var(--surface-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.viz-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.viz-btn .icon {
    font-size: 18px;
}

/* Legend */
.legend {
    background: var(--surface-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-sm);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.legend-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    white-space: nowrap;
    flex-shrink: 0;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-primary);
    flex-shrink: 0;
}

.legend-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Canvas Container */
.canvas-container {
    background: var(--surface-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
    position: relative;
}

canvas {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Status Messages */
.status {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.status.success {
    background: rgba(76, 175, 80, 0.2);
    border-left: 4px solid #4CAF50;
    color: #4CAF50;
}

.status.error {
    background: rgba(244, 67, 54, 0.2);
    border-left: 4px solid #f44336;
    color: #f44336;
}

.status.info {
    background: rgba(33, 150, 243, 0.2);
    border-left: 4px solid #2196F3;
    color: #2196F3;
}

/* File List */
.file-list {
    background: var(--surface-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    border: 1px solid var(--border-secondary);
}

.file-item {
    padding: var(--spacing-xs) 0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Tooltips */
.settlement-tooltip, .polygon-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 14px;
    pointer-events: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-primary);
}

.tooltip-name {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.tooltip-details {
    font-size: 12px;
    opacity: 0.8;
}

.capital-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-right: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .viz-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
    }
    
    .control-group {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .control-group label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .content {
        padding: var(--spacing-md);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: var(--spacing-lg);
    }
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--surface-primary);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus-visible, .btn:focus-visible, .viz-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-primary: rgba(255, 255, 255, 0.5);
        --text-secondary: rgba(255, 255, 255, 0.9);
    }
}

/* ===== 3D TERRAIN PREVIEW SPECIFIC STYLES ===== */
.terrain-3d-view body {
    background: var(--bg-primary);
    overflow: hidden;
}

.terrain-3d-view #container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.terrain-3d-view #controls {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--surface-primary);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    z-index: 100;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

.terrain-3d-view .control-group {
    margin-bottom: 0;
}

.terrain-3d-view select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    background: var(--surface-secondary);
    color: var(--text-primary);
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.terrain-3d-view .legend {
    margin-top: var(--spacing-sm);
    background: var(--surface-secondary);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-secondary);
    display: none;
}

.terrain-3d-view .loading-indicator {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.terrain-3d-view .legend h3 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: var(--font-size-md);
    color: var(--text-primary);
}

.terrain-3d-view .legend-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.terrain-3d-view .legend-color {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-sm);
    margin-right: var(--spacing-sm);
    border: 1px solid var(--border-primary);
}

.terrain-3d-view select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(177, 2, 2, 0.2);
}

.terrain-3d-view #loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 200;
    background: var(--surface-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

.terrain-3d-view #error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 200;
    display: none;
    border: 1px solid rgba(244, 67, 54, 0.3);
    backdrop-filter: blur(20px);
}

.terrain-3d-view #canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== DATA EXPLORER SPECIFIC STYLES ===== */
.data-explorer-view body {
    background: var(--bg-secondary);
}

.data-explorer-view .data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: stretch;
}

.data-explorer-view .data-card {
    background: var(--surface-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    min-height: 150px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.data-explorer-view .data-card:hover {
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.data-explorer-view .data-card h3 {
    margin-top: 0;
    color: #f0f0f0;
    font-size: 1.4rem;
    font-weight: 600;
}

.data-explorer-view .stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.data-explorer-view .stat-item {
    background: var(--surface-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border-secondary);
}

.data-explorer-view .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.data-explorer-view .settlement-list {
    max-height: 300px;
    overflow-y: auto;
    background: var(--surface-secondary);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    border: 1px solid var(--border-secondary);
}

.data-explorer-view .settlement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-secondary);
}

.data-explorer-view .settlement-name {
    font-weight: 600;
    color: var(--text-primary);
}

.data-explorer-view .settlement-pop, 
.data-explorer-view .list-info {
    color: #f0f0f0;
    font-size: 12px;
}

.data-explorer-view .biome-list, 
.data-explorer-view .culture-list, 
.data-explorer-view .religion-list, 
.data-explorer-view .settlement-list, 
.data-explorer-view .region-list {
    height: auto;
    min-height: 250px;
    max-height: 450px;
    overflow-y: auto;
    background: var(--surface-secondary);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    flex: 1;
    border: 1px solid var(--border-secondary);
}

.data-explorer-view .list-item {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-secondary);
    display: flex;
    justify-content: space-between;
}

.data-explorer-view .color-indicator {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-right: var(--spacing-sm);
    border: 1px solid var(--border-primary);
}

/* ===== 2D MAP SPECIFIC STYLES ===== */
.map-2d-view body {
    background: var(--bg-tertiary);
}

.map-2d-view .tooltip a {
    color: #87CEEB !important;
    text-decoration: underline !important;
    pointer-events: auto !important;
}

.map-2d-view .tooltip a:hover {
    color: #ADD8E6 !important;
}

.map-2d-view .controls {
    padding: var(--spacing-xs) var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    width: 100%;
}

.map-2d-view select, 
.map-2d-view input[type="range"], 
.map-2d-view button:not(.viz-btn) {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    background: var(--surface-primary);
    color: var(--text-primary);
    font-size: 14px;
}

.map-2d-view .legend-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.map-2d-view button:not(.viz-btn) {
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.map-2d-view button:not(.viz-btn):hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.map-2d-view button:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.map-2d-view canvas {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.map-2d-view .canvas-container {
    overflow: hidden;
}

/* Map Controls Overlay */
.map-2d-view .map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.map-2d-view .pan-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.map-2d-view .pan-row {
    display: flex;
    gap: 4px;
}

.map-2d-view .zoom-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.map-2d-view .zoom-row {
    display: flex;
    gap: 8px;
}

.map-2d-view .zoom-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 3px solid #dc2626 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all var(--transition-normal) !important;
    backdrop-filter: blur(15px) !important;
    padding: 0 !important;
    font-size: 18px !important;
}

.map-2d-view .zoom-btn:hover {
    background: #dc2626 !important;
    border-color: #b91c1c !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.map-2d-view .zoom-btn .icon {
    font-size: 18px;
    font-weight: bold;
    color: #dc2626;
}

.map-2d-view .zoom-btn:hover .icon {
    color: white;
}

.map-2d-view .zoom-btn.reset {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #dc2626;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    width: 40px;
    height: 40px;
}

.map-2d-view .zoom-btn.reset:hover {
    background: #dc2626;
    border-color: #b91c1c;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.map-2d-view .zoom-btn.reset .icon {
    color: #dc2626;
    font-size: 18px;
    font-weight: bold;
}

.map-2d-view .zoom-btn.reset:hover .icon {
    color: white;
}

.map-2d-view .pan-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 3px solid #dc2626 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all var(--transition-normal) !important;
    backdrop-filter: blur(15px) !important;
    padding: 0 !important;
    font-size: 18px !important;
}

.map-2d-view .pan-btn:hover {
    background: #dc2626 !important;
    border-color: #b91c1c !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.map-2d-view .pan-btn .icon {
    font-size: 18px;
    font-weight: bold;
    color: #dc2626;
}

.map-2d-view .pan-btn:hover .icon {
    color: white;
}

.map-2d-view .info-panel {
    background: var(--surface-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
}

.map-2d-view .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.map-2d-view .stat-item {
    background: var(--surface-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border-secondary);
}

.map-2d-view .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.map-2d-view .loading {
    text-align: center;
    padding: var(--spacing-xxl);
    font-size: 18px;
}
