/**
 * Public styles for form display
 */

.wfb-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Progress bar styles */
.wfb-steps-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.wfb-steps-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.wfb-step-indicator {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: #666;
}

.wfb-step-indicator.active {
    border-color: #0073aa;
    color: #0073aa;
}

.wfb-step-indicator.completed {
    border-color: #46b450;
    background: #46b450;
    color: #fff;
}

/* Form content styles */
.wfb-step-content {
    display: none;
    margin-bottom: 30px;
}

.wfb-step-content.active {
    display: block;
}

.wfb-form-field {
    margin-bottom: 20px;
}

.wfb-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.wfb-form-field input[type="text"],
.wfb-form-field input[type="number"],
.wfb-form-field textarea,
.wfb-form-field select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wfb-form-field input.error,
.wfb-form-field select.error,
.wfb-form-field textarea.error {
    border-color: #dc3232;
}

.wfb-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wfb-radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation styles */
.wfb-step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.wfb-prev-step,
.wfb-next-step,
.wfb-submit {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.wfb-prev-step {
    background: #f7f7f7;
    color: #555;
}

.wfb-next-step,
.wfb-submit {
    background: #0073aa;
    color: #fff;
}

.wfb-prev-step:hover {
    background: #eee;
}

.wfb-next-step:hover,
.wfb-submit:hover {
    background: #006291;
}

/* Price summary styles */
.wfb-price-summary {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 4px;
    margin-top: 30px;
}

.wfb-price-summary h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.wfb-total-price {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wfb-price-amount::before {
    content: '$';
}

/* Required field indicator */
.required {
    color: #dc3232;
    margin-left: 3px;
}