/* ============================================================
   MODERN MINIMALIST TRANSFER CSS - COMPLETELY REDESIGNED
   ============================================================ */

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1a3a5c;
    --primary-hover: #0f2840;
    --primary-light: #2d5a8a;
    --secondary-color: #c9a227;
    --secondary-hover: #b8931f;
    --accent-green: #4CAF50;
    --accent-red: #EF5350;
    --dark-gray: #263238;
    --medium-gray: #78909C;
    --light-gray: #ECEFF1;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.at-booking-wrapper {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    /* WordPress Theme Overrides */
    margin-top: 0 !important;
    padding-top: 0 !important;
    /* Remove min-height to prevent gap issues */
    min-height: auto;
    height: auto;
}

/* WordPress Theme Content Area Overrides */
.at-booking-wrapper,
.at-booking-wrapper * {
    box-sizing: border-box;
}

/* Override common WordPress theme containers */
.entry-content .at-booking-wrapper,
.page-content .at-booking-wrapper,
.post-content .at-booking-wrapper,
article .at-booking-wrapper,
.site-content .at-booking-wrapper,
main .at-booking-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Note: We only style elements inside .at-booking-wrapper to avoid affecting site header */

/* Visibility Control for Steps */
.at-step {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.at-step.is-active {
    display: block !important;
    visibility: visible;
    height: auto;
    overflow: visible;
}

/* ============================================================
   HERO SECTION - FULL SCREEN
   ============================================================ */
.at-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
}

.at-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    /* backdrop-filter: blur(2px); Removed to prevent blurriness */
}

.at-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero Title & Subtitle Styling */
.at-hero-text {
    text-align: center;
    margin-bottom: 40px;
}

.at-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 12px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.at-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   TOP CONTROLS - ONE WAY/RETURN + CURRENCY + PASSENGERS
   ============================================================ */
.at-top-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.at-trip-toggle {
    display: flex;
    gap: 0;
    background: transparent;
    border-radius: var(--radius-pill);
    padding: 0;
}

.at-trip-btn {
    padding: 12px 28px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.at-trip-btn.is-active {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
    font-weight: 600;
}

.at-trip-btn:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* Passengers Trigger */
.at-passengers-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.at-passengers-trigger:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.at-passengers-icon {
    font-size: 16px;
    color: var(--primary-green);
}

.at-passengers-label {
    font-weight: 500;
    color: var(--dark-gray);
}

.at-passengers-value {
    color: var(--medium-gray);
    font-weight: 400;
}

/* Passengers Panel Styling */
.at-passengers-panel {
    position: absolute;
    top: 70px;
    right: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    z-index: 1000;
    display: none;
    border: 1px solid #eee;
}

.at-passengers-panel.is-open {
    display: block;
    animation: atFadeIn 0.2s ease-out;
}

.at-passengers-panel-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.at-passengers-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.at-passengers-row span {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 600;
}

.at-passengers-row select {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #e5e7eb;
    outline: none;
    font-family: var(--font-main);
    background: #f9fafb;
}

.at-passengers-ok {
    width: 100%;
    padding: 12px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.at-passengers-ok:hover {
    background: #43a047;
    transform: translateY(-1px);
}

@keyframes atFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   SEARCH FORM - CLEAN WHITE CARD
   ============================================================ */
.at-search-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: inline-block;
    /* Wraps content tightly */
    max-width: 1200px;
    width: 100%;
}

.at-search-bar {
    display: grid;
    /* Adjusted grid: Date (170px) & Time (130px) are now wider */
    grid-template-columns: 1.5fr 1.5fr 170px 160px auto;
    gap: 8px;
    align-items: center;
}

/* Search Field Container */
.at-search-field {
    position: relative;
    background: #F3F4F6;
    /* Light gray background */
    border-radius: 12px;
    padding: 10px 16px;
    height: 72px;
    /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.at-search-field:hover {
    background: #E5E7EB;
}

.at-search-field:focus-within {
    background: #fff;
    border-color: var(--primary-green-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Labels */
.at-search-field label {
    display: block;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9CA3AF;
    /* Muted text */
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    pointer-events: none;
    /* Clicking label focuses input */
}

/* Wrapper for Icon + Input */
.at-field-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Icons */
.at-field-icon {
    font-size: 18px;
    color: var(--primary-green);
    /* Green icons */
    flex-shrink: 0;
    opacity: 0.8;
}

.at-search-field-date .at-field-icon,
.at-search-field-time .at-field-icon {
    color: var(--medium-gray);
}

/* Inputs & Selects */
.at-search-field input,
.at-search-field select {
    border: none;
    background: transparent;
    width: 100%;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    outline: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    /* Removes default shadows */
    appearance: none;
    /* Removes default styling */
    -webkit-appearance: none;
}

/* Custom Placeholder Color */
.at-search-field input::placeholder {
    color: #9CA3AF;
    font-weight: 500;
}

/* Fix for Date Input */
.at-search-field input[type="date"] {
    position: relative;
    color: var(--dark-gray);
    font-family: var(--font-main);
}

/* Custom Calendar Icon (Webkit) */
.at-search-field input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
    cursor: pointer;
    z-index: 10;
}

/* Fix for Time Select */
.at-search-field select {
    cursor: pointer;
}

/* Search Button */
.at-search-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 0 36px;
    height: 68px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.35);
    white-space: nowrap;
}

.at-search-btn:hover {
    background: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.45);
}

.at-search-btn:active {
    transform: translateY(0);
}

.at-update-btn:hover {
    background: #000;
}

.at-back-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: transparent;
    color: var(--medium-gray);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
}

.at-back-btn:hover {
    color: var(--dark-gray);
    text-decoration: underline;
}

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
/* ============================================================
   PROGRESS BAR
   ============================================================ */
.at-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px 0;
    width: 100%;
}

.at-progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--medium-gray);
    opacity: 0.6;
}

.at-progress-step.is-active,
.at-progress-step.is-completed {
    color: var(--primary-green);
    opacity: 1;
}

.at-progress-num,
.at-progress-check {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--medium-gray);
    font-size: 12px;
    font-weight: 700;
}

