.pfnl-repair-form-wrapper.multistep {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Progress Bar */
.pfnl-progress-bar {
    margin-bottom: 2rem;
    position: relative;
}

.pfnl-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.pfnl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    position: relative;
}

.pfnl-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #757575;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.pfnl-step.active .pfnl-step-number {
    background-color: #00c853;
    color: white;
}

.pfnl-step.completed .pfnl-step-number {
    background-color: #00c853;
    color: white;
}

.pfnl-step-label {
    font-size: 14px;
    color: #757575;
    text-align: center;
    transition: all 0.3s ease;
}

.pfnl-step.active .pfnl-step-label,
.pfnl-step.completed .pfnl-step-label {
    color: #00c853;
    font-weight: 600;
}

.pfnl-progress-bar-inner {
    position: absolute;
    top: 18px;
    left: 0;
    height: 4px;
    background-color: #00c853;
    transition: width 0.3s ease;
    z-index: 1;
}

/* Step Content */
.pfnl-step-content {
    display: none;
}

.pfnl-step-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.pfnl-step-content h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
    text-align: center;
}

/* Form Fields */
.pfnl-fields {
    margin-bottom: 1.5rem;
}

.pf-input-wrap {
    margin-bottom: 1.25rem;
}

.pf-input-wrap label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #37474f;
}

.pf-input-wrap input,
.pf-input-wrap select,
.pf-input-wrap textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.pf-input-wrap input:focus,
.pf-input-wrap select:focus,
.pf-input-wrap textarea:focus {
    border-color: #00c853;
    box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.15);
    outline: none;
}

.pf-input-wrap.error input,
.pf-input-wrap.error select,
.pf-input-wrap.error textarea {
    border-color: #e53935;
}

.pfnl-error {
    border-color: #e53935 !important;
}

/* Radio Buttons */
.pfnl-radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.pfnl-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pfnl-radio:hover {
    background-color: #f5f5f5;
}

.pfnl-radio input {
    margin-right: 0.5rem;
    width: auto !important;
}

/* File Upload */
.pfnl-file-upload {
    margin-top: 0.5rem;
}

.pfnl-file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.pfnl-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.pfnl-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfnl-remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

/* Navigation Buttons */
.pfnl-step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.pfnl-prev-step,
.pfnl-next-step,
.pfnl-submit {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.pfnl-prev-step {
    background-color: #f5f5f5;
    color: #333;
}

.pfnl-next-step,
.pfnl-submit {
    background-color: #00c853;
    color: white;
}

.pfnl-prev-step:hover {
    background-color: #e0e0e0;
}

.pfnl-next-step:hover,
.pfnl-submit:hover {
    background-color: #00a844;
    transform: translateY(-2px);
}

/* When there's only one button (first step) */
.pfnl-step-buttons:has(.pfnl-next-step:only-child) {
    justify-content: flex-end;
}

/* Error Messages */
.pfnl-validation-error,
.pfnl-ajax-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Success Message */
.pf-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.pf-success h2 {
    margin-bottom: 1rem;
    color: #2e7d32;
}

.pf-success p {
    margin-bottom: 0.5rem;
}

.pf-home-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #2e7d32;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pf-home-link:hover {
    background-color: #1b5e20;
}

/* Review Summary */
.pfnl-review-summary {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pfnl-summary-section {
    margin-bottom: 1.5rem;
}

.pfnl-summary-section:last-child {
    margin-bottom: 0;
}

.pfnl-summary-section h4 {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.pfnl-summary-content p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Loading State */
.pfnl-loading {
    position: relative;
    color: transparent !important;
}

.pfnl-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pfnl-repair-form-wrapper.multistep {
        padding: 1.5rem;
    }
    
    .pfnl-step-label {
        font-size: 12px;
    }
    
    .pfnl-radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .pfnl-step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .pfnl-step-label {
        font-size: 10px;
    }
    
    .pfnl-step-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pfnl-prev-step,
    .pfnl-next-step,
    .pfnl-submit {
        width: 100%;
    }
}
