/* Multi-Step Booking System */
.estb-multi-step-booking {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Progress Steps */
.estb-steps-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.estb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.estb-step.estb-step-active {
    opacity: 1;
}

.estb-step-number {
    width: 50px;
    height: 50px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: #495057;
    margin-bottom: 10px;
}

.estb-step.estb-step-active .estb-step-number {
    background: #e94b8a;
    color: white;
}

.estb-step-label {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.estb-step.estb-step-active .estb-step-label {
    color: #e94b8a;
}

.estb-step-line {
    flex: 1;
    height: 2px;
    background: #e9ecef;
    margin: 0 15px 30px 0;
}

.estb-step:last-child .estb-step-line {
    display: none;
}

/* Booking Container */
.estb-booking-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

/* Booking Step */
.estb-booking-step {
    display: none;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.estb-booking-step.estb-step-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estb-step-content h2 {
    margin: 0 0 30px 0;
    color: #212529;
    font-size: 24px;
}

/* Form Styles */
.estb-booking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.estb-form-group {
    display: flex;
    flex-direction: column;
}

.estb-form-group label {
    font-weight: 500;
    color: #212529;
    margin-bottom: 8px;
    font-size: 14px;
}

.estb-input {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.estb-input:focus {
    outline: none;
    border-color: #e94b8a;
    box-shadow: 0 0 0 3px rgba(233, 75, 138, 0.1);
}

.estb-input-icon {
    position: relative;
    display: flex;
}

.estb-input-icon .estb-input {
    flex: 1;
    padding-right: 40px;
}

.estb-input-icon .estb-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}

.estb-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.estb-autocomplete-list div {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.estb-autocomplete-list div:hover {
    background: #f8f9fa;
}

/* Map Container */
.estb-map-container {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

#estb-booking-map {
    width: 100%;
    height: 400px;
}

.estb-trip-info {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
}

.estb-trip-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.estb-trip-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.estb-trip-value {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

/* Vehicles Selection */
.estb-vehicles-selection {
    margin: 30px 0;
}

.estb-vehicles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.estb-vehicle-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.estb-vehicle-card:hover {
    border-color: #e94b8a;
    box-shadow: 0 8px 24px rgba(233, 75, 138, 0.15);
    transform: translateY(-4px);
}

.estb-vehicle-card.estb-selected {
    border-color: #e94b8a;
    background: #fff9fc;
}

.estb-vehicle-card.estb-selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #e94b8a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.estb-vehicle-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.estb-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estb-vehicle-info {
    padding: 20px;
}

.estb-vehicle-name {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 8px 0;
}

.estb-vehicle-meta {
    font-size: 13px;
    color: #6c757d;
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.estb-vehicle-price {
    font-size: 24px;
    font-weight: 700;
    color: #e94b8a;
    margin: 15px 0 0 0;
}

/* Order Review */
.estb-booking-review {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.estb-booking-form-section {
    padding: 0;
}

.estb-booking-form-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #212529;
}

/* Order Summary */
.estb-order-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.estb-order-summary h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
}

.estb-summary-section {
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
}

.estb-summary-section:last-child {
    border-bottom: none;
}

.estb-summary-section h4 {
    font-size: 13px;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.estb-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #495057;
    margin: 8px 0;
}

.estb-summary-divider {
    height: 1px;
    background: #dee2e6;
    margin: 15px 0;
}

.estb-total-row {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.estb-total-price {
    color: #e94b8a;
    font-size: 18px;
}

.estb-summary-vehicle {
    display: flex;
    gap: 12px;
    align-items: center;
}

.estb-vehicle-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* Extras Selection */
.estb-extras-selection {
    display: grid;
    gap: 12px;
}

.estb-extra-item {
    padding: 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.estb-extra-item:hover {
    border-color: #e94b8a;
}

.estb-extra-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #e94b8a;
}

.estb-extra-icon {
    font-size: 24px;
}

.estb-extra-content {
    flex: 1;
}

.estb-extra-name {
    font-weight: 600;
    color: #212529;
    margin: 0 0 2px 0;
}

.estb-extra-desc {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

.estb-extra-price {
    font-weight: 600;
    color: #e94b8a;
}

/* Buttons */
.estb-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.estb-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.estb-btn-primary {
    background: #e94b8a;
    color: white;
}

.estb-btn-primary:hover:not(:disabled) {
    background: #d63d78;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(233, 75, 138, 0.3);
}

.estb-btn-secondary {
    background: #e9ecef;
    color: #212529;
}

.estb-btn-secondary:hover:not(:disabled) {
    background: #dee2e6;
}

.estb-booking-controls {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

/* Alerts */
.estb-alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.estb-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.estb-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Stripe Elements */
.StripeElement {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
}

#estb-payment-element {
    margin: 20px 0;
}

/* Payment Message */
#estb-payment-message {
    padding: 15px;
    border-radius: 8px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
}

/* Responsive */
@media (max-width: 1024px) {
    .estb-booking-review {
        grid-template-columns: 1fr;
    }

    .estb-order-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .estb-multi-step-booking {
        padding: 20px;
    }

    .estb-steps-progress {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .estb-step {
        width: 100%;
    }

    .estb-step-line {
        display: none !important;
    }

    .estb-booking-form-row {
        grid-template-columns: 1fr;
    }

    .estb-vehicles-list {
        grid-template-columns: 1fr;
    }

    .estb-booking-step {
        padding: 20px;
    }
}
