:root{

    --primary:#8f7ac8;
    --primary-dark:#3d2b5e;
    --primary-light:#f2effa;
    --gold:#d4b26d;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'DM Sans',sans-serif;
    background:#f8f8fb;
    color:#222;
}

.flight-hero{

    position:relative;
    min-height:550px;

    background:
    linear-gradient(
    rgba(34,27,55,.65),
    rgba(34,27,55,.65)
    ),

    url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=80&w=2074');

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:80px 20px;
}

.hero-content{

    max-width:900px;
    text-align:center;
    color:white;
}

.badge{

    display:inline-block;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    padding:10px 18px;

    border-radius:100px;

    margin-bottom:25px;

    font-size:.85rem;

    letter-spacing:1px;
}

.hero-content h1{

    font-size:3.5rem;
    line-height:1.1;
    margin-bottom:20px;
}

.hero-content p{

    max-width:700px;
    margin:auto;
    opacity:.9;
    font-size:1.1rem;
}

.search-card{

    margin-top:40px;

    background:white;

    border-radius:20px;

    padding:25px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.15);

    display:flex;
    gap:20px;
    align-items:end;
    justify-content:center;

    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}

.field-group{

    flex:1;
    text-align:left;
}

.field-group label{

    display:block;
    margin-bottom:10px;
    color:#555;
    font-weight:600;
}

select{

    width:100%;
    padding:16px;

    border:2px solid #eee;

    border-radius:12px;

    font-size:16px;
}

select:focus{

    outline:none;
    border-color:var(--primary);
}

#searchBtn{

    background:linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
    );

    color:white;

    border:none;

    padding:17px 32px;

    border-radius:12px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

#searchBtn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(143,122,200,.4);
}

.results-section{

    max-width:1400px;
    margin:auto;

    padding:60px 20px;
}

.results-placeholder{

    background:white;

    border-radius:24px;

    min-height:250px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.06);

    overflow:hidden;
}

.empty-state{

    text-align:center;

    padding:80px 20px;
}

.empty-icon{

    font-size:4rem;
    margin-bottom:20px;
}

.empty-state h3{

    font-size:1.6rem;
    margin-bottom:10px;
}

.empty-state p{

    color:#666;
}

table{

    width:100%;
    border-collapse:collapse;
}

th{

    background:var(--primary-dark);

    color:white;

    padding:18px;

    text-align:left;
}

td{

    padding:18px;

    border-bottom:1px solid #eee;
}

tr:hover{

    background:#faf8ff;
}

.status-active{

    color:#1ea54c;
    font-weight:700;
}

.status-scheduled{

    color:#0070f3;
    font-weight:700;
}

.status-delayed{

    color:#d94a38;
    font-weight:700;
}

@media(max-width:768px){

    .hero-content h1{

        font-size:2rem;
    }

    .search-card{

        flex-direction:column;
    }

    #searchBtn{

        width:100%;
    }

}

.results-header{
    padding:30px;
    border-bottom:1px solid #eee;
}

.results-header h2{
    margin-bottom:8px;
}

.results-header p{
    color:#666;
}

.table-wrapper{
    overflow-x:auto;
}

.status-active{
    background:#e8f8ee;
    color:#168c45;
    padding:8px 12px;
    border-radius:50px;
    font-size:.85rem;
    font-weight:700;
}

.status-scheduled{
    background:#eef4ff;
    color:#2563eb;
    padding:8px 12px;
    border-radius:50px;
    font-size:.85rem;
    font-weight:700;
}

.status-delayed{
    background:#fff3e8;
    color:#d97706;
    padding:8px 12px;
    border-radius:50px;
    font-size:.85rem;
    font-weight:700;
}

.status-cancelled{
    background:#ffeaea;
    color:#dc2626;
    padding:8px 12px;
    border-radius:50px;
    font-size:.85rem;
    font-weight:700;
}