.quote-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* Fix modal z-index issues */
#add-item-modal {
    z-index: 1060 !important;
}

#add-item-modal .modal-backdrop {
    z-index: 1055 !important;
}

#add-item-modal .modal-dialog {
    z-index: 1065 !important;
}

.quote-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.quote-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.quote-steps .step {
    flex: 1;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.quote-steps .step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.quote-steps .step.active .step-number {
    background: #007bff;
    color: #fff;
}

.quote-steps .step-title {
    display: block;
    font-size: 0.875rem;
    color: #666;
}

.quote-steps .step.active .step-title {
    color: #007bff;
    font-weight: 600;
}

.quote-item {
    transition: all 0.3s ease;
}

.quote-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quote-navigation {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.item-type-fields {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 1rem;
}

#add-item-modal .modal-dialog {
    max-width: 800px;
}

.quote-items-list {
    min-height: 200px;
}

@media (max-width: 768px) {
    .quote-form-wrapper {
        padding: 1rem;
    }
    
    .quote-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quote-steps::before {
        display: none;
    }
    
    .quote-navigation {
        flex-direction: column;
    }
    
    .quote-navigation button {
        width: 100%;
    }
}
