/* ==========================================================================
   CEMT Travel - Modern Amadeus Flight Search Styles
   ========================================================================== */

:root {
    --cemt-primary: #0066FF;
    --cemt-primary-dark: #0052CC;
    --cemt-primary-light: #E6F2FF;
    --cemt-secondary: #10b981;
    --cemt-accent: #f59e0b;
    --cemt-danger: #ef4444;
    --cemt-text: #1a1a1a;
    --cemt-text-light: #6b7280;
    --cemt-text-lighter: #9ca3af;
    --cemt-border: #e5e7eb;
    --cemt-bg: #ffffff;
    --cemt-bg-light: #f9fafb;
    --cemt-bg-gray: #f3f4f6;
    --cemt-hero-bg: #0a2540;
    --cemt-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --cemt-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --cemt-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --cemt-radius: 8px;
    --cemt-radius-lg: 12px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
}

.cemt-flight-search {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--cemt-bg-gray);
}

/* Hero Section */
.cemt-hero-section {
    background: linear-gradient(135deg, #0a2540 0%, #1e3a5f 100%);
    padding: 60px 20px 120px;
    text-align: center;
    position: relative;
}

.cemt-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.cemt-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.cemt-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cemt-hero-section {
        padding: 40px 20px 100px;
    }
    
    .cemt-hero-title {
        font-size: 32px;
    }
    
    .cemt-hero-subtitle {
        font-size: 16px;
    }
}

/* Search Wrapper */
.cemt-search-wrapper {
    background: var(--cemt-bg);
    border-radius: var(--cemt-radius-lg);
    padding: 32px;
    box-shadow: var(--cemt-shadow-lg);
    margin: -80px 20px 30px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .cemt-search-wrapper {
        padding: 24px 16px;
        margin: -60px 16px 20px;
    }
}

/* Trip Type Selector */
.cemt-trip-type-selector {
    margin-bottom: 16px; /* Reduced margin */
}

.cemt-trip-select {
    background: var(--cemt-hero-bg);
    color: #ffffff;
    border: none;
    padding: 10px 16px; /* Adjusted padding */
    border-radius: var(--cemt-radius);
    font-size: 14px; /* Slightly smaller */
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    /* Ensure arrow is white */
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center; /* Adjusted position */
    min-width: 160px;
}

.cemt-trip-select:focus {
    outline: 2px solid var(--cemt-primary);
    outline-offset: 2px;
}

/* Form Grid */
.cemt-form-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr 1fr 1.2fr;
    gap: 16px;
    align-items: end;
    margin-bottom: 20px;
}

/* One Way Grid Adjustment */
.cemt-form-grid.is-one-way {
    grid-template-columns: 1fr auto 1fr 1fr 1.2fr; /* 5 columns */
}

@media (max-width: 1200px) {
    .cemt-form-grid,
    .cemt-form-grid.is-one-way {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .cemt-swap-container {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
    }
    
    .cemt-form-section.cemt-passengers-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .cemt-form-grid,
    .cemt-form-grid.is-one-way {
        grid-template-columns: 1fr;
    }
}

/* Form Section */
.cemt-form-section {
    position: relative;
}

.cemt-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--cemt-text);
    margin-bottom: 8px;
    text-transform: capitalize;
}

/* Input Group */
.cemt-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.cemt-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cemt-text-light);
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px; /* Ensure width for centering if needed */
    height: 20px;
}

.cemt-dropdown-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cemt-text-light);
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
}

.cemt-form-input {
    width: 100%;
    padding: 14px 16px 14px 48px; /* 48px padding-left for icon space */
    border: 2px solid var(--cemt-border);
    border-radius: var(--cemt-radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--cemt-text);
    background: var(--cemt-bg-light);
    transition: all 0.2s ease;
    line-height: 1.5; /* Better vertical alignment */
}

.cemt-form-input::placeholder {
    color: var(--cemt-text-lighter);
    font-weight: 400;
}

.cemt-form-input:focus {
    outline: none;
    border-color: var(--cemt-primary) !important; /* Force blue border */
    background: var(--cemt-bg);
    box-shadow: 0 0 0 3px var(--cemt-primary-light);
    z-index: 2; /* Bring to front */
}

.cemt-form-input:read-only {
    cursor: pointer;
}

