/**
 * RFQ Page Styles - Universal Multi-step Form
 * 
 * @package MedEquip_Aggregator
 */

/* ==========================================================================
   RFQ FORM WRAPPER
   ========================================================================== */
.rfq-form-wrapper {
    margin: 40px 0 60px;
    padding-left: 25%;
}

.rfq-form-wrapper-box {
    max-width: 900px;
    background: #f7f7f7;
    border-radius: 0;
    padding: 40px;
}

/* ==========================================================================
   PROGRESS BAR WITH CIRCLES
   ========================================================================== */
.rfq-progress-bar {
    margin-bottom: 40px;
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.progress-step.active .step-circle {
    background: #12356a;
    color: white;
}

.progress-step.completed .step-circle {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #6b7280;
}

.progress-step.active .step-label {
    color: #12356a;
    font-weight: 600;
}

.progress-line {
    margin-top: 20px;
    width: 40px;
    height: 2px;
    background: #e5e7eb;
}

.progress-step.completed ~ .progress-step .progress-line,
.progress-step.completed + .progress-line {
    background: #10b981;
}

/* ==========================================================================
   FORM STEPS
   ========================================================================== */
.rfq-step {
    display: none;
    animation: fadeInSlide 0.3s ease;
}

.rfq-step.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-header {
    margin-bottom: 30px;
    text-align: center;
}

.step-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.step-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.step-actions button {
    min-width: 140px;
}

.step-actions button:only-child {
    margin-left: auto;
}

/* ==========================================================================
   FIELD VALIDATION
   ========================================================================== */
.field-error {
    border-color: #ef4444 !important;
}

.form-error {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 5px;
}

/* ==========================================================================
   SUCCESS MESSAGE
   ========================================================================== */
.success-message {
    text-align: center;
    padding: 60px 40px;
}

.success-message h2 {
    font-size: 28px;
    font-weight: 700;
    color: #10b981;
    margin: 0 0 20px;
}

.success-message p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 15px;
}

.success-message strong {
    color: #12356a;
    font-weight: 700;
}

.success-message .btn {
    margin-top: 20px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .rfq-form-wrapper {
        padding: 24px;
        margin: 20px auto;
    }
    
    .progress-steps {
        gap: 10px;
    }
    
    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .progress-line {
        width: 20px;
    }
    
    .step-header h2 {
        font-size: 20px;
    }
    
    .step-actions {
        flex-direction: column-reverse;
    }
    
    .step-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .progress-steps {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .step-label {
        display: none;
    }
}

