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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.upload-section {
    margin-bottom: 30px;
}

.file-label {
    display: block;
    padding: 60px 20px;
    border: 3px dashed #ddd;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.file-label:hover {
    border-color: #667eea;
    background: #f0f0ff;
}

.upload-section.dragover .file-label {
    border-color: #667eea;
    background: #e8e8ff;
    transform: scale(1.02);
}

#file-name {
    display: block;
    font-size: 1.1rem;
    color: #666;
}

#file-input {
    display: none;
}

.status {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.convert-btn, .download-btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.convert-btn:hover:not(:disabled), .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.convert-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.result-section {
    margin-top: 30px;
    padding: 25px;
    background: #f0f0ff;
    border-radius: 15px;
    text-align: center;
}

.result-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

#flight-info {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.download-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

#map-container {
    margin-top: 30px;
}

#map-container h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

#map {
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    #map {
        height: 300px;
    }
}