/* =========================================
   FREEDOM LAB+ SIGNUP PROGRESS BAR
   ========================================= */

.fl-progress-wrap {
    display: flex;
    width: 85%;
    max-width:100%;
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,.28));
}

/* Individual Step */
.fl-step {
    flex: 1;
    min-height: 82px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(180deg, #3A618D 0%, #2B4D73 100%);
    color: #ffffff;

    padding: 12px 35px;
    text-transform: uppercase;
    font-weight: 700;

    border-top: 1px solid rgba(255,255,255,.65);
    border-bottom: 1px solid rgba(255,255,255,.65);

    transition: all .25s ease;
}

/* Give room for overlapping arrow */
.fl-step + .fl-step {
    padding-left: 55px;
}

/* First/Last Corners */
.fl-step:first-child {
    border-radius: 12px 0 0 12px;
    border-left: 1px solid rgba(255,255,255,.65);
}

.fl-step:last-child {
    border-radius: 0 12px 12px 0;
    border-right: 1px solid rgba(255,255,255,.65);
}
.fl-step:not(:last-child){
    border-right:1px solid rgba(255,255,255,.65);
}

/* =========================================
   ACTIVE STEP
   ========================================= */

.fl-step.active {
    background:
        linear-gradient(
            180deg,
            #FFF9D8 0%,
        #FFE870 18%,
        #FFD53D 52%,
        #FFC107 100%
        );

    color: #2B4D73;

    border-color: #ffffff;

    box-shadow:
        0 0 0 2px #f4b400,
        0 8px 20px rgba(0,0,0,.20),
    0 0 18px rgba(221,161,26,.25);

    z-index: 5;
    position: relative;
    overflow: hidden;
}

.fl-step.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
        rgba(255,255,255,.35),
        rgba(255,255,255,0)
    );
    pointer-events: none;
}

.fl-step.active:not(:last-child)::after {
    border-left-color: #f4aa00;
}

.fl-step.active:not(:last-child)::before {
    border-left-color: #ffffff;
}

/* =========================================
   STEP CONTENT
   ========================================= */

.fl-step-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}


/* Step Number Badge */
.fl-step-number {
    min-width: 48px;
    width: 48px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFC107;
    color: #ffffff;

    font-size: 26px;
    font-weight: 800;

    clip-path: polygon(
        25% 0%,
        75% 0%,
        100% 22%,
        100% 78%,
        75% 100%,
        25% 100%,
        0% 78%,
        0% 22%
    );

    border: 1px solid #e5b322;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

.fl-step.active .fl-step-number {
    background: linear-gradient(180deg, #3A618D 0%, #2B4D73 100%);
    color: #fff;
}


/* Step Icon */
.fl-step-icon {
    font-size: 30px;
    line-height: 1;
    width: 34px;
    text-align: center;
    opacity: .95;
}


/* Step Text */
.fl-step-copy {
    text-align: left;
    line-height: 1.1;
}

.fl-step-label {
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: .3px;
}

.fl-step-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================
   COMPLETED STEPS - OPTIONAL
   ========================================= */

.fl-step.completed {
    background: linear-gradient(180deg, #354657 0%, #24313e 100%);
}

.fl-step.completed .fl-step-number {
    background: #d7a617;
    color: #111;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 991px) {

    .fl-progress-wrap {
        flex-direction: column;
        gap: 8px;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,.22));
    }

    .fl-step {
        min-height: 68px;
        border: 1px solid rgba(255,255,255,.5);
        border-radius: 8px !important;
        padding: 10px 18px !important;
    }

    .fl-step::before {
        display: none !important;
    }

    .fl-step-inner {
        justify-content: flex-start;
    }

    .fl-step-number {
        width: 42px;
        min-width: 42px;
        height: 46px;
        font-size: 21px;
    }

    .fl-step-icon {
        font-size: 24px;
        width: 28px;
    }

    .fl-step-label {
        font-size: 15px;
    }

    .fl-step-title {
        font-size: 12px;
    }
}


/* Smaller Phones */
@media (max-width: 480px) {

    .fl-step-icon {
        display: none;
    }

    .fl-step-inner {
        gap: 12px;
    }

    .fl-step-title {
        white-space: normal;
    }
}