.at-progress-step.is-active .at-progress-num {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.at-progress-step.is-completed .at-progress-check {
    background: var(--primary-green);
    color: var(--white);
}

.at-progress-arrow {
    color: var(--light-gray);
    font-weight: 300;
    font-size: 18px;
}

/* ============================================================
   SEARCH RESULTS PAGE (STEP 2+)
   ============================================================ */
/* Wrapper for non-hero steps */
.at-step:not([data-step="1"]) {
    padding-top: 20px;
    padding-bottom: 60px;
    background: #f8f9fa;
    min-height: 100vh;
    /* Pull up to eliminate WordPress theme gap */
    margin-top: -80px !important;
    padding-top: 100px !important;
}

/* Main Layout Container */
.at-step-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sidebar Styling */
.at-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    z-index: 90;
}

.at-sidebar-box {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.at-route-map-container {
    position: relative;
    height: 180px;
    background: #e5e7eb;
    overflow: hidden;
}

/* Leaflet/OSM haritası — yükseklik VE genişlik explicit olmalı */
#at-route-map {
    width: 100%;
    height: 100%;
    display: block;
}


.at-map-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
}

.at-mini-search-card {
    padding: 20px;
}

.at-route-type-toggle-premium {
    display: flex;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.at-route-type-toggle-premium .at-route-type-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.at-route-type-toggle-premium .at-route-type-btn.is-active {
    background: #15803d;
    /* Sidebar active green */
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.at-mini-field {
    margin-bottom: 12px;
}

.at-mini-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.at-mini-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 12px;
    height: 44px;
    background: white;
    transition: border-color 0.2s;
}

.at-mini-input-wrap:focus-within {
    border-color: #15803d;
}

.at-mini-icon {
    font-size: 16px;
    margin-right: 8px;
    opacity: 0.7;
}

.at-mini-input-wrap input,
.at-mini-input-wrap select {
    border: none;
    padding: 0;
    height: 100%;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    outline: none;
    background: transparent;
}

.at-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.at-add-return-wrap {
    margin-bottom: 16px;
}

.at-add-return-btn {
    background: transparent;
    border: 1px dashed #15803d;
    color: #15803d;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.at-mini-search-btn {
    width: 100%;
    background: #15803d;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.at-sidebar-info {
    padding: 20px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}

.at-sidebar-info h4 {
    font-size: 14px;
    margin: 0 0 4px 0;
    color: #111827;
}

.at-info-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}

.at-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.at-info-list li {
    font-size: 12px;
    color: #4b5563;
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.at-info-list .at-check {
    color: #15803d;
    font-weight: bold;
}

/* Main Content Area */
.at-main {
    flex-grow: 1;
    width: calc(100% - 304px);
}

/* Override Sidebar Styles to prevent conflicts */
.at-sidebar .at-route-card {
    border: none;
    box-shadow: none;
    padding: 20px;
}

.at-sidebar .at-search-field {
    height: auto !important;
    /* Force override */
    min-height: auto;
    padding: 10px !important;
    margin-bottom: 0;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.at-sidebar .at-field-wrapper,
.at-sidebar .at-field-input {
    display: flex;
    gap: 8px;
    align-items: center;
}

.at-sidebar label {
    font-size: 11px;
    margin-bottom: 4px;
    color: var(--medium-gray);
}

.at-sidebar input,
.at-sidebar select {
    font-size: 13px !important;
    height: auto !important;
}

.at-sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 16px;
}

.at-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.at-summary-item:last-child {
    border-bottom: none;
}

.at-summary-icon {
    font-size: 20px;
    color: var(--primary-green);
}

.at-summary-text {
    flex: 1;
}

.at-summary-label {
    font-size: 12px;
    color: var(--medium-gray);
    text-transform: uppercase;
    font-weight: 600;
}

.at-summary-value {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 600;
}

.at-step-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.at-vehicle-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.at-toolbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.at-toolbar-label {
    font-size: 13px;
    color: #6b7280;
}

.at-toolbar-btn,
#at-filter-order {
    background: white;
    border: 1px solid #d1d5db;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}

#at-filter-order {
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    appearance: none;
}

/* Vehicle Cards - MyTransfers Style */
.at-vehicles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.at-vehicle-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    padding: 24px;
    gap: 24px;
    position: relative;
    border: 1px solid #f3f4f6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.at-vehicle-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.at-vehicle-image-wrap {
    width: 200px;
    flex-shrink: 0;
}

.at-vehicle-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.at-vehicle-details {
    flex: 1;
}

.at-vehicle-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.at-vehicle-name span {
    font-weight: 400;
    color: #6b7280;
    font-size: 14px;
}

.at-vehicle-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.at-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
}

.at-info-item .at-icon {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.at-extra-info-trigger {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.at-extra-info-trigger::before {
    content: "⊕";
    font-size: 18px;
}

.at-vehicle-price-book {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
}

.at-vehicle-price {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.at-price-sub {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 16px;
}

.at-btn-book-now {
    background: #15803d;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.at-btn-book-now:hover {
    background: #166534;
}

.at-vehicle-footer {
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    border-top: 1px solid #f3f4f6;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    /* Space for the hidden absolutely positioned footer if card grows */
}

/* Adjust card padding for footer */
.at-vehicle-card {
    padding-bottom: 60px;
}

.at-footer-link {
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.at-footer-link:hover {
    color: #15803d;
}

/* Loading State */
.at-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
    font-size: 16px;
}

.at-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
    font-size: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   AUTOCOMPLETE DROPDOWN
   ============================================================ */
.ui-autocomplete {
    position: absolute;
    z-index: 10000;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    padding: 8px 0;
    margin-top: 4px;
}

.ui-menu-item {
    list-style: none;
}

.ui-menu-item-wrapper {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ui-menu-item-wrapper:hover,
.ui-state-active {
    background: #f3f4f6;
}

.at-ac-icon {
    font-size: 16px;
    color: var(--accent-red);
    min-width: 20px;
}

.at-ac-content {
    flex: 1;
}

.at-ac-content strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

.at-ac-content span {
    display: block;
    font-size: 12px;
    color: var(--medium-gray);
}

/* Main Content Area Width Fix */
.at-main {
    flex-grow: 1;
    width: calc(100% - 330px);
}

/* ============================================================
   EXTRAS & CHECKOUT STYLES
   ============================================================ */
.at-extras-section,
.at-checkout-section {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
}

.at-extras-section h3,
.at-checkout-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 12px;
}

/* Extra Items Styles */
.at-extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.at-extra-item:last-child {
    border-bottom: none;
}

.at-extra-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--dark-gray);
}

.at-extra-info span {
    font-size: 13px;
    color: var(--medium-gray);
}

.at-extra-price {
    font-weight: 700;
    color: var(--primary-green);
    margin: 0 20px;
}

.at-extra-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.at-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.at-qty-btn:hover {
    background: #f9fafb;
    border-color: var(--dark-gray);
}

.at-extra-qty input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark-gray);
}

