.page-id-14 .modal-dialog {
    background: #FFFFFF !important;
    display: block !important;
}

.page-id-14 .modal-body {
    display: block !important;
}

.bg-success {
    background-color: #61b87c !important; /* Light Green */
}

.bg-lightgreen {
    background-color: #61b87c !important; /* Light Green for the download box */
}

.fw-bold {
    font-weight: bold;
}

.text-white {
    color: #fff !important;
}

.text-decoration-underline {
    text-decoration: underline;
}

.btn-close.position-absolute {
    color: white;
}

/* Download Box Styles */
.bg-lightgreen {
    background-color: #61b87c !important; /* Light Green */
}

.rounded {
    border-radius: 5px;
}

.p-2 {
    padding: 10px;
}

/* Vertical line between steps */
/* Step circle */
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #89277F; /* Purple background */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Container for step circle and vertical line */
.step-circle-container-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 15px;
}

.step-circle-container-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 5px;
}

.step-circle-container-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 5px;
}

.step-circle-container-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 5px;
}


/* Continuous vertical line between steps */
.vertical-line-1 {
    position: absolute;
    top: 100%; /* Start the line from the bottom of the circle */
    width: 2px;
    height: 17px; /* Adjust the height as needed */
    background-color: #6c3b95; /* Same purple as circle */
}

.vertical-line-2 {
    position: absolute;
    top: 100%; /* Start the line from the bottom of the circle */
    width: 2px;
    height: 89px; /* Adjust the height as needed */
    background-color: #6c3b95; /* Same purple as circle */
}

.vertical-line-3 {
    position: absolute;
    top: 100%; /* Start the line from the bottom of the circle */
    width: 2px;
    height: 50px; /* Adjust the height as needed */
    background-color: #6c3b95; /* Same purple as circle */
}

.mb-0.step-text,
.step-button {
    margin-left: 20px;
}

.w-100.bg-success.text-white.text-center.p-4.step-banner {
    background-color: #4CB687 !important;
}

/* Failure Modal */
/** Container for step circle and vertical line */
.failed-circle-container-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 15px;
}

.failed-circle-container-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 5px;
}

.failed-circle-container-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 5px;
}

/* Continuous vertical line between steps */
.failed-vertical-line-1 {
    position: absolute;
    top: 100%; /* Start the line from the bottom of the circle */
    width: 2px;
    height: 17px; /* Adjust the height as needed */
    background-color: #6c3b95; /* Same purple as circle */
}

.failed-vertical-line-2 {
    position: absolute;
    top: 100%; /* Start the line from the bottom of the circle */
    width: 2px;
    height: 68px; /* Adjust the height as needed */
    background-color: #6c3b95; /* Same purple as circle */
}

p.mb-0.step-text,
.step-button {
    margin-left: 20px;
}

.w-100.bg-success.text-white.text-center.p-4.step-banner {
    background-color: #4CB687 !important;
}

/* Custom width for the modal */
.modal-dialog.modal-custom-width {
    max-width: 750px;
    width: 100%; /* Ensure full width within the dialog */
}

#quizCompleteModal .modal-content,
#quizFailedModal .modal-content {
    padding: 35px;
}

.w-100.bg-warning.text-dark.text-center.p-4 {
    background: #F3D228 !important;
}

h5.mb-0.title-wrapper {
    display: flex;
}

span.quiz-message {
    text-align: justify;
    margin-left: 10px;
}

p.mb-0.step-text.qz-success-message {
    margin-top: 4px;
}

.bg-lightgreen.text-white.p-2.d-inline-block {
    background: #4CB687 !important;
}

p.mb-0.step-text.failed-step-3 {
    margin-top: 7px;
}

p.mb-0.step-text.failed-step-1 {
    margin-top: 10px;
}

i.if.if-download:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(/wp-content/themes/incentivefund/images/apply/pdf-down-icon-white.png);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    bottom: 2px;
    margin-left: 10px;
    position: relative;
}

