/* current background border: 2px solid #1797AF4D  */
/* future steps transparent background */
/* completed - checkmark #1797AF  */



/* Hide scrollbar to avoid layout shifts */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge, and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

h1 {
    text-align: center;
}
h2 {
    margin: 0;
}
#multi-step-form-container {
    margin-top: 5rem;
}
.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.pl-0 {
    padding-left: 0;
}
.button {
    padding: 0.7rem 1.5rem;
    border: 1px solid #232D4A;
    background-color: #232D4A;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}
.submit-btn {
    border: 1px solid #0e9594;
    background-color: #0e9594;
}
.mt-3 {
    margin-top: 2rem;
}
.d-none {
    display: none;
}
.form-step {
    padding: 0 3rem;
    min-width: 650px;
}
.font-normal {
    font-weight: normal;
}
ul.form-stepper {
    counter-reset: section;
    margin-bottom: 0rem;
    max-width: 800px;
}
ul.form-stepper .form-stepper-circle {
    position: relative;
}
ul.form-stepper .form-stepper-circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}
.form-stepper-horizontal {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
ul.form-stepper > li:not(:last-of-type) {
    margin-bottom: 0.625rem;
    -webkit-transition: margin-bottom 0.4s;
    -o-transition: margin-bottom 0.4s;
    transition: margin-bottom 0.4s;
}
.form-stepper-horizontal > li:not(:last-of-type) {
    margin-bottom: 0 !important;
}
.form-stepper-horizontal li {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.form-stepper-horizontal li {
   position: static!important;
   width: 100px;
}
.form-stepper a.mx-2 {
    width: 80px!important;
}

.form-stepper-horizontal li:not(:last-child):after {
    position: absolute;
    left: 65px;
    right: 0;
    height: 1px;
    content: "";
    top: 71%;
    z-index: 1;
    width: 80%;
}

.form-stepper .form-stepper-circle {
    z-index: 2 !important;
}
ul.form-stepper li a .form-stepper-circle {
    display: inline-block;
    z-index: 2 !important;
}

.form-stepper-horizontal li:after {
    background-color: #dee2e6;
}

.form-stepper-horizontal li:last-child {
    flex: unset;
}
ul.form-stepper li a .form-stepper-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 0;
    line-height: 1.7rem;
    text-align: center;

    border-radius: 50%;
}
.form-stepper .form-stepper-active .form-stepper-circle {
    background-color: var(--step-active-color, #007FE0) !important;
    color: white;
}

/* Step-specific color logic */
.form-stepper .step-1.form-stepper-active .form-stepper-circle,
.form-stepper .step-1.form-stepper-completed .form-stepper-circle {
    background-color: #28a745 !important;
    --step-active-color: #28a745;
}

.form-stepper .step-2.form-stepper-active .form-stepper-circle,
.form-stepper .step-2.form-stepper-completed .form-stepper-circle {
    background-color: #fd7e14 !important;
    --step-active-color: #fd7e14;
}

.form-stepper .step-3.form-stepper-active .form-stepper-circle,
.form-stepper .step-3.form-stepper-completed .form-stepper-circle {
    background-color: #007FE0 !important;
    --step-active-color: #007FE0;
}


.form-stepper .form-stepper-active .label {
    color: #232D4A !important;
}

.form-stepper .form-stepper-unfinished .form-stepper-circle {
    border: 1px solid #dee2e6; /* 2px wide border, grey color */
    border-radius: 50%; /* Makes the element a circle */
    background-color: white; /* Transparent background */
}

.form-stepper .form-stepper-completed .form-stepper-circle {

    /* Set your background image */
    background-image: url('../images/check_circle.png');
    background-color: #007FE0;
    /* Center the background image */
    background-position: center center;

    /* Optional: ensure the background image does not repeat */
    background-repeat: no-repeat;

    /* Hide the text content */
    color: transparent;
    z-index: 2!important;

}
.form-stepper .form-stepper-completed .label {
    color: #6c757d!important
}

.form-stepper .form-stepper-active span.text-muted {
    color: white !important;
}
.form-stepper .form-stepper-completed span.text-muted {
    color: transparent !important;
} 

.form-stepper .label {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    font-weight: 500;
}

.form-stepper a {
    cursor: default;
    text-decoration: none; 
    display: block; /* Ensure it wraps the content for easier clicking */
}

.form-stepper a[href] {
    cursor: pointer;
}

.text-future {
    border-color: black !important;
    border-width: 1px !important;
    background: transparent !important;
}

@media (max-width: 650px) {
    .form-step {
        padding:0 .5rem
    }

    /* .form-stepper-horizontal .text-muted {
        font-size: 1.1rem;
    }  */

    .u-flex u-flex-flow-column u-center{
        min-width: 350px;
    }

    .form-step {
        padding: 0 3rem;
        min-width: 250px;
        font-size: 16px;
    }

    .form-stepper .label {
        font-size: 1rem;
    }

    .form-stepper-horizontal li:not(:last-child):after{
        /* left: 36px; */
        width: 70%;;
    }

    .form-stepper-horizontal a.mx-2{
        width: 100px;;
    }

    .form-signin{
        padding: 0!important;
    }

    .btn-custom{
        margin-top: 15px;;
    }

    .btn-submit-payment{
        margin-bottom: 25px;
    }
    .google-signin-logo{
        margin-left: 35px!important;
    }

    .oauth-login .google-signin-logo{
        margin-left: 22px!important;
    }
    .agreement-container{
        display: inline-flex;
    }
}


