#multiStepForm {
    min-height: 600px; /* This sets a minimum height, but the actual height could be more depending on content */
    padding: 20px; /* This adds space inside the form, outside of the form steps */
}

.form-step {
    min-height: 300px; /* Each step will be at least 300px tall, not including padding */
    padding: 40px; /* This adds space inside each step, increasing the visual height */
    display: flex; /* Using flex layout to evenly distribute space */
    flex-direction: column; /* Align children of .form-step in a column */
    justify-content: center; /* Center the content vertically */
}


body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #E0E0E0;
    margin: 0;
    font-size: 18px; /* Increase base font size */
}

.progress-bar-container,
.form-step,
button,
.final-message,
.tribute-option,
.loading-indicator,
.error-message {
    border-radius: 10px; /* Rounded corners for all these elements */
}

.form-step,
.final-message {
    padding: 30px; /* Increase padding for larger spacing */
    margin-bottom: 30px; /* Increase margin for more space between steps */
}


input[type="text"],
input[type="email"],
input[type="url"],
textarea,
button,
.tribute-option {
    padding: 15px; /* Larger padding for inputs and buttons */
    font-size: 16px; /* Larger font size for better readability */
}

textarea {
    min-height: 150px; /* Larger default height for textareas */
}

button {
    padding: 15px 30px; /* Larger padding for buttons */
}

.nav-buttons button {
    margin: 0 15px; /* Increase margin for more space between navigation buttons */
}

.error-message {
    font-size: 1em; /* Increase font size for better visibility */
}

.progress-bar-container {
    width: 100%;
    background-color: #333; /* Darker shade for the container */
    padding: 3px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3); /* Slightly darker shadow for depth */
    margin-bottom: 30px;
    position: relative;
}

.progress-bar {
    height: 22px;
    background-color: #222; /* Even darker color for the container */
    border-radius: 5px;
}

.progress-bar-fill {
    width: 0%;
    background-color: #4f4f4f; /* Lighter grey for the fill to stand out */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: width 0.6s ease;
	height:100%;
}

.progress-bar-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    pointer-events: none;
}

/* Adding a flex container around the content and buttons to ensure they don't overlap */
.form-step {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out content and buttons */
    padding: 20px;
    background-color: #1e1e1e;
    border: 1px solid #333;
    margin-bottom: 20px;
    min-height: 200px; /* Minimum height to prevent layout shifts */
}

.form-step.active {
    display: block;
}

/* Adjust the form input fields for a more modern look */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    background-color: #333;
    color: #E0E0E0;
    border: 1px solid #444;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px; /* Rounded corners for inputs */
}

button {
    background-color: #424242; /* Medium grey for buttons */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px 0;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

button:hover,
button.previous:hover {
    background-color: #535353; /* Slightly lighter on hover */
}

button.previous {
    background-color: #333; /* Darker grey for secondary buttons */
}

button[type=submit] {
    background-color: #616161; /* Distinguished grey for submit */
    padding: 10px 45px;
    font-size: 18px;
}

button[type=submit]:hover {
    background-color: #757575; /* Lighter grey on hover */
}

.final-message {
    background-color: #424242; /* Medium grey background */
    padding: 20px;
    text-align: center;
    border: 1px solid #333; /* Subtle border for definition */
    color: white; /* White text for visibility */
}

.tribute-option {
    display: inline-block;
    background-color: #333; /* Dark grey background */
    color: #E0E0E0; /* Light grey text */
    border: 1px solid #444;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    text-align: left;
}

.tribute-option:hover {
    background-color: #424242; /* Slightly lighter on hover */
}

.tribute-option.selected {
	color: black;
	background-color: #edf7ff;
    border-color: #757575; /* Same as background to blend in */
}

#tributeList {
    text-align: center; /* Center the buttons if you prefer, or use left alignment */
    margin-bottom: 20px; /* Add space before the navigation buttons */
	min-height: 50px; /* Minimum height to ensure visibility of the loader */
}

.nav-buttons {
    display: flex;
    justify-content: space-between; /* Align buttons to the right */
    align-items: center; /* Center align vertically */
    padding-top: 20px;
    margin-top: 20px;
}

.nav-buttons button {
    margin: 0 10px; /* This adds a little space between the buttons */
}

.nav-buttons .previous {
    background-color: transparent; /* Less emphasis on previous */
    color: #E0E0E0;
    border: 1px solid #616161; /* Subtle border */
}

.nav-buttons .previous:hover {
    background-color: #333; /* Slightly darker on hover */
}

.nav-buttons .next,
.nav-buttons .submit {
    background-color: #616161; /* More emphasis on the primary action */
    color: white;
    padding: 10px 25px; /* Larger padding for a larger button */
    font-size: 1rem; /* Standard font size for readability */
    border: none;
    border-radius: 4px; /* Rounded corners for modern look */
}

.nav-buttons .next:hover,
.nav-buttons .submit:hover {
    background-color: #757575; /* Lighter grey on hover */
}

.error-message {
    color: red;
    margin-top: 10px; /* Or any other spacing you prefer */
    display: none; /* Hide it by default */
}

.error-message:not(.hidden) {
    display: block; /* Show the error message when the 'hidden' class is not present */
}

.hidden {
    display: none; /* Ensures the template is not visible */
}

.loading-indicator {
    background: url('/wp-admin/images/loading.gif') no-repeat center center;
    height: 50px; /* You can adjust this based on your layout */
    width: 100%; /* This will make it take the full width of the container */
    background-size: contain; /* This ensures the image is scaled to fit */
}

.form-navigation {
    display: flex;
    justify-content: space-between; /* Adjust as necessary */
    margin-top: 20px; /* Space from the form content */
}

.previous {
	margin: 0 10px;
}

.next, .submit {
	margin: 0 10px;
}

/* Style for error messages */
.error-message {
    color: #ff6b6b; /* Soft red color for errors */
    display: none; /* Initially hidden */
    font-size: 0.8em; /* Smaller font size for error text */
    margin-top: 5px; /* Space between input and error message */
}

/* Highlight inputs with errors */
.input.error {
    border-color: #ff6b6b; /* Soft red border for inputs with errors */
}