/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 15px 0;
    background: #1a73e8;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.search-container {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 15px;
}

#searchInput {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background: #0d47a1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #1565c0;
}

.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    margin: 0;
    gap: 0;
}

#map {
    flex: 2;
    height: 100%;
    z-index: 1;
}

.flight-info {
    flex: 1;
    background: white;
    padding: 20px;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

#flightDetails {
    margin-top: 20px;
    line-height: 1.6;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.flight-detail {
    margin-bottom: 10px;
    padding: 8px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.plane-icon {
    /* Custom plane icon styles */
    background: transparent;
    border: none;
}

.leaflet-popup-content {
    min-width: 200px;
}

.leaflet-popup-content h3 {
    margin-top: 0;
    color: #1a73e8;
}

.leaflet-popup-content p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    #map {
        height: 60vh;
    }
    
    .search-container {
        flex-direction: column;
        align-items: center;
    }
    
    #searchInput {
        width: 90%;
    }
}