/*
 * Frontend Styles for AeroPoint Express Booking Plugin
 */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8;
}

/* This is a background element for design, assuming it's part of the page template */
.aero-header-background {
    background-color: #1e40af; /* A rich blue color */
    height: 16rem; /* 256px */
    width: 100%;
}

/* Styles for the main search form container */
.aero-form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-top: -80px; /* Pulls the form up into the header background */
    position: relative;
    z-index: 10;
}

/* Styles for the trip type tabs (Round-trip, One-way) */
.aero-tab-button {
    transition: all 0.3s ease;
    border: none;
    background-color: #f3f4f6; /* gray-100 */
    padding: 0.5rem 1.5rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    font-weight: 600; /* semibold */
    color: #374151; /* gray-700 */
    cursor: pointer;
}

.aero-tab-button.active {
    background-color: #1e40af; /* A rich blue color */
    color: white;
}

/* Popover for selecting passengers and class */
.aero-passenger-popover {
    display: none; /* Hidden by default, shown by JS */
    position: absolute;
    background: white;
    border: 1px solid #e5e7eb; /* gray-200 */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 20;
    width: 320px;
    right: 0;
}

/* Generic styling for flight result cards */
.aero-flight-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.aero-flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