/* Date inputs */
.cemt-form-input[type="date"] {
    cursor: pointer;
    /* Attempt to style the date input more consistently */
    appearance: none;
    min-height: 52px; /* Ensure consistent height */
}

.cemt-form-input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0; /* Hide default icon to use our custom SVG, or keep it if preferred but move it */
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* If we hide the default icon, we rely on our SVG icon on the left */
/* But we need to ensure the text is visible. */

/* Swap Button */
.cemt-swap-container {
    display: flex;
    align-items: center; /* Center vertically with inputs */
    justify-content: center;
    padding-bottom: 0; /* Remove bottom padding as we center it */
    height: 100%; /* Fill the grid cell height */
}

.cemt-swap-btn {
    background: var(--cemt-primary);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.cemt-swap-btn:hover {
    background: var(--cemt-primary-dark);
    transform: rotate(180deg);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

.cemt-swap-btn:active {
    transform: rotate(180deg) scale(0.95);
}

/* Autocomplete Dropdown */
.cemt-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--cemt-border);
    border-radius: var(--cemt-radius);
    box-shadow: var(--cemt-shadow-lg);
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
}

.cemt-autocomplete-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid var(--cemt-bg-light);
}

.cemt-autocomplete-item:last-child {
    border-bottom: none;
}

.cemt-autocomplete-item:hover {
    background: var(--cemt-bg-light);
}

.airport-code {
    font-weight: 700;
    color: var(--cemt-primary);
    font-size: 16px;
    min-width: 45px;
}

.airport-details {
    flex: 1;
}

.airport-name {
    font-weight: 600;
    color: var(--cemt-text);
    font-size: 14px;
    margin-bottom: 2px;
}

.airport-location {
    font-size: 13px;
    color: var(--cemt-text-light);
}

/* Passengers Dropdown */
.cemt-passengers-section {
    position: relative;
}

.cemt-passengers-trigger {
    cursor: pointer;
}

.cemt-passengers-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0; /* Align to right to avoid overflow */
    width: 320px;
    background: white;
    border: 2px solid var(--cemt-border);
    border-radius: var(--cemt-radius);
    box-shadow: var(--cemt-shadow-lg);
    z-index: 1000;
    padding: 20px;
}

@media (max-width: 640px) {
    .cemt-passengers-dropdown {
        left: 0;
        right: 0;
        width: auto;
    }
}

.cemt-passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--cemt-bg-light);
}

.cemt-passenger-row:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
}

.cemt-passenger-label strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--cemt-text);
}

.cemt-passenger-label small {
    display: block;
    font-size: 13px;
    color: var(--cemt-text-light);
    margin-top: 2px;
}

.cemt-passenger-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cemt-control-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--cemt-border);
    background: white;
    color: var(--cemt-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cemt-control-btn:hover {
    background: var(--cemt-bg-light);
    border-color: var(--cemt-primary);
}

.cemt-control-btn:active {
    transform: scale(0.95);
}

.cemt-count {
    font-weight: 600;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
    color: var(--cemt-text);
}

.cemt-passenger-class {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--cemt-border);
}

.cemt-select-input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--cemt-border);
    border-radius: var(--cemt-radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--cemt-text);
    background: var(--cemt-bg-light);
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none; /* Custom arrow if needed, or default */
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.cemt-select-input:focus {
    outline: none;
    border-color: var(--cemt-primary);
    background: white;
}

.cemt-passengers-done {
    width: 100%;
    padding: 12px;
    background: var(--cemt-primary);
    color: white;
    border: none;
    border-radius: var(--cemt-radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.2s ease;
}

.cemt-passengers-done:hover {
    background: var(--cemt-primary-dark);
}

/* Bottom Row */
.cemt-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--cemt-border);
}

@media (max-width: 768px) {
    .cemt-bottom-row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Search Options */
.cemt-search-options {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cemt-search-options {
        flex-direction: column;
        gap: 12px;
    }
}

.cemt-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--cemt-text);
    user-select: none;
}

.cemt-radio-option input[type="radio"],
.cemt-radio-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--cemt-primary);
}

.cemt-radio-option:hover {
    color: var(--cemt-primary);
}

/* Search Button */
.cemt-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--cemt-primary);
    color: white;
    border: none;
    border-radius: var(--cemt-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    min-width: 160px;
    justify-content: center;
}

