/* Aion 2 Map Viewer - Styles */ :root { --bg-primary: #1a1a2e; --bg-secondary: rgba(20, 20, 40, 0.9); --border-color: rgba(100, 100, 150, 0.3); --text-primary: #e0e0e0; --text-secondary: #aaa; --accent-gold: #ffd700; --accent-blue: #3388FF; --panel-radius: 8px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--bg-primary); color: var(--text-primary); overflow: hidden; } /* Map container */ #map-container { position: relative; width: 100vw; height: 100vh; } canvas { display: block; cursor: grab; } canvas:active { cursor: grabbing; } /* Loading overlay */ #loading-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 100; } .spinner { width: 40px; height: 40px; border: 3px solid var(--border-color); border-top-color: var(--accent-gold); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 16px; } @keyframes spin { to { transform: rotate(360deg); } } /* UI overlay */ #ui-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } .panel { pointer-events: auto; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--panel-radius); backdrop-filter: blur(10px); } /* Title bar */ #title-bar { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); padding: 12px 24px; text-align: center; } #title-bar h1 { font-size: 24px; color: var(--accent-gold); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); margin-bottom: 8px; } .map-selector-container select { background: rgba(30, 30, 60, 0.9); border: 1px solid var(--border-color); color: var(--text-primary); padding: 8px 12px; border-radius: 4px; font-size: 14px; min-width: 250px; cursor: pointer; } .map-selector-container select:hover { border-color: var(--accent-gold); } /* Zoom controls */ #zoom-controls { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 4px; padding: 8px; } button { background: rgba(50, 50, 80, 0.8); border: 1px solid var(--border-color); color: var(--text-primary); padding: 8px 12px; border-radius: 4px; cursor: pointer; font-size: 16px; transition: background 0.2s, border-color 0.2s; } button:hover { background: rgba(70, 70, 100, 0.8); border-color: var(--accent-gold); } /* Category panel */ #category-panel { position: absolute; bottom: 16px; left: 16px; padding: 12px; max-height: 70vh; overflow-y: auto; width: 300px; } #category-panel h3 { font-size: 14px; color: var(--accent-gold); margin-bottom: 8px; border-bottom: 1px solid rgba(255, 215, 0, 0.3); padding-bottom: 4px; } .category-group { margin-bottom: 12px; } .category-item { display: flex; align-items: center; padding: 4px 0; cursor: pointer; border-radius: 4px; } .category-item:hover { background: rgba(255, 255, 255, 0.05); } .category-item.group-toggle { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .category-item input[type="checkbox"] { margin-right: 8px; accent-color: var(--accent-gold); } .category-icon { width: 16px; height: 16px; margin-right: 8px; object-fit: contain; } .category-item label { font-size: 12px; color: var(--text-secondary); flex: 1; cursor: pointer; } .category-count { font-size: 10px; color: #888; margin-left: 4px; } /* Zoom indicator */ #zoom-indicator { position: absolute; bottom: 16px; right: 16px; padding: 8px 12px; font-size: 12px; color: var(--text-secondary); } /* Tooltip */ #tooltip { position: absolute; background: rgba(10, 10, 30, 0.95); border: 1px solid rgba(255, 215, 0, 0.5); border-radius: 6px; padding: 8px 12px; font-size: 12px; color: #fff; pointer-events: none; max-width: 300px; z-index: 1000; } #tooltip .name { font-weight: bold; color: var(--accent-gold); margin-bottom: 4px; } #tooltip .category { font-size: 10px; color: var(--text-secondary); } /* Utility classes */ .hidden { display: none !important; } /* Scrollbar styling */ #category-panel::-webkit-scrollbar { width: 6px; } #category-panel::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); border-radius: 3px; } #category-panel::-webkit-scrollbar-thumb { background: rgba(100, 100, 150, 0.5); border-radius: 3px; }