/* Booking Wizard Styles */

/* Progress Indicator */
.wizard-progress {
    margin-bottom: 2rem;
}

.wizard-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 2rem;
}

.wizard-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 100, 220, 0.5);
    z-index: 0;
}

.wizard-progress-bar--label-only {
    justify-content: flex-start;
}

.wizard-progress-bar--label-only::before {
    display: none;
}

.wizard-step-indicator {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wizard-step-indicator .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgb(0, 100, 220);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.wizard-step-indicator.active .step-number {
    background: var(--primary-color);
    border-color: var(--border-blue-bright);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 100, 220, 0.5);
}

.wizard-step-indicator.completed .step-number {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.wizard-step-indicator.completed .step-number::after {
    content: '✓';
    font-size: 1.2rem;
}

.wizard-step-indicator .step-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.3s ease;
}

.wizard-step-indicator.active .step-label {
    color: white;
    font-weight: 500;
}

.wizard-step-indicator.completed .step-label {
    color: rgba(255, 255, 255, 0.95);
}

.wizard-step-indicator .step-label .step-sublabel {
    font-weight: 400;
    opacity: 0.95;
}

/* Step Containers */
.wizard-step-container {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.wizard-step-container.active {
    display: block;
}

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

/* Navigation Buttons */
.wizard-navigation {
    padding-top: 1.5rem;
    border-top: 1px solid rgb(0, 100, 220);
    margin-top: 2rem;
}

.wizard-buttons {
    width: 100%;
    justify-content: space-between;
}

.wizard-buttons--centered {
    width: auto;
    justify-content: center;
}

.wizard-progress-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    width: 100%;
    text-align: left;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.wizard-btn-previous,
.wizard-btn-next,
.wizard-btn-cancel {
    min-width: 120px;
    transition: all 0.3s ease;
}

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

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

/* Step Content Styling */
.wizard-step-content {
    padding: 1rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wizard-progress-bar {
        padding: 0 1rem;
    }

    .wizard-step-indicator .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .wizard-step-indicator .step-label {
        font-size: 0.75rem;
    }

    .wizard-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .wizard-btn-previous,
    .wizard-btn-next,
    .wizard-btn-cancel {
        width: 100%;
        min-width: auto;
    }
}

/* Loading State */
.wizard-loading {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.wizard-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Error State */
.wizard-step-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-step-error i {
    font-size: 1rem;
}

/* Success State */
.wizard-step-success {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-step-success i {
    font-size: 1rem;
}

/* Service selection tabs: no vertical overflow so tab bar doesn't get a scrollbar */
.service-selection-container .nav.nav-tabs.nav-tabs-custom.mb-3[role="tablist"] {
    overflow-y: hidden;
}

/* Service list scroll area: ensure min height especially on mobile */
.service-selection-container .service-list-scroll {
    min-height: 400px;
}
@media (max-width: 767.98px) {
    .service-selection-container .service-list-scroll {
        min-height: 400px;
    }
}

