        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }

        /* Adicionar ao arquivo CSS */
        .map-controls {
            margin-top: 15px;
            text-align: center;
            padding: 15px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 10px;
            border: 1px solid #dee2e6;
        }

        .map-controls label {
            font-weight: 600;
            color: #2c3e50;
            margin-right: 10px;
        }

        .map-style-selector {
            padding: 8px 12px;
            border: 2px solid #3498db;
            border-radius: 8px;
            background: white;
            color: #2c3e50;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .map-style-selector:hover {
            border-color: #2980b9;
            box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
        }

        .map-style-selector:focus {
            outline: none;
            border-color: #2980b9;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }

        /* Adicionar ao arquivo CSS */
        .map-container {
            margin-bottom: 30px;
            padding: 25px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 15px;
        }

        .map-container h3 {
            text-align: center;
            margin-bottom: 20px;
            color: #2c3e50;
        }

        #flightMap {
        height: 500px !important;
        width: 100% !important;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

        /* Corrigir problemas de tiles do Leaflet */
        .leaflet-container {
            height: 500px !important;
            width: 100% !important;
        }

        .leaflet-tile {
            max-width: none !important;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .header {
            background: linear-gradient(135deg, #2c3e50, #3498db);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .location-info {
            background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
            border: 2px solid #e17055;
            border-radius: 10px;
            padding: 15px 20px;
            margin: 20px 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-weight: 600;
            color: #2d3436;
            box-shadow: 0 4px 8px rgba(225, 112, 85, 0.2);
        }

        .location-info.loading {
            background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
            color: #666;
        }

        .location-info.error {
            background: linear-gradient(135deg, #ffcccb, #ffb3b3);
            border-color: #d63031;
            color: #2d3436;
        }

        .location-info .icon {
            font-size: 1.2rem;
        }

        .location-info .coordinates {
            font-family: 'Courier New', monospace;
            background: rgba(255, 255, 255, 0.7);
            padding: 4px 8px;
            border-radius: 6px;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        .controls {
            padding: 30px;
            background: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
            text-align: center;
        }

        .radius-control {
            margin-bottom: 20px;
        }

        .radius-control label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #2c3e50;
        }

        .radius-slider {
            width: 300px;
            max-width: 100%;
            margin: 0 auto;
        }

        .radius-value {
            font-weight: 700;
            color: #3498db;
            margin-left: 10px;
        }

        .btn {
            padding: 15px 30px;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 5px;
        }

        .btn-primary {
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
        }

        .btn-secondary {
            background: linear-gradient(135deg, #ff6b6b, #ee5253);
            color: white;
        }

        .btn-secondary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(255, 107, 107, 0.3);
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .progress-container {
            padding: 20px 30px;
            background: #f8f9fa;
            display: none;
        }

        .progress-bar {
            width: 100%;
            height: 25px;
            background: #e9ecef;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #4CAF50, #8BC34A);
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 12px;
        }

        .progress-text {
            text-align: center;
            margin-top: 10px;
            font-weight: 600;
            color: #2c3e50;
        }

        .results {
            padding: 30px;
        }

        .stats {
            margin-bottom: 30px;
            padding: 25px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 15px;
            display: none;
        }

        .stats h3 {
            text-align: center;
            margin-bottom: 20px;
            color: #2c3e50;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            text-align: center;
        }

        .stat-item {
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 5px;
            color: #3498db;
        }

        .stat-label {
            color: #666;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .flights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
        }

        .flight-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-left: 5px solid #3498db;
            transition: all 0.3s ease;
        }

        .flight-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        }

        .flight-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .flight-callsign {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2c3e50;
        }

        .flight-status {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            background: #d4edda;
            color: #155724;
        }

        .flight-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 10px;
            margin-bottom: 15px;
        }

        .detail-item {
            display: flex;
            flex-direction: column;
            padding: 8px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .detail-label {
            font-size: 0.8rem;
            color: #666;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .detail-value {
            font-size: 0.9rem;
            color: #2c3e50;
            font-weight: 500;
            font-family: 'Courier New', monospace;
        }

        .flight-route {
            margin-top: 15px;
            padding: 12px;
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            border-radius: 8px;
            border-left: 4px solid #2196f3;
        }

        .route-title {
            font-size: 0.8rem;
            color: #1565c0;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .route-info {
            font-size: 0.9rem;
            color: #2c3e50;
        }

        .no-flights {
            text-align: center;
            padding: 40px;
            color: #666;
            background: white;
            border-radius: 15px;
            border: 2px dashed #dee2e6;
        }

        .no-flights h3 {
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .spinner {
            border: 3px solid #f3f3f3;
            border-top: 3px solid #3498db;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
            display: inline-block;
            margin-right: 10px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .error-card {
            background: #f8d7da;
            border: 2px solid #f5c6cb;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            color: #721c24;
        }

        @media (max-width: 768px) {
            .header h1 {
                font-size: 2rem;
            }

            .location-info {
                margin: 15px 15px;
                padding: 10px 15px;
                flex-direction: column;
                gap: 8px;
                text-align: center;
            }

            .flights-grid {
                grid-template-columns: 1fr;
            }

            .flight-details {
                grid-template-columns: 1fr;
            }
        }