/* Reservation Wizard Styles */
:root {
    --l7r-primary: #000;
    --l7r-accent: #e63946;
    --l7r-gray: #f8f9fa;
    --l7r-border: #ddd;
}

.l7r-wizard-container {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.l7r-steps {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--l7r-border);
}

.l7r-step {
    padding: 15px 30px;
    color: #999;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.l7r-step.active {
    color: #000;
}

.l7r-step.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

.l7r-step-content {
    display: none;
}

.l7r-step-content.active {
    display: block;
}

/* Step 1: Route Selection */
.l7r-route-selection {
    display: flex;
    gap: 30px;
}

.l7r-form-left {
    flex: 1;
    max-width: 500px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Adds the card look */
    border: 1px solid #eee; /* Clean outer border */
    overflow: hidden;
}

.l7r-map-right {
    flex: 1;
    height: 450px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
}

#l7r-map {
    width: 100%;
    height: 100%;
}

.l7r-tabs {
    display: flex;
    background: #f8f9fa; /* Inactive tab background */
    margin-bottom: 0; /* Removing margin to connect with inputs */
    padding: 0;
    border-bottom: 1px solid #eee;
}

.l7r-tab {
    flex: 1;
    border: none;
    padding: 18px 10px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
}

.l7r-tab.active {
    background: #fff;
    color: #000;
    box-shadow: none; /* Removed the old ugly shadow */
    border-top: 3px solid transparent; /* Keeps height consistent */
}

/* Add padding wrapper for inputs inside the card */
.l7r-inputs {
    padding: 25px;
}

.l7r-input-group {
    margin-bottom: 15px;
}

.l7r-input {
    width: 100%;
    padding: 15px 15px; /* Thicker inputs to match image */
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.l7r-input:focus {
    border-color: #000;
}

.l7r-add-stop {
    margin-bottom: 20px;
    margin-top: -5px;
}

.l7r-add-stop a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.l7r-datetime-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.l7r-next-btn, .l7r-submit-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px; /* Slightly smaller text */
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
}

.l7r-next-btn:hover {
    background: #333;
}

/* Step 2: Selection Layout */
.l7r-selection-layout {
    display: flex;
    gap: 30px;
}

.l7r-vehicles-column {
    flex: 2;
}

.l7r-summary-column {
    flex: 1;
    position: sticky;
    top: 20px;
}

.l7r-summary-box {
    background: var(--l7r-gray);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.l7r-summary-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.l7r-summary-row {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.l7r-summary-total {
    border-top: 1px solid var(--l7r-border);
    margin-top: 15px;
    padding-top: 15px;
    font-size: 20px;
    color: var(--l7r-accent);
}

.l7r-vehicle-card {
    display: flex;
    padding: 20px;
    border: 1px solid var(--l7r-border);
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.l7r-vehicle-card:hover {
    border-color: #000;
}

.l7r-vehicle-card.selected {
    border-color: #000;
    background: #fdfdfd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.l7r-v-img {
    width: 150px;
    margin-right: 20px;
}

.l7r-v-img img {
    width: 100%;
    border-radius: 8px;
}

.l7r-v-details {
    flex: 1;
}

.l7r-v-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.l7r-v-header h3 {
    margin: 0;
    font-size: 18px;
}

.l7r-v-price {
    font-weight: 700;
    font-size: 18px;
}

.l7r-v-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.l7r-extras-section {
    margin-top: 30px;
}

.l7r-extra-item {
    padding: 15px;
    background: var(--l7r-gray);
    border-radius: 8px;
    margin-bottom: 10px;
}

.l7r-extra-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.l7r-extra-name {
    flex: 1;
    margin-left: 10px;
    font-weight: 500;
}

/* Step 3: Form */
.l7r-info-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.l7r-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.l7r-form-group {
    flex: 1;
    margin-bottom: 20px;
}

.l7r-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.l7r-form-checkboxes {
    margin: 30px 0;
}

.l7r-back-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #666;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 500;
}

/* --- UWAYS Restyled Search Area --- */
.mr-tab-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Pull it up over the hero image */
}

.mr-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    width: fit-content;
    background: #000;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.mr-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.mr-tab svg path {
    stroke: #fff;
}

.mr-tab.mr-active {
    background: #fff;
    color: #000;
}

.mr-tab.mr-active svg path {
    stroke: #000;
}

.mr-form-main {
    background: #fff;
    padding: 15px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.mr-form {
    display: flex;
    flex: 1;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.mr-form-group {
    flex: 1;
    margin: 0;
    border-right: 1px solid #ddd;
    position: relative;
    display: flex;
    align-items: stretch;
}


.mr-form-group:last-of-type {
    border-right: none;
}

.mr-input {
    width: 100%;
    height: 52px !important;
    padding: 0 20px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box !important;
    border-radius: 0 !important;
}

.mr-input:focus {
    background: #fdfdfd !important;
}

#ui-datepicker-div {
    z-index: 99999 !important;
}

.mr-button {
    height: 52px;
    padding: 0 35px;
    background: #E63946; /* Uways Red */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.mr-button:hover {
    background: #d62839;
}

#dropdown {
    width: 100%;
    margin-top: 15px;
    padding-left: 5px;
}

.mr-add-stop-link a {
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mr-stop {
    margin-top: 10px;
    border: 1px solid #eee;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-right: 15px;
    background: #fff;
    max-width: 400px;
}

.mr-stop .mr-input {
    padding: 12px 15px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .mr-form-main {
        flex-direction: column;
        padding: 20px;
    }
    .mr-form {
        flex-direction: column;
        width: 100%;
        border: none;
    }
    .mr-form-group {
        border-right: none;
        border: 1px solid #eee;
        border-radius: 6px;
        margin-bottom: 15px;
        width: 100%;
    }
    .mr-button {
        width: 100%;
        margin-left: 0;
    }
}
