/* assets/css/wizard.css */
.wizard-container {
    max-width: 1000px;
    margin: -50px auto 100px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 40px;
    position: relative;
    z-index: 10;
}

/* Progress Bar */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gray-light);
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    border: 2px solid var(--gray-light);
    transition: all 0.3s;
}

.progress-step.active .step-number {
    border-color: var(--primary);
    color: var(--primary);
}

.progress-step.completed .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--text-dark);
}

/* Wizard Steps */
.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

.step-title {
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

/* Form Controls */
.form-label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    background-color: var(--bg-light);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(184, 146, 106, 0.25);
    background-color: var(--white);
}

/* Space Cards */
.category-group {
    margin-bottom: 30px;
}
.category-title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--gray-light);
}
.space-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.space-card {
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: var(--white);
}
.space-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(184, 146, 106, 0.1);
}
.space-card.selected {
    border-color: var(--primary);
    border-width: 2px;
    background-color: rgba(184, 146, 106, 0.05);
}
.space-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.area-input {
    display: none;
    margin-top: 15px;
}
.space-card.selected .area-input {
    display: block;
}

/* Service Cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.service-card {
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
}
.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.service-card.selected {
    border-color: var(--primary);
    border-width: 2px;
    background-color: var(--bg-light);
}
.service-card ul {
    text-align: left;
    margin-top: 20px;
    padding-left: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Budget Cards */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.budget-card {
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.budget-card:hover {
    border-color: var(--primary);
}
.budget-card.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Timeline Radio */
.timeline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.timeline-option {
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.timeline-option.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* File Upload */
.dropzone {
    border: 2px dashed var(--gray-light);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-light);
    transition: all 0.3s;
}
.dropzone:hover, .dropzone.dragover {
    border-color: var(--primary);
    background: rgba(184, 146, 106, 0.05);
}
.file-list {
    margin-top: 20px;
}
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 4px;
    margin-bottom: 10px;
}
.remove-file {
    color: #dc3545;
    cursor: pointer;
}

/* Summary Review */
.summary-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.edit-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
}
.edit-link:hover {
    text-decoration: underline;
}

/* Navigation Buttons */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

@media (max-width: 768px) {
    .wizard-container {
        margin: -20px 15px 50px;
        padding: 20px;
    }
    .wizard-progress {
        flex-wrap: wrap;
    }
    .step-label {
        display: none;
    }
}
