
section {
    width: 100%;
}
/*  unnecessary finished*/

/* CSS */
.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.step-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    margin-top: 0;
    /* background-color: var(--prm-gray); */
    background-color: var(--primary-color);
    transition: .4s;
}
.accordion .nav-link{
    /* padding: 1rem 2rem; */
    border: 1px solid var(--border-color);
    color: var(--primary-color);
}
.accordion .nav-link[aria-expanded="true"] {
    background-color: var(--primary-color);
    color: #fff;
}

.accordion .form-label{
    margin-top: .5rem;
    font-weight: 600;
}
.accordion .text-danger{
    font-weight: 600;
}
.step-button[aria-expanded="true"] {
    width: 50px;
    height: 50px;
    /* background-color: red; */
    color: #fff;
}

.done {
    background-color: red;
    color: #fff;
}

.step-item {
    z-index: 10;
    text-align: center;
}


#progress {
    -webkit-appearance: none;
    position: absolute;
    width: 94%;
    z-index: 5;
    height: 10px;
    margin-left: 35px;
    margin-bottom: 18px;
}

/* to customize progress bar */
#progress::-webkit-progress-value {
    background-color: var(--primary-color);
    transition: .5s ease;
}

#progress::-webkit-progress-bar {
    background-color: #C7C8CC;

}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    display: none;
}

.radio-group input[type="radio"]:checked+label,
.checkbox-group input[type="checkbox"]:checked+label {
    background-color: #0A2640;
    color: #ffffff;
    border: 1px solid #0A2640;
}

.radio-group label,
.checkbox-group label {
    background-color: #ffff;
    color: #0A2640;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #0A2640;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

button:disabled{
    opacity: .5;
    cursor: no-drop;
}
.box-step{
    position: relative;
}
.box-step::before{
    content: attr(data-step);
    position: absolute;
    width: 18px;
    height: 20px;
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--yellow-color);
    top: -1.5rem;
    left: 0;
    border-radius: 100%;
    padding: 3px 4px;
}
.box-step::after{
    content: "\f063";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 2em;
}

@media (min-width: 768px){

    .box-step::after{
        content: "\f061";
    }
}
.box-step.last::after{
    content: '';
}