/* Return Trip Box */
.at-return-trip-box {
    background: #f0fdf4;
    /* Light green bg */
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid #dcfce7;
}

.at-return-inputs {
    display: flex;
    gap: 12px;
    margin: 12px 0;
}

.at-return-inputs input,
.at-return-inputs select {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    background: white;
}

.at-btn-add-return {
    padding: 0 16px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

/* Checkout Form Grid */
.at-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.at-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.at-form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
}

.at-form-field input,
.at-form-field textarea,
.at-form-field select {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    width: 100%;
    background: var(--white);
    transition: border-color 0.2s;
}

.at-form-field input:focus,
.at-form-field textarea:focus,
.at-form-field select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.at-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.at-form-field-phone .at-phone-input {
    display: flex;
    gap: 8px;
}

.at-phone-input select {
    width: 110px;
    flex-shrink: 0;
}

/* Form Action Buttons */
.at-step-actions {
    display: flex;
    justify-content: flex-end;
    /* Align next button to right */
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.at-btn-next-step,
.at-btn-submit {
    padding: 14px 40px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.at-btn-next-step:hover,
.at-btn-submit:hover {
    background: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.25);
}

.at-btn-back-step {
    background: transparent;
    color: var(--medium-gray);
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.at-btn-back-step:hover {
    color: var(--dark-gray);
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .at-search-bar {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .at-search-btn {
        grid-column: 1 / -1;
        height: 56px;
    }

    .at-vehicle-card {
        grid-template-columns: 140px 1fr;
        gap: 16px;
    }

    .at-vehicle-price-section {
        grid-column: 1 / -1;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--light-gray);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .at-hero {
        padding: 20px 16px;
        min-height: 100vh;
    }

    .at-top-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .at-trip-toggle {
        width: 100%;
        justify-content: center;
    }

    .at-passengers-trigger {
        width: 100%;
        justify-content: center;
    }

    .at-search-form {
        padding: 12px;
    }

    .at-search-bar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .at-search-field {
        padding: 10px 14px;
    }

    .at-search-field label {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .at-field-icon {
        font-size: 16px;
    }

    .at-search-field input,
    .at-search-field select {
        font-size: 13px;
    }

    .at-search-btn {
        height: 52px;
        font-size: 15px;
    }

    .at-vehicle-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .at-vehicle-image img {
        height: 160px;
    }

    .at-vehicle-price-section {
        text-align: center;
        flex-direction: column;
        gap: 12px;
    }

    .at-btn-book-now {
        width: 100%;
    }
}

/* Extra Small */
@media (max-width: 480px) {
    .at-search-field {
        padding: 8px 12px;
    }

    .at-search-btn {
        height: 48px;
        padding: 0 24px;
    }

    .at-trip-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.ui-helper-hidden-accessible {
    display: none !important;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 768px) {
    .at-hero-title {
        font-size: 32px;
    }

    .at-hero-subtitle {
        font-size: 16px;
    }

    .at-hero-text {
        margin-bottom: 30px;
    }

    .at-search-bar {
        grid-template-columns: 1fr;
    }

    .at-top-controls {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Progress Bar Fixes */
.at-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    /* Moderate padding */
    margin: 0 0 30px 0;
    /* Bottom margin mostly */
}

.at-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--medium-gray);
    font-weight: 600;
    font-size: 14px;
}

.at-progress-step.is-active {
    color: var(--primary-green);
}

.at-progress-num,
.at-progress-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
    color: var(--dark-gray);
    font-size: 12px;
}

.at-progress-step.is-active .at-progress-num,
.at-progress-step.is-active .at-progress-check {
    background: var(--primary-green);
    color: white;
}

.at-progress-arrow {
    color: #9ca3af;
    font-size: 18px;
}

/* ============================================================
   PREMIUM SIDEBAR SUMMARY CARD
   ============================================================ */
.at-sidebar-summary {
    position: sticky;
    top: 100px;
}

.at-summary-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.at-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.at-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
    font-size: 12px;
}

/* Vehicle Section */
.at-summary-vehicle {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.at-summary-vehicle-img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 8px;
}

.at-summary-vehicle-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.at-summary-vehicle-details strong {
    font-size: 16px;
    color: #1a1a2e;
}

.at-summary-trip-type {
    display: inline-block;
    padding: 2px 8px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
}

.at-summary-vehicle-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 4px;
}

/* Route Section */
.at-summary-route {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.at-summary-route-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.at-route-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.at-route-dot-pickup {
    background: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.at-route-dot-dropoff {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.at-route-line {
    position: absolute;
    left: 25px;
    top: 40px;
    width: 2px;
    height: 40px;
    background: repeating-linear-gradient(to bottom,
            #d1d5db 0px,
            #d1d5db 4px,
            transparent 4px,
            transparent 8px);
}

.at-route-text {
    display: flex;
    flex-direction: column;
}

.at-route-text small {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.at-route-text span {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    word-break: break-word;
}

.at-summary-route-point+.at-route-line+.at-summary-route-point {
    margin-top: 24px;
}

/* Section Styles */
.at-summary-section {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.at-summary-section:last-of-type {
    border-bottom: none;
}

.at-summary-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.at-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.at-summary-row span {
    color: #6b7280;
    font-size: 14px;
}

.at-summary-row strong {
    color: #1a1a2e;
    font-size: 14px;
}

/* Return Journey - Special Styling */
.at-summary-return {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    margin: 0 12px 12px;
    border: none !important;
}

.at-summary-return .at-summary-section-title {
    color: #92400e;
}

/* Extras Section */
.at-summary-extras {
    background: #f0fdf4;
    border-radius: 8px;
    margin: 0 12px 12px;
    border: none !important;
}

.at-summary-extras-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
}

.at-summary-extras-item span:first-child {
    color: #374151;
}

.at-summary-extras-item span:last-child {
    color: #059669;
    font-weight: 500;
}

/* Price Breakdown */
.at-summary-breakdown {
    padding: 16px 20px;
    background: #f9fafb;
}

.at-summary-breakdown .at-summary-row {
    padding: 4px 0;
}

.at-summary-breakdown .at-summary-row span {
    font-size: 13px;
}

/* Total */
.at-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.at-summary-total span {
    font-size: 16px;
    font-weight: 500;
}

.at-summary-total strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
}

/* Responsive */
@media (max-width: 768px) {
    .at-sidebar-summary {
        position: static;
        order: -1;
        margin-bottom: 20px;
    }

    .at-summary-vehicle {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .at-summary-vehicle-img {
        width: 100%;
        max-width: 200px;
    }
}

/* ==========================================================================
   PREMIUM SIDEBAR SUMMARY STYLES
   ========================================================================== */

.at-sidebar-summary {
    position: sticky;
    top: 100px;
}

.at-summary-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header */
.at-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

.at-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
}

/* Vehicle Info */
.at-summary-vehicle {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.at-summary-vehicle-img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9fafb;
}

.at-summary-vehicle-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.at-summary-vehicle-details strong {
    font-size: 15px;
    color: #1a1a2e;
}

.at-summary-trip-type {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.at-summary-vehicle-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-green);
}

/* Route Info */
.at-summary-route {
    padding: 20px;
    background: #f9fafb;
    position: relative;
}

.at-summary-route-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.at-route-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}

.at-route-dot-pickup {
    background: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.at-route-dot-dropoff {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.at-route-line {
    position: absolute;
    left: 26px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-green), #ef4444);
    z-index: 0;
}

.at-route-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 16px;
}

.at-route-text:last-child {
    padding-bottom: 0;
}

.at-route-text small {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.at-route-text span {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    line-height: 1.4;
}

/* Sections */
.at-summary-section {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.at-summary-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.at-summary-section-title span {
    font-size: 16px;
}

.at-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.at-summary-row span {
    font-size: 13px;
    color: #6b7280;
}

.at-summary-row strong {
    font-size: 14px;
    color: #1a1a2e;
    font-weight: 600;
}

/* Return Journey */
.at-summary-return {
    background: #f0fdf4;
    border: none;
}

.at-summary-return .at-summary-section-title {
    color: #059669;
}

/* Extras Section */
.at-summary-extras {
    background: #eff6ff;
}

.at-summary-extras .at-summary-section-title {
    color: #2563eb;
}

/* Price Breakdown */
.at-summary-breakdown {
    padding: 16px 20px;
    background: #f9fafb;
}

.at-summary-breakdown .at-summary-row {
    padding: 6px 0;
}

.at-summary-breakdown .at-summary-row span:last-child {
    font-weight: 500;
    color: #374151;
}

/* Total */
.at-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    border-radius: 0 0 16px 16px;
}

.at-summary-total span {
    font-size: 16px;
    font-weight: 500;
}

.at-summary-total strong {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-green);
}

/* Responsive for Premium Sidebar */
@media (max-width: 992px) {
    .at-sidebar-summary {
        position: static;
        order: -1;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .at-summary-card {
        border-radius: 12px;
    }

    .at-summary-vehicle {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .at-summary-vehicle-img {
        width: 100%;
        max-width: 180px;
    }

    .at-summary-vehicle-details {
        align-items: center;
    }

    .at-route-line {
        left: 26px;
    }

    .at-summary-total strong {
        font-size: 22px;
    }
}

/* ==========================================================================
   CONFIRMATION PAGE STYLES
   ========================================================================== */

.at-step-confirmation {
    padding: 40px 20px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 50%, #f5f3ff 100%);
}

.at-confirmation-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.at-confirmation-header {
    text-align: center;
    margin-bottom: 40px;
}

.at-confirmation-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.at-confirmation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    color: #fff;
    animation: confirmPulse 2s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
}

@keyframes confirmPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(34, 197, 94, 0.6);
    }
}

.at-confirmation-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.at-confirmation-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

/* Confirmation Content */
.at-confirmation-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Confirmation Card */
.at-confirmation-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.at-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #f9fafb;
    border-bottom: 1px solid #f0f0f0;
}

