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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #0056b3;
}

/* Table Styling */
table.flight-info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table.flight-info th,
table.flight-info td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table.flight-info th {
    background-color: #0056b3;
    color: white;
}

table.flight-info tr:nth-child(even) {
    background-color: #f9f9f9;
}

table.flight-info tr:hover {
    background-color: #f1f1f1;
}

input[type="text"],
input[type="date"],
button {
    padding: 8px;
    font-size: 14px;
    margin: 5px 0;
}

button {
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #003d80;
}

/* Navigation */
.nav a {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #0056b3;
    font-weight: bold;
}

.nav a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    table.flight-info th,
    table.flight-info td {
        padding: 8px;
        font-size: 12px;
    }

    input[type="text"],
    input[type="date"],
    button {
        font-size: 12px;
        padding: 6px;
    }

    .nav a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    table.flight-info th,
    table.flight-info td {
        display: block;
        width: 100%;
        text-align: left;
    }

    table.flight-info th {
        background-color: transparent;
        color: #333;
    }

    table.flight-info td {
        border: none;
        padding: 8px 0;
    }

    input[type="text"],
    input[type="date"],
    button {
        width: 100%;
    }
}
