/* =========================================================
   SERVICE 05 — DOMESTIC SHIFTING
   VISUAL + ANIMATION
========================================================= */


/* =========================================================
   PLAN
========================================================= */

.shiftify-service .relocation-plan-card {

    width: 100%;
    max-width: 315px;

    margin: 18px auto 13px;

    padding: 13px;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 8px 20px rgba(15,23,42,.05);
}


/* ROUTE */

.shiftify-service .relocation-route {

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 8px;
}


.shiftify-service .relocation-location {

    display: flex;

    align-items: center;

    gap: 6px;
}


.shiftify-service .relocation-pin {

    width: 23px;
    height: 23px;

    flex: 0 0 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff7ed;

    border: 1px solid #ff5a1f;

    color: #ea580c;

    font-size: 7px;
    font-weight: 800;
}


.shiftify-service .relocation-pin--end {

    background: #f0fdf4;

    border-color: #16a34a;

    color: #15803d;
}


.shiftify-service .relocation-location small {

    display: block;

    color: #94a3b8;

    font-size: 7px;
}


.shiftify-service .relocation-location strong {

    display: block;

    margin-top: 2px;

    color: #111827;

    font-size: 10px;
}


/* ROUTE LINE */

.shiftify-service .relocation-route-line {

    height: 2px;

    position: relative;

    background:
        repeating-linear-gradient(
            90deg,
            #cbd5e1 0,
            #cbd5e1 5px,
            transparent 5px,
            transparent 9px
        );
}


.shiftify-service .relocation-route-line span {

    position: absolute;

    left: 50%;
    top: 50%;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: #fff7ed;

    border: 1px solid #fed7aa;

    font-size: 11px;

    animation:
        relocationTruckMove 2.8s ease-in-out infinite;
}


@keyframes relocationTruckMove {

    0% {
        left: 10%;
    }

    50% {
        left: 50%;
    }

    100% {
        left: 90%;
    }

}


/* INVENTORY */

.shiftify-service .relocation-inventory {

    margin-top: 14px;

    padding-top: 10px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #f1f5f9;
}


.shiftify-service .relocation-inventory > div {

    padding: 0 7px;

    text-align: center;

    border-right: 1px solid #e2e8f0;
}


.shiftify-service .relocation-inventory > div:last-child {
    border-right: 0;
}


.shiftify-service .relocation-inventory span {

    display: block;

    margin-bottom: 3px;

    color: #94a3b8;

    font-size: 7px;
}


.shiftify-service .relocation-inventory strong {

    color: #475569;

    font-size: 9px;
}


/* STATUS */

.shiftify-service .relocation-status {

    max-width: 315px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 19px 1fr auto;

    align-items: center;

    gap: 7px;

    padding: 9px 11px;

    border: 1px solid #dcfce7;

    border-radius: 9px;

    background: #f0fdf4;

    font-size: 10px;
}


.shiftify-service .relocation-status > span:first-child {

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #16a34a;

    color: #ffffff;

    font-size: 9px;
}


.shiftify-service .relocation-status > span:nth-child(2) {
    color: #475569;
}


.shiftify-service .relocation-status strong {
    color: #15803d;

    font-size: 9px;
}


/* =========================================================
   PACKING
========================================================= */

.shiftify-service .packing-visual {

    width: 100%;
    max-width: 300px;
    height: 145px;

    margin: 18px auto 14px;

    position: relative;

    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #fffaf5,
            #f8fafc
        );
}


/* BOXES */

.shiftify-service .packing-box {

    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    color: #92400e;

    font-size: 7px;
    font-weight: 800;

    box-shadow:
        0 8px 14px rgba(120,53,15,.10);
}


.shiftify-service .packing-box--large {

    width: 90px;
    height: 65px;

    left: 46px;
    bottom: 17px;

    background:
        linear-gradient(
            135deg,
            #fde68a,
            #fbbf24
        );

    animation:
        packingFloat 3s ease-in-out infinite;
}


.shiftify-service .packing-box--medium {

    width: 60px;
    height: 48px;

    right: 52px;
    bottom: 18px;

    background:
        linear-gradient(
            135deg,
            #fef3c7,
            #fde68a
        );

    animation:
        packingFloat 3s .5s ease-in-out infinite;
}


/* FRAGILE LABEL */

.shiftify-service .packing-box--large span {

    padding: 4px 6px;

    border: 1px dashed #92400e;

    border-radius: 3px;
}


/* WRAP */

.shiftify-service .packing-roll {

    position: absolute;

    width: 42px;
    height: 42px;

    right: 25px;
    top: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        repeating-linear-gradient(
            135deg,
            #e0f2fe 0,
            #e0f2fe 4px,
            #bae6fd 4px,
            #bae6fd 8px
        );

    border: 2px solid #7dd3fc;

    color: #0369a1;

    font-size: 6px;
    font-weight: 800;

    animation:
        rollRotate 5s linear infinite;
}


@keyframes rollRotate {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes packingFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

}


/* ROOM LABEL */

.shiftify-service .packing-label {

    position: absolute;

    left: 14px;
    top: 12px;

    padding: 5px 8px;

    border-radius: 6px;

    background: rgba(255,255,255,.9);

    border: 1px solid #e2e8f0;

    color: #64748b;

    font-size: 7px;
    font-weight: 800;
}


/* PACKING PROGRESS */

.shiftify-service .packing-progress {

    max-width: 300px;

    margin: 0 auto;
}


.shiftify-service .packing-progress__header {

    display: flex;

    justify-content: space-between;

    margin-bottom: 5px;

    color: #64748b;

    font-size: 9px;
}


.shiftify-service .packing-progress__header strong {
    color: #ff5a1f;
}