.at-card-icon {
    font-size: 24px;
}

.at-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
}

.at-card-body {
    padding: 24px;
}

/* Reference Card */
.at-confirmation-reference {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: none;
}

.at-confirmation-reference .at-reference-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 24px;
    text-align: center;
}

.at-reference-badge span {
    font-size: 14px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.at-reference-badge strong {
    font-size: 42px;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: 2px;
}

.at-email-sent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    margin: 0;
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
    font-size: 14px;
}

.at-email-sent strong {
    color: #fff;
}

/* Grid Layout */
.at-confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Detail Rows */
.at-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.at-detail-label {
    font-size: 14px;
    color: #6b7280;
}

.at-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.at-detail-value.at-badge {
    padding: 4px 12px;
    background: #e8f5e9;
    color: #16a34a;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.at-detail-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 16px 0;
}

/* Route in Confirmation */
.at-confirm-route {
    position: relative;
    padding: 8px 0;
}

.at-confirm-route-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.at-route-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.at-route-marker-pickup {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}

.at-route-marker-dropoff {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.at-route-connector {
    position: absolute;
    left: 15px;
    top: 36px;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #22c55e, #ef4444);
    z-index: 0;
}

.at-route-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 24px;
}

.at-route-info:last-child,
.at-confirm-route-point:last-child .at-route-info {
    padding-bottom: 0;
}

