.flight-dashboard {
background-color: #f8f9fa;
min-height: 100vh;
}

/* Hero Section */
.hero-section {
background: linear-gradient(135deg, #003875 0%, #002855 100%);
position: relative;
margin-bottom: 2rem;
padding: 3rem 0;
}

/* Search Form */
.search-form .input-group {
background: #fff;
border-radius: 8px;
overflow: hidden;
}

.search-form .form-control {
border: none;
height: 3.5rem;
box-shadow: none;
}

.search-form .form-control:focus {
box-shadow: none;
}

.search-form .btn {
padding-left: 1.5rem;
padding-right: 1.5rem;
font-weight: 500;
}

/* Status Filters */
.status-filters {
position: relative;
margin: 1.5rem 0;
}

.status-btn {
display: inline-flex;
align-items: center;
padding: 0.75rem 1.5rem;
border-radius: 8px;
text-decoration: none;
color: #495057;
background: #fff;
border: 1px solid #e9ecef;
transition: all 0.2s ease-in-out;
font-weight: 500;
margin: 0.25rem;
}

.status-btn:hover {
background: #f8f9fa;
color: #003875;
text-decoration: none;
}

.status-btn.active {
background: #003875;
color: #fff;
border-color: #003875;
}

/* Flight Cards */
.flight-card {
background: #fff;
border: none;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
height: 100%;
}

.flight-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.flight-card .card-body {
padding: 1.5rem;
}

/* Flight Information */
.flight-number {
font-size: 1.25rem;
font-weight: 700;
color: #003875;
margin: 0;
}

.status-badge {
padding: 0.5rem 1rem;
border-radius: 6px;
font-weight: 600;
font-size: 0.875rem;
}

.status-scheduled {
background-color: rgba(13, 71, 161, 0.1);
color: #0d47a1;
}

.status-delayed {
background-color: rgba(220, 53, 69, 0.1);
color: #dc3545;
}

.status-departed {
background-color: rgba(46, 125, 50, 0.1);
color: #2e7d32;
}

/* Flight Route */
.flight-route {
padding: 2rem 0;
}

.airport-info h4 {
font-size: 1.125rem;
font-weight: 600;
margin: 0;
color: #212529;
}

.airport-info time {
font-size: 0.875rem;
color: #6c757d;
display: block;
margin-top: 0.25rem;
}

.flight-path {
position: relative;
padding: 0 1.5rem;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}

.flight-line {
height: 2px;
background: #e9ecef;
width: 100%;
position: absolute;
}

.flight-path i {
background: #fff;
padding: 0.5rem;
color: #003875;
transform: rotate(90deg);
position: relative;
z-index: 1;
}

/* Flight Details */
.flight-details {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 1.5rem;
}

.detail-item {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: #f8f9fa;
border-radius: 6px;
font-size: 0.875rem;
}

.detail-item.delayed {
background-color: rgba(220, 53, 69, 0.1);
color: #dc3545;
}

/* Card Footer */
.flight-card .card-footer {
background: transparent;
border-top: 1px solid #e9ecef;
padding: 1rem 1.5rem;
}

/* Empty State */
.empty-state {
background: #fff;
border-radius: 12px;
padding: 3rem;
text-align: center;
}

/* Pagination */
.pagination {
margin: 2rem 0;
}

.page-link {
border-radius: 6px;
padding: 0.75rem 1rem;
margin: 0 0.25rem;
border: none;
color: #003875;
background: #fff;
}

.page-item.active .page-link {
background: #003875;
color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.hero-section {
    padding: 2rem 0;
}

.search-form {
    margin-top: 1.5rem;
}

.status-filters {
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.status-filters::-webkit-scrollbar {
    height: 4px;
}

.status-filters::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.flight-route {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.flight-path {
    width: 100%;
    margin: 1rem 0;
}

.airport-info.destination {
    text-align: center;
}
}
