:root{--primary: #0ea5e9;--primary-dark: #0369a1;--accent: #f59e0b;--bg: #ffffff;--surface: #f8fafc;--border: #e2e8f0;--text: #1e293b;--text-muted: #64748b;--success: #22c55e;--error: #ef4444;--radius: 12px;--radius-sm: 8px;--shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);--shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:var(--surface);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}.header{background:var(--bg);border-bottom:1px solid var(--border);padding:1rem 0;position:sticky;top:0;z-index:100}.header-content{max-width:1400px;margin:0 auto;padding:0 1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.logo{display:flex;align-items:center;gap:.75rem}.logo-icon{width:32px;height:32px;object-fit:contain}.logo-text{font-size:1.25rem;font-weight:600;color:var(--text)}.header-actions{display:flex;gap:.75rem;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border-radius:var(--radius-sm);font-size:.875rem;font-weight:500;cursor:pointer;border:none;transition:all .15s ease}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:var(--bg);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--surface);border-color:var(--text-muted)}.btn-danger{background:var(--error);color:#fff}.btn-danger:hover{background:#dc2626}.btn-icon{padding:.5rem;background:transparent;border:none;color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm)}.btn-icon:hover{background:var(--surface);color:var(--text)}.btn-filter.active{background:var(--primary);color:#fff;border-color:var(--primary)}.btn-filter.active:hover{background:var(--primary-dark)}.main{max-width:1400px;margin:0 auto;padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.section{background:var(--bg);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow)}.section-title{font-size:1rem;font-weight:600;color:var(--text);margin-bottom:1rem}.map-section{padding:1rem}.map-controls{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.toggle-group{display:flex;background:var(--surface);border-radius:var(--radius-sm);padding:4px}.toggle-btn{padding:.5rem 1rem;border:none;background:transparent;color:var(--text-muted);font-size:.875rem;font-weight:500;cursor:pointer;border-radius:6px;transition:all .15s ease}.toggle-btn.active{background:var(--bg);color:var(--text);box-shadow:var(--shadow)}.map-options{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-muted);cursor:pointer}.checkbox-label input{width:16px;height:16px;accent-color:var(--primary)}.select{padding:.5rem .75rem;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.875rem;background:var(--bg);color:var(--text);cursor:pointer}.map-container{height:450px;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface)}.map{width:100%;height:100%}.stats-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding:0;background:transparent;box-shadow:none}.stat-card{background:var(--bg);border-radius:var(--radius);padding:1.25rem;box-shadow:var(--shadow);text-align:center}.stat-label{font-size:.875rem;color:var(--text-muted);margin-bottom:.5rem}.stat-value{font-size:1.75rem;font-weight:700;color:var(--primary)}.charts-section{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem}.chart-container{background:var(--bg);border-radius:var(--radius);padding:1.25rem}.chart-container canvas{max-height:300px}.top-lists{display:flex;flex-direction:column;gap:1rem}.top-list{background:var(--bg);border-radius:var(--radius);padding:1.25rem}.top-list-items{list-style:none;counter-reset:item}.top-list-items li{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.875rem}.top-list-items li:last-child{border-bottom:none}.top-list-items li:before{counter-increment:item;content:counter(item) ".";color:var(--text-muted);margin-right:.75rem;font-weight:500}.top-list-items .count{color:var(--primary);font-weight:600}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.stat-item{display:flex;flex-direction:column;padding:1rem;background:var(--surface);border-radius:var(--radius-sm)}.stat-item-label{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.stat-item-value{font-size:1.125rem;font-weight:600;color:var(--text)}.table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.table-wrapper{overflow-x:auto}.flight-table{width:100%;border-collapse:collapse;font-size:.875rem}.flight-table th,.flight-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--border)}.flight-table th{background:var(--surface);font-weight:600;color:var(--text-muted);text-transform:uppercase;font-size:.75rem;letter-spacing:.05em}.flight-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .15s ease,background .15s ease}.flight-table th.sortable:hover{color:var(--text);background:var(--border)}.flight-table th.sortable.active{color:var(--primary)}.flight-table tbody tr:hover{background:var(--surface)}.flight-table .actions{display:flex;gap:.25rem}.pagination{display:flex;justify-content:center;align-items:center;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.pagination button{padding:.5rem .75rem;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:var(--radius-sm);cursor:pointer;font-size:.875rem;min-width:36px}.pagination button:hover:not(:disabled){background:var(--surface);border-color:var(--primary)}.pagination button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.pagination button:disabled{opacity:.5;cursor:not-allowed}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:none;justify-content:center;align-items:center;z-index:1000;padding:1rem}.modal-backdrop.active{display:flex}.modal{background:var(--bg);border-radius:var(--radius);width:100%;max-width:480px;max-height:90vh;overflow:auto;box-shadow:var(--shadow-lg);display:none}.modal.active{display:block}.modal-small{max-width:360px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid var(--border)}.modal-header h3{font-size:1.125rem;font-weight:600}.modal-close{background:none;border:none;font-size:1.5rem;color:var(--text-muted);cursor:pointer;line-height:1}.modal-close:hover{color:var(--text)}.modal-body{padding:1.5rem}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid var(--border);background:var(--surface)}.form-row{display:flex;gap:1rem;margin-bottom:1rem}.form-group{flex:1;display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:500;color:var(--text)}.form-group input{padding:.625rem .75rem;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.875rem;transition:border-color .15s ease}.form-group input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #0ea5e926}@media (max-width: 1024px){.charts-section{grid-template-columns:1fr}.top-lists{flex-direction:row}.top-list{flex:1}}@media (max-width: 768px){.stats-cards{grid-template-columns:repeat(2,1fr)}.top-lists{flex-direction:column}.map-container{height:350px}.header-content{flex-direction:column;align-items:stretch}.header-actions{justify-content:center}}@media (max-width: 480px){.stats-cards{grid-template-columns:1fr 1fr}.stat-value{font-size:1.5rem}.form-row{flex-direction:column}}.leaflet-popup-content-wrapper{border-radius:var(--radius-sm)}.leaflet-popup-content{margin:.75rem 1rem;font-size:.875rem}.airport-marker{background:var(--primary);border:2px solid white;border-radius:50%;box-shadow:var(--shadow)}.landing{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--surface) 0%,var(--bg) 100%)}.landing-content{text-align:center;padding:2rem;max-width:400px}.landing-logo{width:120px;height:120px;margin-bottom:1.5rem;object-fit:contain}.landing-title{font-size:2.5rem;font-weight:700;color:var(--text);margin-bottom:.5rem}.landing-subtitle{font-size:1.125rem;color:var(--text-muted);margin-bottom:2rem}.btn-large{padding:1rem 2rem;font-size:1rem;gap:.75rem}.landing-hint{margin-top:1.5rem;font-size:.875rem;color:var(--text-muted)}.spinner{display:none;width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.spinner.active{display:inline-block}.btn.loading svg,.btn.loading #upload-btn-text{display:none}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:3rem 1rem;color:var(--text-muted)}.empty-state svg{width:64px;height:64px;margin-bottom:1rem;opacity:.5}.empty-state p{font-size:.875rem}
