/**
 * Order Form Styles
 * Custom styles for the multi-step order form
 */

/* Form Steps */
.form-step {
    display: none;
}

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

/* Progress Steps */
.progress-step {
    position: relative;
    text-align: center;
    flex: 1;
    color: #6c757d;
}

.progress-step.active {
    color: #0d6efd;
}

.progress-step.complete {
    color: #198754;
}

.progress-step .step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 auto 5px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    font-weight: bold;
}

.progress-step.active .step-icon {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.progress-step.complete .step-icon {
    background-color: #198754;
    border-color: #198754;
    color: white;
}

.progress-step.complete .step-icon::after {
    content: '✓';
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    background-color: #f8f9fa;
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-item {
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 8px 12px;
}

/* Price Display */
.price-calculator {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.price-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0d6efd;
}

/* Order Summary */
#orderSummary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .step-text {
        display: none;
    }
    
    .progress-step .step-icon {
        margin-bottom: 0;
    }
    
    /* Responsive button adjustments */
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }
    
    #placeOrderBtn, #step4Prev, .btn-lg.px-5 {
        width: 100%;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        font-size: 1rem;
    }
    
    /* Order form responsive container */
    .order-form-container .row {
        margin-left: 0;
        margin-right: 0;
    }
}
