/* Container and Fieldset Styling */
.multistep-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.multistep-form fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.multistep-form h3 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
}
.multistep-form label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* Input/Textarea Styling */
.multistep-form input[type="text"],
.multistep-form input[type="number"],
.multistep-form input[type="tel"],
.multistep-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important for width calculation */
    transition: border-color 0.3s;
}
.multistep-form .error-field {
    border-color: red !important;
}

/* Button Styling */
.multistep-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}
.multistep-form .next-step, .multistep-form .submit-form {
    background-color: #0073aa; /* WordPress Blue */
    color: white;
    float: right;
    margin-left: 10px;
}
.multistep-form .prev-step {
    background-color: #eee;
    color: #333;
    float: left;
}

/* Progress Bar */
.progress-bar-container {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 25px;
}
.progress-bar {
    height: 100%;
    background-color: #28a745; /* Green */
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

/* Success/Error Messages */
#form-message {
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}
#form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}