/* valuation-form.css */

#valuation-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-progress {
    margin-bottom: 40px;
}

.progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.step.active,
.step.completed {
    opacity: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.step.active .step-number {
    background: #4CAF50;
    color: white;
}

.step.completed .step-number {
    background: #4CAF50;
    color: white;
}

.step-label {
    font-size: 12px;
    text-align: center;
}

.form-step {
    display: none;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--rem-border-radius) !important;
    font-size: 14px;
}

.form-group input.error,
.form-group select.error {
    border-color: #f44336;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.form-navigation button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-prev {
    background: #e0e0e0;
    color: #333;
}

.btn-prev:hover {
    background: #d0d0d0;
}

.btn-next,
.btn-submit {
    background: #4CAF50;
    color: white;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    background: #45a049;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#form-message {
    margin-top: 20px;
}

.success-message {
    padding: 15px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

.error-message {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}


/* Responsive */

@media (max-width: 600px) {
    #valuation-form-wrapper{
        padding: 0;
    }
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    .progress-steps {
        font-size: 12px;
    }
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}