/* Custom-form/css/custom-form.css - REVISED FOR HEIGHT AND ALIGNMENT */
#luxury-booking-wrapper {
    max-width: 800px;
    margin: 10px auto;
    padding: 15px; /* Reduced from 30px */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
	margin-top: 2px;
}

/* Stepper/Progress Bar Styling */
.booking-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px; /* Reduced from 30px */
    padding-bottom: 8px; /* Reduced from 15px */
    border-bottom: 1px solid #eee;
}
.booking-stepper .step {
    flex-grow: 1;
    text-align: center;
    color: #999;
    font-weight: bold;
    position: relative;
    padding-top: 15px;
}
.booking-stepper .step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    line-height: 20px;
    background: #fff;
    color: #999;
    font-size: 12px;
}
.booking-stepper .step.active {
    color: #000;
}
.booking-stepper .step.active::before {
    background: #000; /* Solid circle for active step */
    border-color: #000;
    color: #fff;
}
/* The actual numbers/text from the span will show the step number */
.booking-stepper .step[data-step="1"]::before { content: "1"; }
.booking-stepper .step[data-step="2"]::before { content: "2"; }
.booking-stepper .step[data-step="3"]::before { content: "3"; }

/* Form Step Headings */
.form-step h2 {
    font-size: 0.8em;
    color: #555;
    margin-bottom: 5px;
}
.form-step h3 {
    font-size: 0.8em;
    margin-top: 0;
    margin-bottom: 10px; /* Reduced from 20px */
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 5px; /* Reduced from 10px */
}
.form-step h4 {
    margin-top: 10px; /* Reduced from 20px */
    font-size: 0.7em;
}

/* Tab Controls (One Way / Hourly) */
.tab-controls {
    display: flex;
    margin-bottom: 12px; /* Reduced from 20px */
    border-bottom: 1px solid #ddd;
}
.tab-link {
    padding: 5px 10px; /* Reduced padding */
    cursor: pointer;
    font-weight: bold;
    color: #999;
    border-bottom: 3px solid transparent;
}
.tab-link.active {
    color: #000;
    border-bottom: 3px solid #FFC600; /* Yellow highlight */
}

/* General Form Layout */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 7px; /* Reduced from 15px */
}
.form-group.half-width {
    flex: 1;
}

/* Input Styles */
.form-group label {
    display: block;
    margin-bottom: 3px; /* Reduced from 5px */
    font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px 15px; /* Reduced vertical padding from 10px */
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

/* Buttons */
.next-step-btn, .prev-step-btn, #final-submit-btn {
    background: #FFC600; /* Bright Yellow */
    color: #000;
    border: none;
    padding: 7px 15px; /* Reduced padding */
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: background 0.3s;
}
input[name="big_luggage"] {
    margin-left: 4px !important;
    margin-right: 4px !important;
}
input[name="small_luggage"] {
    margin-left: 4px !important;
    margin-right: 4px !important;
}
input[name="adults"] {
    margin-left: 4px !important;
    margin-right: 4px !important;
}
.prev-step-btn {
    background: #eee;
    color: #555;
    margin-right: 15px;
}
.step-controls {
    margin-top: 15px; /* Reduced from 30px */
    text-align: right;
}
.form-step[data-step="1"] .next-step-btn {
    width: 100%;
    margin-top: 15px; /* Reduced from 20px */
}

/* Return Trip Toggle */
.return-trip-toggle {
    margin: 10px 0 15px; /* Reduced vertical margins */
    font-weight: bold;
    color: #333;
}

/* Passenger Details Toggles (Radio Buttons) */
.booking-for-toggle {
    display: flex;
    gap: 30px;
    margin-bottom: 20px; /* Reduced from 30px */
}
.radio-label {
    padding: 8px 0; /* Reduced padding */
    font-weight: bold;
    cursor: pointer;
    color: #999;
}
.radio-label.active {
    color: #000;
}
.radio-label input[type="radio"] {
    display: none; /* Hide actual radio button */
}

/* Counter Controls (Passengers/Luggage) */
.counts-section h4 {
    margin-bottom: 8px; /* Reduced from 10px */
}
.counter-control {
    display: flex;
    align-items: center;
    margin-bottom: 8px; /* Reduced from 10px */
}
.counter-control input {
    text-align: center;
    border: 1px solid #ddd;
    width: 50px;
    padding: 5px;
}
.counter-control button {
    background: #FFC600;
    color: #000;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    /* FIX: Align the +/- symbols vertically */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Payment Summary */
.confirmation-summary {
    background: #f8f8f8;
    padding: 15px; /* Reduced from 20px */
    border-radius: 4px;
    margin-bottom: 15px; /* Reduced from 20px */
    border: 1px solid #eee;
}
#total-amount-display {
    color: green;
    font-size: 1.5em;
    font-weight: bold;
}
.confirmation-summary div {
    margin-bottom: 8px; /* Reduced from 10px */
    padding-bottom: 8px; /* Reduced from 10px */
    border-bottom: 1px dashed #eee;
    line-height: 1.5;
}
.terms-check {
    margin-top: 20px; /* Reduced from 30px */
}

/* Autocomplete Dropdown Styling */
.autocomplete-results {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 1000; /* Ensure it stays on top of other elements */
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-top: none;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.autocomplete-results li {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9em;
}

.autocomplete-results li:hover {
    background: #f1f1f1;
}

/* Ensure the address inputs are positioned relative so the results align correctly */
.form-group {
    position: relative;
}