.at-route-info small {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.at-route-info span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

/* DateTime */
.at-confirm-datetime {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.at-datetime-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    flex: 1;
    min-width: 160px;
}

.at-datetime-icon {
    font-size: 24px;
}

.at-datetime-item div {
    display: flex;
    flex-direction: column;
}

.at-datetime-item small {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
}

.at-datetime-item span {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

/* Payment Total */
.at-confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    margin: 8px 0;
}

.at-confirm-total span {
    font-size: 16px;
    color: #9ca3af;
}

.at-confirm-total strong {
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
}

/* Payment Method Card */
.at-payment-method-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.at-payment-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.at-payment-method-header .at-payment-icon {
    font-size: 28px;
}

.at-payment-method-header div {
    display: flex;
    flex-direction: column;
}

.at-payment-method-header strong {
    font-size: 14px;
    color: #1a1a2e;
}

.at-payment-method-header small {
    font-size: 12px;
    color: #6b7280;
}

.at-payment-status {
    padding: 6px 14px;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Extras List */
.at-extras-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.at-extras-list .at-extra-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 14px;
    color: #166534;
}

/* Next Steps */
.at-next-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.at-next-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.at-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.at-step-content {
    flex: 1;
}

.at-step-content strong {
    display: block;
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.at-step-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Action Buttons */
.at-confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.at-btn-print,
.at-btn-new-booking {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.at-btn-print {
    background: #fff;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.at-btn-print:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.at-btn-new-booking {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.at-btn-new-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

/* Responsive Confirmation */
@media (max-width: 768px) {
    .at-confirmation-grid {
        grid-template-columns: 1fr;
    }

    .at-confirmation-title {
        font-size: 28px;
    }

    .at-confirmation-icon {
        width: 80px;
        height: 80px;
    }

    .at-confirmation-icon svg {
        width: 36px;
        height: 36px;
    }

    .at-reference-badge strong {
        font-size: 32px;
    }

    .at-confirm-datetime {
        flex-direction: column;
        gap: 12px;
    }

    .at-datetime-item {
        min-width: 100%;
    }

    .at-confirm-total strong {
        font-size: 24px;
    }

    .at-confirmation-actions {
        flex-direction: column;
    }

    .at-btn-print,
    .at-btn-new-booking {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {

    /* Hide everything by default */
    body * {
        visibility: hidden;
    }

    /* WordPress/Theme Elements Hide */
    header,
    footer,
    .sidebar,
    #header,
    #footer,
    #sidebar,
    .site-header,
    .site-footer {
        display: none !important;
    }

    /* Show only confirmation wrapper and its children */
    .at-booking-wrapper,
    .at-booking-wrapper * {
        visibility: visible;
    }

    .at-booking-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: white;
    }

    /* Hide other booking steps if they are somehow visible */
    .at-step {
        display: none !important;
    }

    .at-step-confirmation {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 20px !important;
        background: #fff;
        min-height: auto;
    }

    .at-confirmation-wrapper {
        max-width: 100%;
        margin: 0;
        box-shadow: none;
    }

    .at-confirmation-actions {
        display: none !important;
    }

    .at-confirmation-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .at-confirmation-icon {
        animation: none;
        box-shadow: none;
        border: 2px solid #22c55e;
        /* Ensure background color prints */
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Force background colors */
    .at-confirmation-reference {
        color: #000;
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .at-reference-badge strong {
        color: #166534 !important;
    }
}

/* ============================================================
   PHOTON/OSM AUTOCOMPLETE - PREMIUM CUSTOM STYLING
   (jQuery UI Autocomplete dropdown)
   ============================================================ */
.ui-autocomplete {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(26, 58, 92, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.08) !important;
    margin-top: 8px !important;
    padding: 0 !important;
    z-index: 100000 !important;
    overflow: hidden;
    border: 1px solid rgba(26, 58, 92, 0.08) !important;
    animation: at-ac-slide-in 0.2s ease-out;
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

@keyframes at-ac-slide-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual Items */
.ui-autocomplete .ui-menu-item {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    list-style: none !important;
}

.ui-autocomplete .ui-menu-item-wrapper {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    position: relative;
}

.ui-autocomplete .ui-menu-item:last-child .ui-menu-item-wrapper {
    border-bottom: none;
}

.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
    background: linear-gradient(90deg, #e8f4fd 0%, #f8fafc 100%) !important;
    color: inherit !important;
    border-color: transparent !important;
    margin: 0 !important;
}

/* Autocomplete Item Layout */
.at-ac-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.at-ac-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 58, 92, 0.08);
    border-radius: 12px;
    color: #1a3a5c;
    font-size: 16px;
    transition: all 0.2s ease;
}

.ui-menu-item-wrapper:hover .at-ac-icon {
    background: rgba(26, 58, 92, 0.15);
    transform: scale(1.05);
}

.at-ac-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.at-ac-content strong {
    font-size: 14px;
    font-weight: 600;
    color: #1a3a5c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.at-ac-content span {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 768px) {
    .ui-autocomplete {
        border-radius: 12px !important;
    }

    .ui-autocomplete .ui-menu-item-wrapper {
        padding: 10px 14px !important;
    }

    .at-ac-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 10px;
        font-size: 14px;
    }

    .at-ac-content strong {
        font-size: 13px;
    }
}

/* ============================================================
   BUTTON COLOR UPDATES - BRAND COLORS
   ============================================================ */
/* Primary Buttons - Navy Blue */
.at-search-btn,
.at-btn-book-now,
.at-btn-next-step,
.at-btn-submit,
.at-passengers-ok,
.at-mini-search-btn,
.at-btn-add-return {
    background: var(--primary-color) !important;
    box-shadow: 0 4px 16px rgba(26, 58, 92, 0.35);
}

.at-search-btn:hover,
.at-btn-book-now:hover,
.at-btn-next-step:hover,
.at-btn-submit:hover,
.at-passengers-ok:hover,
.at-mini-search-btn:hover,
.at-btn-add-return:hover {
    background: var(--primary-hover) !important;
    box-shadow: 0 6px 24px rgba(26, 58, 92, 0.45);
}

/* Trip Toggle Active */
.at-trip-btn.is-active {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.35);
}

/* Sidebar Active Button */
.at-route-type-toggle-premium .at-route-type-btn.is-active {
    background: var(--primary-color);
}

/* Progress Bar Active */
.at-progress-step.is-active .at-progress-num,
.at-progress-step.is-completed .at-progress-check {
    background: var(--primary-color);
}

/* Secondary Elements - Gold/Yellow Accent */
.at-add-return-btn {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.at-add-return-btn:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Icons and Accents */
.at-field-icon,
.at-passengers-icon,
.at-summary-icon,
.at-info-list .at-check {
    color: var(--primary-color);
}

/* New Booking Button - Keep Green for Success */
.at-btn-new-booking {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

/* ============================================================
   MOBILE RESPONSIVE FIXES - COMPREHENSIVE
   ============================================================ */
@media (max-width: 992px) {

    /* Step Layout - Stack sidebar and main */
    .at-step-layout {
        flex-direction: column;
    }

    .at-sidebar {
        width: 100%;
        position: static;
        order: -1;
        margin-bottom: 20px;
    }

    .at-main {
        width: 100%;
    }
}

@media (max-width: 768px) {

    /* Remove top gap on steps */
    .at-step:not([data-step="1"]) {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }

    /* Hero Section */
    .at-hero {
        min-height: auto;
        padding: 40px 16px;
    }

    .at-hero-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .at-hero-subtitle {
        font-size: 14px;
    }

    /* Progress Bar Mobile */
    .at-progress {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .at-progress-step {
        font-size: 12px;
    }

    .at-progress-step span:not(.at-progress-num):not(.at-progress-check) {
        display: none;
    }

    .at-progress-arrow {
        font-size: 14px;
    }

    /* Vehicle Cards Mobile */
    .at-vehicle-card {
        flex-direction: column;
        padding: 16px;
        padding-bottom: 70px;
        gap: 16px;
    }

    .at-vehicle-image-wrap {
        width: 100%;
        text-align: center;
    }

    .at-vehicle-image-wrap img {
        max-width: 200px;
        margin: 0 auto;
    }

    .at-vehicle-details {
        text-align: center;
    }

    .at-vehicle-info-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .at-vehicle-price-book {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .at-vehicle-footer {
        left: 16px;
        right: 16px;
    }

    /* Sidebar Mobile */
    .at-sidebar-box {
        margin-bottom: 16px;
    }

    .at-mini-search-card {
        padding: 16px;
    }

    .at-mini-grid {
        grid-template-columns: 1fr;
    }

    /* Summary Card Mobile */
    .at-summary-card {
        border-radius: 12px;
    }

    .at-summary-vehicle {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Form Grid Mobile */
    .at-form-grid {
        grid-template-columns: 1fr;
    }

    /* Extras Section Mobile */
    .at-extra-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .at-extra-qty {
        align-self: flex-end;
    }

    /* Journey Card Mobile */
    .at-summary-route {
        padding: 16px;
    }

    .at-route-point {
        padding-left: 24px;
    }

    .at-route-line {
        left: 20px;
    }

    /* Step Actions Mobile */
    .at-step-actions {
        flex-direction: column;
        gap: 12px;
    }

    .at-btn-next-step,
    .at-btn-submit {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Checkout Section Mobile */
    .at-checkout-section {
        padding: 16px;
    }

    .at-checkout-section h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    /* Extra small screens */
    .at-hero {
        padding: 30px 12px;
    }

    .at-hero-title {
        font-size: 22px;
    }

    .at-search-form {
        padding: 10px;
    }

    .at-search-field {
        padding: 8px 12px;
        height: auto;
        min-height: 60px;
    }

    .at-search-btn {
        height: 48px;
        font-size: 14px;
    }

    .at-trip-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .at-passengers-trigger {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Vehicle Card Extra Small */
    .at-vehicle-card {
        padding: 12px;
        padding-bottom: 65px;
    }

    .at-vehicle-name {
        font-size: 14px;
    }

    .at-vehicle-price {
        font-size: 20px;
    }

    .at-btn-book-now {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Summary Card Extra Small */
    .at-summary-total strong {
        font-size: 20px;
    }
}

/* ============================================================
   OSM SUGGEST LIST STYLING (Fallback)
   ============================================================ */
.at-osm-suggest-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10000;
}

.at-osm-suggest-item {
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #374151;
    transition: background 0.15s ease;
}

.at-osm-suggest-item:last-child {
    border-bottom: none;
}

.at-osm-suggest-item:hover {
    background: #f8fafc;
}

/* ============================================================
   FLATPICKR CALENDAR - PREMIUM STYLING
   ============================================================ */
.flatpickr-calendar {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(26, 58, 92, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    width: 320px !important;
    overflow: hidden;
    animation: calendar-slide-in 0.2s ease-out;
}

@keyframes calendar-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Calendar Header */
.flatpickr-months {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8a 100%) !important;
    padding: 16px 12px !important;
    border-radius: 16px 16px 0 0 !important;
}

.flatpickr-months .flatpickr-month {
    height: auto !important;
    color: #fff !important;
}

.flatpickr-current-month {
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: transparent !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Month Navigation Arrows */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: #fff !important;
    color: #fff !important;
    padding: 8px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    fill: #fff !important;
    width: 14px !important;
    height: 14px !important;
}

/* Weekdays Header */
.flatpickr-weekdays {
    background: #f8fafc !important;
    padding: 12px 0 8px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.flatpickr-weekday {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Days Container */
.flatpickr-innerContainer {
    padding: 8px 12px 12px !important;
}

.flatpickr-days {
    width: 100% !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 4px 0 !important;
}

/* Individual Day Cells */
.flatpickr-day {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    border-radius: 10px !important;
    margin: 2px !important;
    transition: all 0.15s ease !important;
    border: none !important;
}

.flatpickr-day:hover {
    background: #e8f4fd !important;
    color: #1a3a5c !important;
    border: none !important;
}

/* Selected Day */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8a 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.3) !important;
}

/* Today */
.flatpickr-day.today {
    background: rgba(201, 162, 39, 0.15) !important;
    color: #c9a227 !important;
    font-weight: 700 !important;
    border: 2px solid #c9a227 !important;
}

.flatpickr-day.today:hover {
    background: #c9a227 !important;
    color: #fff !important;
}

/* Disabled Days */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #d1d5db !important;
}

.flatpickr-day.flatpickr-disabled:hover {
    background: transparent !important;
    cursor: not-allowed !important;
}

/* Weekend Days */
.flatpickr-day.flatpickr-sun,
.flatpickr-day.flatpickr-sat {
    color: #ef4444 !important;
}

/* Range Selection */
.flatpickr-day.inRange {
    background: #e8f4fd !important;
    box-shadow: none !important;
}

/* Clear & Today Buttons (if enabled) */
.flatpickr-innerContainer+div {
    padding: 10px 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    justify-content: space-between !important;
}

/* ============================================================
   FLATPICKR CALENDAR - COLORFUL REDESIGN
   ============================================================ */
body .flatpickr-calendar {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(26, 58, 92, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.05) !important;
    padding: 0 !important;
    width: 320px !important;
    overflow: hidden;
    animation: none !important;
    /* Disable potential conflicting animation */
    z-index: 9999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    margin-top: 5px !important;
}

@keyframes calendar-pop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Material Header */
body .flatpickr-months {
    background: #1a3a5c !important;
    /* Solid Navy Blue */
    padding: 15px 0 !important;
    align-items: center !important;
    position: relative !important;
    min-height: 50px !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
}

body .flatpickr-months .flatpickr-month {
    height: auto !important;
    color: #fff !important;
    overflow: visible !important;
}

body .flatpickr-current-month {
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding-top: 4px !important;
}

body .flatpickr-current-month .flatpickr-monthDropdown-months,
body .flatpickr-current-month input.cur-year {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: transparent !important;
    border: none !important;
    padding: 0 4px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-current-month input.cur-year:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
}

/* White Dropdown Arrows */
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: #fff !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: #fff !important;
}

/* Navigation Arrows (Simple White Chevrons) */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    height: 32px !important;
    width: 32px !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #fff !important;
    fill: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    z-index: 3 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
}

.flatpickr-months .flatpickr-prev-month {
    left: 10px !important;
}

.flatpickr-months .flatpickr-next-month {
    right: 10px !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    fill: #fff !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #fff !important;
    fill: #fff !important;
}

/* Weekdays (Material Blue Extension) */
body .flatpickr-weekdays {
    background: #1a3a5c !important;
    /* Header ile aynı */
    padding: 0 10px 10px !important;
    margin: 0 !important;
    height: 30px !important;
    align-items: center !important;
    display: flex !important;
}

body span.flatpickr-weekday {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    /* Pzt, Sal... */
    letter-spacing: 0.5px !important;
    background: transparent !important;
}

/* Days Grid */
.flatpickr-innerContainer {
    background: #fff !important;
    padding: 10px !important;
    border-radius: 0 0 16px 16px !important;
}

.flatpickr-days {
    width: 100% !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    justify-content: space-between !important;
}

/* Individual Days (Material Boxy Look) */
body .flatpickr-day {
    max-width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    margin: 2px !important;
    border-radius: 8px !important;
    font-weight: 400 !important;
    color: #333 !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.flatpickr-day:hover {
    background: #e3f2fd !important;
    /* Light blue hover */
    color: #1a3a5c !important;
}

/* Today (Outline Box) */
body .flatpickr-day.today {
    background: transparent !important;
    color: #1a3a5c !important;
    border: 1px solid #1a3a5c !important;
    font-weight: 600 !important;
    position: relative;
    box-shadow: none !important;
}

.flatpickr-day.today:hover {
    background: #1a3a5c !important;
    color: #fff !important;
}

.flatpickr-day.today::after {
    display: none !important;
    /* Remove dot */
}

/* Selected Day (Solid Blue) */
body .flatpickr-day.selected,
body .flatpickr-day.startRange,
body .flatpickr-day.endRange,
body .flatpickr-day.selected.inRange,
body .flatpickr-day.startRange.inRange,
body .flatpickr-day.endRange.inRange,
body .flatpickr-day.selected:focus,
body .flatpickr-day.startRange:focus,
body .flatpickr-day.endRange:focus,
body .flatpickr-day.selected:hover,
body .flatpickr-day.startRange:hover,
body .flatpickr-day.endRange:hover,
body .flatpickr-day.selected.prevMonthDay,
body .flatpickr-day.startRange.prevMonthDay,
body .flatpickr-day.endRange.prevMonthDay,
body .flatpickr-day.selected.nextMonthDay,
body .flatpickr-day.startRange.nextMonthDay,
body .flatpickr-day.endRange.nextMonthDay {
    background: #1a3a5c !important;
    color: #ffffff !important;
    border-color: #1a3a5c !important;
    box-shadow: 0 4px 10px rgba(26, 58, 92, 0.3) !important;
    font-weight: 600 !important;
}

.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: #1a3a5c !important;
    color: #ffffff !important;
    border-color: #1a3a5c !important;
    box-shadow: 0 4px 10px rgba(26, 58, 92, 0.3) !important;
}

/* Range */
.flatpickr-day.inRange {
    background: #f1f5f9 !important;
    border-color: #f1f5f9 !important;
    box-shadow: -5px 0 0 #f1f5f9, 5px 0 0 #f1f5f9 !important;
}

/* Weekend Styling - Optional */
.flatpickr-day.flatpickr-sun,
.flatpickr-day.flatpickr-sat {
    color: #ef4444 !important;
}

/* Disabled */
.flatpickr-day.flatpickr-disabled {
    color: #cbd5e1 !important;
    background: transparent !important;
    cursor: default !important;
}

/* ============================================================
   TIME PICKER - FIXED ICON & DESIGN
   ============================================================ */
.at-search-field select,
.at-mini-field select,
select[name*="time"],
select.at-time-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #fff !important;
    /* Opak background, arkadaki ikonu kapatır */
    /* Sadece ok ikonu sağda */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 24px !important;
    padding-left: 12px !important;
    padding-right: 32px !important;
    cursor: pointer !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 54px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    position: relative !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* Eğer wrapper'da ikon varsa input text'ini kaydır */
.at-search-field:has(.icon-time) select,
.at-mini-field:has(.icon-time) select {
    padding-left: 44px !important;
}

.at-search-field select:hover,
.at-mini-field select:hover {
    border-color: #1a3a5c !important;
    box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.05) !important;
}

.at-search-field select:focus,
.at-mini-field select:focus {
    border-color: #1a3a5c !important;
    box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.1) !important;
    outline: none !important;
}


/* ============================================================
   OSM SIDEBAR SUGGEST LIST STYLING
   ============================================================ */
.at-osm-suggest-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Poppins', sans-serif;
}

.at-osm-suggest-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.at-osm-suggest-item:hover {
    background: #f1f5f9;
}

.at-osm-suggest-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.at-osm-suggest-item:first-child {
    border-radius: 12px 12px 0 0;
}

/* ============================================================ 
   PREMIUM CHECKOUT SECTION STYLES 
   ============================================================ */

/* Primary Colors */
:root {
    --at-primary: #1a3a5c;
    --at-accent: #c9a227;
    --at-green: #15803d;
    --at-bg-light: #f8fafc;
}

/* Section Cards */
.at-checkout-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.at-checkout-section:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.at-checkout-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--at-primary);
    border-radius: 4px 0 0 4px;
}

/* Headings */
.at-checkout-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--at-primary);
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.at-section-subtitle {
    margin-top: -16px;
    margin-bottom: 24px;
    color: #64748b;
    font-size: 0.95rem;
}

/* Form Fields */
.at-form-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.at-form-field input,
.at-form-field select,
.at-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.at-form-field input:focus,
.at-form-field select:focus,
.at-form-field textarea:focus {
    outline: none;
    border-color: var(--at-primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.1);
}

.at-form-field input::placeholder {
    color: #94a3b8;
}

/* Sidebar (Transfer Summary) */
.at-sidebar .at-sidebar-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* More prominent shadow */
    border: none;
    overflow: hidden;
}

