.fr-loader {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.fr-loader-title {
    margin: 0 0 16px;
    color: #0D2137;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.fr-loader--status {
    max-width: 380px;
    padding: 18px 0 20px;
}

.frl-truck {
    display: block;
    width: 100%;
    height: auto;
}

.frl-pallet {
    transform-box: fill-box;
    transform-origin: center;
    animation: frl-load 2.8s cubic-bezier(.2, .7, .3, 1) infinite;
}

.frl-pallet:nth-of-type(1) {
    animation-delay: 0s;
}

.frl-pallet:nth-of-type(2) {
    animation-delay: .18s;
}

.frl-pallet:nth-of-type(3) {
    animation-delay: .36s;
}

.frl-pallet:nth-of-type(4) {
    animation-delay: .54s;
}

.frl-pallet:nth-of-type(5) {
    animation-delay: .72s;
}

.frl-road {
    stroke-dasharray: 10 12;
    animation: frl-road 1s linear infinite;
}

.frd-bar {
    position: relative;
    width: 100%;
    max-width: 375px;
    height: 7px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 99px;
    background: #E8EEF5;
    box-shadow: inset 0 0 0 1px rgba(13, 33, 55, .04);
}

.frd-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 34%;
    border-radius: 99px;
    background: linear-gradient(90deg, #405B9B, #e42822);
    animation: frd-sweep 1.8s cubic-bezier(.65, .05, .35, 1) infinite;
}

.frd-msgs {
    position: relative;
    height: 25px;
    margin-top: 18px;
}

.frd-msg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    color: #0D2137;
    font-family: Figtree, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    opacity: 0;
    animation: frd-cycle 6s linear infinite;
}

.frd-msg:nth-child(1) {
    animation-delay: 0s;
}

.frd-msg:nth-child(2) {
    animation-delay: 2s;
}

.frd-msg:nth-child(3) {
    animation-delay: 4s;
}

.frd-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 6px;
}

.frd-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D9E2EC;
    animation: frd-dot 1.4s ease-in-out infinite;
}

.frd-dot:nth-child(2) {
    animation-delay: .16s;
}

.frd-dot:nth-child(3) {
    animation-delay: .32s;
}

@keyframes frl-load {
    0% {
        opacity: 0;
        transform: translate(-10px, -14px);
    }

    14% {
        opacity: 1;
        transform: translate(0, 0);
    }

    72% {
        opacity: 1;
        transform: translate(0, 0);
    }

    84%,
    100% {
        opacity: 0;
        transform: translate(0, 0);
    }
}

@keyframes frl-road {
    to {
        stroke-dashoffset: -22;
    }
}

@keyframes frd-sweep {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(320%);
    }
}

@keyframes frd-cycle {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }

    5%,
    30% {
        opacity: 1;
        transform: translateY(0);
    }

    38%,
    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

@keyframes frd-dot {
    0%,
    100% {
        background: #D9E2EC;
    }

    40% {
        background: #1565C0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fr-loader *,
    .fr-loader *::after {
        animation: none !important;
    }

    .frd-msg:nth-child(1) {
        opacity: 1;
        transform: none;
    }
}