@media (max-width: 768px) {
    .cemt-search-btn {
        width: 100%;
    }
}

.cemt-search-btn:hover:not(:disabled) {
    background: var(--cemt-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
}

.cemt-search-btn:active:not(:disabled) {
    transform: translateY(0);
}

.cemt-search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Reuse existing Results Section Styles */
/* ... Include remaining CSS for results section from previous file if needed, or keep it if not overwriting ... */
/* Since I'm overwriting, I need to include the results section styles too. */

/* Results Section */
.cemt-results-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 0 20px 40px;
}

@media (max-width: 1024px) {
    .cemt-results-section {
        grid-template-columns: 1fr;
        padding: 0 16px 32px;
    }
}

/* Filters Sidebar */
.cemt-filters-sidebar {
    background: var(--cemt-bg);
    border-radius: var(--cemt-radius-lg);
    padding: 24px;
    box-shadow: var(--cemt-shadow);
    height: fit-content;
    position: sticky;
    top: 20px;
}

@media (max-width: 1024px) {
    .cemt-filters-sidebar {
        position: static;
    }
}

.cemt-filters-sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--cemt-text);
}

.cemt-filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cemt-border);
}

.cemt-filter-group:last-of-type {
    border-bottom: none;
}

.cemt-filter-group h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--cemt-text);
}

.cemt-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--cemt-text);
    margin-bottom: 12px;
    user-select: none;
}

.cemt-checkbox:hover {
    color: var(--cemt-primary);
}

.cemt-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--cemt-primary);
}

.cemt-price-range {
    padding: 10px 0;
}

.cemt-price-range input[type="range"] {
    width: 100%;
    margin: 8px 0;
    cursor: pointer;
}

.cemt-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--cemt-text);
    margin-top: 12px;
}

.cemt-clear-filters {
    width: 100%;
    padding: 12px;
    background: var(--cemt-bg-light);
    border: 2px solid var(--cemt-border);
    border-radius: var(--cemt-radius);
    font-weight: 600;
    font-size: 14px;
    color: var(--cemt-text);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.cemt-clear-filters:hover {
    background: var(--cemt-border);
    border-color: var(--cemt-text-light);
}

/* Results Content */
.cemt-results-content {
    min-height: 400px;
}

.cemt-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--cemt-bg);
    padding: 20px 24px;
    border-radius: var(--cemt-radius-lg);
    box-shadow: var(--cemt-shadow);
}

.cemt-results-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--cemt-text);
}

.cemt-results-count {
    font-size: 14px;
    color: var(--cemt-text-light);
    margin: 4px 0 0 0;
}

.cemt-sort-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cemt-sort-options label {
    font-size: 14px;
    font-weight: 600;
    color: var(--cemt-text);
}

.cemt-sort-options select {
    padding: 10px 16px;
    border: 2px solid var(--cemt-border);
    border-radius: var(--cemt-radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--cemt-text);
    cursor: pointer;
    background: var(--cemt-bg);
    transition: all 0.2s ease;
}

.cemt-sort-options select:focus {
    outline: none;
    border-color: var(--cemt-primary);
    box-shadow: 0 0 0 3px var(--cemt-primary-light);
}

/* Flight Cards */
.cemt-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cemt-flight-card {
    background: var(--cemt-bg);
    border-radius: var(--cemt-radius-lg);
    box-shadow: var(--cemt-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cemt-flight-card:hover {
    box-shadow: var(--cemt-shadow-lg);
    border-color: var(--cemt-primary);
    transform: translateY(-2px);
}

.flight-main-info {
    display: grid;
    grid-template-columns: 180px 1fr 200px;
    gap: 24px;
    padding: 28px;
    align-items: center;
}

@media (max-width: 768px) {
    .flight-main-info {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

.flight-airline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.airline-logo img {
    width: 52px;
    height: 52px;
    border-radius: var(--cemt-radius);
    object-fit: contain;
}

.airline-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--cemt-text);
}

.flight-route {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .flight-route {
        flex-direction: column;
    }
}

.route-time {
    text-align: center;
}

.time-large {
    font-size: 26px;
    font-weight: 700;
    color: var(--cemt-text);
}

.time-airport {
    font-size: 13px;
    color: var(--cemt-text-light);
    margin-top: 4px;
    font-weight: 500;
}

.route-duration {
    flex: 1;
    text-align: center;
}

.duration-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--cemt-text);
    margin-bottom: 10px;
}