.at-sidebar .at-sidebar-info h4 {
    /* Title */
    background: var(--at-primary);
    color: #ffffff;
    margin: -20px -20px 20px -20px;
    /* Stretch to edges */
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.at-sidebar-info {
    padding: 24px;
    background: #fff;
    /* Ensure white bg */
    border: none;
}

.at-info-list li {
    font-size: 0.95rem;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    display: flex;
    justify-content: space-between;
}

.at-info-list li:last-child {
    border-bottom: none;
}

.at-info-list li span:first-child {
    color: #64748b;
}

.at-info-list li span:last-child,
.at-info-list li strong {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

/* Price Highlight in Sidebar */
.at-sidebar-total {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.at-sidebar-total small {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.at-sidebar-total .total-price {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--at-green);
    /* Green for price */
    line-height: 1.2;
}

/* Primary Button (Book Now) */
.at-btn-book {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(22, 101, 52, 0.2);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.at-btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 101, 52, 0.3);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Flight Notice */
.at-flight-notice {
    background: #dbeafe;
    /* Blue-50 */
    border: 1px solid #bfdbfe;
    /* Blue-200 */
    color: #1e40af;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* ============================================================ 
   EXTRAS & PHONE FIXES (PREMIUM)
   ============================================================ */

/* PHONE INPUT FIX */
.at-phone-input {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
}

.at-phone-input select {
    width: 140px !important;
    /* Fixed width for country code */
    min-width: 140px !important;
    flex-shrink: 0 !important;
    background-position: right 8px center !important;
    padding-right: 24px !important;
}

.at-phone-input input {
    flex-grow: 1 !important;
    /* Takes remaining space */
    width: auto !important;
    /* Override full width */
}

/* EXTRAS SECTION */
.at-extras-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid #f1f5f9;
}

.at-extras-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--at-primary, #1a3a5c);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

/* Return Trip Box */
.at-return-trip-box {
    background: #f0fdf4;
    /* Light green bg */
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 24px;
}

.at-return-trip-box p {
    color: #166534;
    font-weight: 600;
    margin-bottom: 12px;
}

.at-return-inputs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.at-return-inputs input,
.at-return-inputs select {
    padding: 10px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #fff;
    color: #14532d;
    font-weight: 500;
}

.at-btn-add-return {
    background: #15803d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(21, 128, 61, 0.2);
}

.at-btn-add-return:hover {
    background: #166534;
    transform: translateY(-1px);
}

/* Extra Items List */
.at-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.at-extra-item:last-child {
    border-bottom: none;
}

.at-extra-info strong {
    display: block;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 4px;
}

.at-extra-info span {
    font-size: 0.85rem;
    color: #64748b;
}

.at-extra-price {
    font-weight: 700;
    color: var(--at-primary, #1a3a5c);
    font-size: 1.1rem;
    margin: 0 20px;
}

/* Quantity Buttons */
.at-extra-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.at-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #1e293b;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-qty-btn:hover {
    background: var(--at-primary, #1a3a5c);
    color: #fff;
}

.at-extra-qty input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

/* Special Requests Textarea */
#at_special_requests {
    width: 100%;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.2s;
}

#at_special_requests:focus {
    background: #fff;
    border-color: var(--at-primary, #1a3a5c);
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.1);
}

/* ============================================================ 
   SIDEBAR SELECT FIX 
   ============================================================ */
.at-mini-field .at-mini-input-wrap {
    padding: 0 !important;
}

.at-mini-field select {
    border: none !important;
    height: 44px !important;
    /* Match wrapper height */
    min-height: 44px !important;
    background-color: transparent !important;
    /* Re-apply arrow icon specifically for sidebar to ensure it shows */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 2px center !important;
    background-size: 20px !important;
    padding-left: 10px !important;
    padding-right: 22px !important;
    font-size: 13px !important;
    width: 100% !important;
    color: #111827 !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* ============================================================ 
   MOBILE LAYOUT REORDER (VEHICLES FIRST)
   ============================================================ */
@media (max-width: 991px) {
    .at-step-layout {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
    }

    .at-sidebar {
        width: 100% !important;
        position: static !important;
        /* Disable sticky on mobile */
        margin-top: 30px !important;
    }

    .at-main {
        width: 100% !important;
    }
}