.shiftify-service .packing-progress__bar {

    width: 100%;
    height: 5px;

    overflow: hidden;

    border-radius: 10px;

    background: #f1f5f9;
}


.shiftify-service .packing-progress__bar span {

    display: block;

    width: 75%;
    height: 100%;

    border-radius: inherit;

    background: #ff5a1f;

    animation:
        packingProgress 2.5s ease-in-out infinite;
}


@keyframes packingProgress {

    0% {
        width: 62%;
    }

    50% {
        width: 78%;
    }

    100% {
        width: 75%;
    }

}


/* =========================================================
   MOVING TRUCK
========================================================= */

.shiftify-service .moving-truck-stage {

    width: 100%;
    max-width: 315px;
    height: 145px;

    margin: 18px auto 12px;

    position: relative;

    overflow: hidden;

    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0 64%,
            #e2e8f0 64% 100%
        );

    border: 1px solid #e2e8f0;
}


/* ROAD */

.shiftify-service .moving-road {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 20px;

    height: 2px;

    background: #94a3b8;
}


.shiftify-service .road-line {

    position: absolute;

    width: 35px;
    height: 2px;

    top: 0;
    left: 0;

    background: #ffffff;

    animation:
        roadMove 1.4s linear infinite;
}


.shiftify-service .road-line--two {
    animation-delay: .45s;
}


.shiftify-service .road-line--three {
    animation-delay: .9s;
}


@keyframes roadMove {

    from {
        transform: translateX(-55px);
    }

    to {
        transform: translateX(350px);
    }

}


/* TRUCK */

.shiftify-service .moving-truck {

    position: absolute;

    left: 50%;
    bottom: 22px;

    width: 190px;
    height: 68px;

    display: flex;

    transform:
        translateX(-50%);

    animation:
        truckBounce 1.8s ease-in-out infinite;
}


@keyframes truckBounce {

    0%,
    100% {
        transform:
            translateX(-50%)
            translateY(0);
    }

    50% {
        transform:
            translateX(-50%)
            translateY(-2px);
    }

}


/* CABIN */

.shiftify-service .moving-truck__cabin {

    width: 58px;

    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-bottom: 8px;

    border-radius: 9px 4px 4px 9px;

    background:
        linear-gradient(
            145deg,
            #fb923c,
            #ea580c
        );

    color: #ffffff;

    font-size: 6px;
    font-weight: 800;
}


.shiftify-service .moving-truck__cabin::before {

    content: "";

    position: absolute;

    top: 11px;
    right: 7px;

    width: 31px;
    height: 22px;

    border-radius: 4px;

    background:
        linear-gradient(
            135deg,
            #dbeafe,
            #bfdbfe
        );

    border: 2px solid rgba(255,255,255,.7);
}


/* BODY */

.shiftify-service .moving-truck__body {

    flex: 1;

    position: relative;

    display: flex;

    align-items: flex-end;

    gap: 8px;

    padding: 9px 12px;

    border-radius: 3px 10px 10px 3px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #cbd5e1
        );

    border: 1px solid #cbd5e1;
}


/* BOXES */

.shiftify-service .moving-truck__box {

    width: 30px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 3px;

    background:
        linear-gradient(
            135deg,
            #fde68a,
            #facc15
        );

    color: #92400e;

    font-size: 5px;
    font-weight: 800;

    animation:
        truckBoxFloat 2.5s ease-in-out infinite;
}


.shiftify-service .moving-truck__box:nth-child(2) {
    animation-delay: .4s;
}


@keyframes truckBoxFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

}


/* MOVING STATUS */

.shiftify-service .moving-status {

    max-width: 315px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 14px auto 1fr;

    align-items: center;

    gap: 6px;

    padding: 9px 11px;

    border-radius: 9px;

    background: #fff7ed;

    border: 1px solid #fed7aa;

    font-size: 10px;
}


.shiftify-service .moving-status > span {
    color: #ff5a1f;

    animation:
        transitPulse 1.4s ease-in-out infinite;
}


@keyframes transitPulse {

    0%,
    100% {
        opacity: .35;
    }

    50% {
        opacity: 1;
    }

}


.shiftify-service .moving-status strong {
    color: #ea580c;
}


.shiftify-service .moving-status small {
    color: #94a3b8;

    text-align: right;

    font-size: 8px;
}


/* =========================================================
   SETTLE
========================================================= */

.shiftify-service .settle-summary {

    width: 100%;
    max-width: 310px;

    margin: 18px auto 11px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    overflow: hidden;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 7px 18px rgba(15,23,42,.05);
}


.shiftify-service .settle-summary > div {

    min-width: 0;

    padding: 10px 5px;

    text-align: center;

    border-right: 1px solid #e2e8f0;
}


.shiftify-service .settle-summary > div:last-child {
    border-right: 0;
}


.shiftify-service .settle-summary span {

    display: block;

    margin-bottom: 4px;

    color: #94a3b8;

    font-size: 7px;
}


.shiftify-service .settle-summary strong {

    display: block;

    color: #15803d;

    font-size: 9px;
}


/* COMPLETE */

.shiftify-service .settle-complete {

    max-width: 310px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 9px 10px;

    border: 1px solid #dcfce7;

    border-radius: 9px;

    background: #f0fdf4;

    color: #166534;

    font-size: 9px;
    font-weight: 700;
}


.shiftify-service .settle-complete > span {

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #16a34a;

    color: #ffffff;

    font-size: 9px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .shiftify-service .relocation-plan-card,
    .shiftify-service .packing-visual,
    .shiftify-service .moving-truck-stage,
    .shiftify-service .settle-summary {
        max-width: 280px;
    }

    .shiftify-service .moving-truck {
        width: 170px;
    }

}