.duration-line {
    position: relative;
    height: 2px;
    background: var(--cemt-border);
    margin: 10px 0;
}

.duration-line .line {
    height: 100%;
    background: var(--cemt-primary);
}

.plane-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 10px;
    font-size: 18px;
}

.stops-text {
    font-size: 12px;
    color: var(--cemt-text-light);
    margin-top: 10px;
    font-weight: 500;
}

.flight-price {
    text-align: center;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--cemt-primary);
    margin-bottom: 6px;
}

.price-label {
    font-size: 12px;
    color: var(--cemt-text-light);
    margin-bottom: 14px;
    font-weight: 500;
}

.flight-book-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--cemt-secondary);
    color: white;
    border: none;
    border-radius: var(--cemt-radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flight-book-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.flight-book-btn:active {
    transform: translateY(0);
}

.flight-toggle-details {
    width: 100%;
    padding: 14px;
    background: var(--cemt-bg-light);
    border: none;
    border-top: 1px solid var(--cemt-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--cemt-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.flight-toggle-details:hover {
    background: var(--cemt-border);
}

.toggle-icon {
    margin-left: 8px;
    font-size: 12px;
}

/* Flight Details */
.flight-details {
    padding: 28px;
    background: var(--cemt-bg-light);
    border-top: 1px solid var(--cemt-border);
}

.itinerary-section {
    margin-bottom: 28px;
}

.itinerary-section h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--cemt-text);
}

.segment-detail {
    background: white;
    border-radius: var(--cemt-radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--cemt-shadow);
}

.segment-header {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--cemt-text-light);
}

.segment-route {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 640px) {
    .segment-route {
        flex-direction: column;
    }
}

.segment-point {
    text-align: center;
    min-width: 100px;
}

.point-time {
    font-size: 22px;
    font-weight: 700;
    color: var(--cemt-text);
}

.point-airport {
    font-size: 14px;
    font-weight: 600;
    color: var(--cemt-text-light);
    margin: 4px 0;
}

.point-date {
    font-size: 12px;
    color: var(--cemt-text-lighter);
}

.segment-middle {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.segment-line {
    width: 100%;
    height: 2px;
    background: var(--cemt-primary);
}

.segment-duration {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cemt-text-light);
}

.layover-info {
    padding: 14px;
    background: #fef3c7;
    border-left: 4px solid var(--cemt-accent);
    margin: 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    border-radius: var(--cemt-radius);
}

.fare-info {
    background: white;
    border-radius: var(--cemt-radius);
    padding: 24px;
    margin-top: 24px;
    box-shadow: var(--cemt-shadow);
}

.fare-info h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--cemt-text);
}

.fare-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

/* Loading & Error States */
.cemt-loading,
.cemt-no-results,
.cemt-error-message {
    text-align: center;
    padding: 80px 20px;
    background: var(--cemt-bg);
    border-radius: var(--cemt-radius-lg);
    box-shadow: var(--cemt-shadow);
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 5px solid var(--cemt-border);
    border-top-color: var(--cemt-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

.no-results-icon,
.error-icon {
    font-size: 72px;
    margin-bottom: 24px;
}

.cemt-no-results h3,
.cemt-error-message h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--cemt-text);
}

.cemt-no-results p,
.cemt-error-message p {
    font-size: 16px;
    color: var(--cemt-text-light);
}

.cemt-error-message {
    background: #fee2e2;
    border: 2px solid #fecaca;
}

.cemt-retry-btn {
    margin-top: 24px;
    padding: 14px 28px;
    background: var(--cemt-danger);
    color: white;
    border: none;
    border-radius: var(--cemt-radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cemt-retry-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.cemt-retry-btn:active {
    transform: translateY(0);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Scrollbar Styling */
.cemt-autocomplete-dropdown::-webkit-scrollbar {
    width: 8px;
}

.cemt-autocomplete-dropdown::-webkit-scrollbar-track {
    background: var(--cemt-bg-light);
}

.cemt-autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: var(--cemt-border);
    border-radius: 4px;
}

.cemt-autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--cemt-text-light);
}