/* Booking Wizard Modal */
#booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#booking-modal.active {
    display: flex;
    opacity: 1;
}

.booking-container {
    background: #121212;
    width: 100%;
    max-width: 600px;
    height: 90vh;
    /* Mobile friendly */
    max-height: 800px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* Header */
.booking-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
}

.booking-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #f00;
}

/* Progress Bar */
.progress-bar-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease;
}

/* Content Area */
.booking-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

.step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step 1: Vehicles */
.vehicle-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.selection-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.selection-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.selection-card.selected {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
    color: #ccc;
}

.card-details {
    flex: 1;
}

.card-title {
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #888;
}

.radio-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.selection-card.selected .radio-indicator {
    border-color: #fff;
    background: #fff;
}

.selection-card.selected .radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

/* Step 2: Options */
.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.option-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-price {
    background: #fff;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Step 3: Date & Location */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #aaa;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #fff;
}

.location-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
}

.toggle-btn.active {
    background: #fff;
    color: #000;
    font-weight: bold;
}

/* Footer */
.booking-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.total-price span {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.nav-btn.secondary {
    background: transparent;
    color: #aaa;
}

.nav-btn.secondary:hover {
    color: #fff;
}

.nav-btn.primary {
    background: #fff;
    color: #000;
}

.nav-btn.primary:hover {
    background: #ddd;
    transform: translateY(-2px);
}

/* Vehicle List Images */
.vehicle-img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    /* Subtle bg for transparent images */
}

/* Selection Card Adjustments */
.selection-card {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.selection-card .card-details {
    flex: 1;
}

/* Success Animation Step */
#step-success {
    min-height: 300px;
}

/* Time Slots Grid (Calendly Style) */
.time-slots-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    margin-top: 15px;
}

/* Custom Scrollbar */
.time-slots-container::-webkit-scrollbar {
    width: 6px;
}

.time-slots-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.time-slot-btn {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
}

.time-slot-btn:hover:not(.disabled) {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.time-slot-btn.selected {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.time-slot-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    text-decoration: line-through;
}