body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #f4f4f4;
    padding: 20px;
}

h1 {
    color: #007bff;
    text-shadow: 2px 2px 3px #ccc;
}

/* Table Styling */
table {
    width: 90%;
    margin: auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

th {
    background: #007bff;
    color: white;
}

td button {
    padding: 5px 10px;
    border: none;
    background: #28a745;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

td button:hover {
    background: #218838;
}

.inbound-row {
    border-bottom: 3px solid #ccc; /* light gray separator */
}

.inbound-row td {
    padding-bottom: 12px;  /* extra spacing at bottom */
}

.inbound-row + tr td {
    padding-top: 8px;
}


/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch; /* Ensures children stretch horizontally */
}

.google-button {
    display: block;
    width: 80%; /* Make it large */
    max-width: 400px; /* Limit the max width */
    margin: 20px auto; /* Center the button */
    padding: 15px;
    font-size: 22px; /* Bigger text */
    font-weight: bold;
    background-color: #007bff; /* Blue color */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.google-button:hover {
    background-color: #0056b3; /* Darker blue */
    transform: scale(1.05); /* Slight scale effect */
}

.google-button:active {
    background-color: #004494; /* Even darker when clicked */
    transform: scale(0.98);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
    color: #555;
}

.close:hover {
    color: red;
}

.flight-section {
    padding: 15px;
    background: #f9f9f9;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box; /* Prevents padding from affecting width */
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
}
