/* General Styles */
.flight-status-page {
    font-family: 'Roboto', sans-serif;
}

h4, h5 {
    font-weight: 700;
}

/* Flight Status Search Section */
.flight-status-search {
    background: linear-gradient(rgba(0, 0, 0, 0.856), rgba(220, 53, 70, 0.377)), url('./images/flight.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    border: none;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.search-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.field-label {
    font-weight: 600;
    color: #ffc107;
}

.field-input, .field-select {
    border: 2px solid #ffc107;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field-input:focus, .field-select:focus {
    border-color: #fff;
    box-shadow: 0 0 8px #ffc107;
}

.check-status-btn {
    background-color: #ffc107;
    color: #dc3545;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.check-status-btn:hover {
    background-color: #ffe08a;
    color: #bb2d3b;
    transform: scale(1.05);
}

/* Flight Status Results Section */
.flight-status-results {
    background-color: #f8d7da;
    color: #333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.results-title {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-item {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.flight-status {
    font-weight: 700;
}

/* Additional Info Section */
.additional-info-title {
    color: #dc3545;
    margin-top: 1.5rem;
}

.additional-info-item {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Alternate Flights Section */
.alternate-flights {
    background: rgba(220, 53, 69, 0.1);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.alternate-flights-title {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.alternate-flights-table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.table-header {
    font-size: 1rem;
    font-weight: 700;
    color: #dc3545;
    background-color: #ffe08a;
    text-align: center;
}

.flight-row {
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
}

.flight-row:nth-child(odd) {
    background-color: rgba(220, 53, 69, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, #dc3545, #ff6b6b);
    color: #fff;
    border-radius: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
}

.subscribe-btn {
    background-color: #ffc107;
    color: #dc3545;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #ffe08a;
    color: #bb2d3b;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-fields > div {
        margin-bottom: 1rem;
    }

    .results-title, .alternate-flights-title, .cta-title {
        font-size: 1.5rem;
    }

    .field-input, .field-select {
        font-size: 0.9rem;
    }

    .check-status-btn, .subscribe-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
