﻿body {
    background: #1a1a2e !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin: 0;
}

.login-shell {
    width: 100%;
}

.login-card {
    border-radius: 15px;
    overflow: hidden;
}

.login-motto {
    position: fixed;
    bottom: 14px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    pointer-events: none;
    z-index: 20;
}

.idle-truck-wrap {
    position: fixed;
    bottom: 34px;
    left: 50%;
    width: 110px;
    height: 36px;
    transform: translateX(-50%);
    pointer-events: auto; /* ← was none */
    cursor: pointer;
    z-index: 100; /* ← above Request Access */
    opacity: 1;
    transition: opacity 0.12s ease;
}}

    .idle-truck-wrap.fade-out {
        opacity: 0;
    }

.idle-truck-svg {
    width: 110px;
    height: 36px;
    color: rgba(255,255,255,0.82);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    animation: hoverBob 1.15s ease-in-out infinite alternate;
    pointer-events: auto;
    cursor: pointer;
}

.truck-lane {
    position: fixed;
    bottom: 34px;
    left: 0;
    width: 100%;
    height: 42px;
    pointer-events: none;
    overflow: hidden;
    z-index: 22;
}

.truck-runner {
    position: absolute;
    left: -180px;
    top: 0;
    width: 170px;
    height: 40px;
    opacity: 0;
}

    .truck-runner.drive-off {
        opacity: 1;
        /* animation handled by JS */
    }

.login-truck-svg {
    position: absolute;
    right: 0;
    top: 0;
    width: 110px;
    height: 36px;
    color: rgba(255,255,255,0.82);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.truck-runner.drive-off .login-truck-svg {
    animation: driveBob 0.26s ease-in-out infinite alternate;
}

.speed-streaks {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 62px;
    height: 24px;
    opacity: 0;
}

.truck-runner.drive-off .speed-streaks {
    opacity: 0.75;
}

.speed-streaks span {
    position: absolute;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,0.75);
    animation: streakPulse 0.45s linear infinite;
}

    .speed-streaks span:nth-child(1) {
        top: 4px;
        width: 34px;
        animation-delay: 0s;
    }

    .speed-streaks span:nth-child(2) {
        top: 11px;
        width: 48px;
        animation-delay: 0.12s;
    }

    .speed-streaks span:nth-child(3) {
        top: 18px;
        width: 28px;
        animation-delay: 0.22s;
    }

@keyframes hoverBob {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

@keyframes driveBob {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-3px);
    }
}

@keyframes driveFirst {
    0% {
        left: calc(50% - 55px);
        opacity: 1;
    }

    100% {
        left: calc(100% + 40px);
        opacity: 1;
    }
}

@keyframes driveLoop {
    0% {
        left: -180px;
        opacity: 1;
    }

    100% {
        left: calc(100% + 40px);
        opacity: 1;
    }
}

@keyframes streakPulse {
    0% {
        transform: translateX(0) scaleX(1);
        opacity: 0.2;
    }

    50% {
        transform: translateX(-6px) scaleX(1.15);
        opacity: 0.85;
    }

    100% {
        transform: translateX(-12px) scaleX(0.9);
        opacity: 0.15;
    }
}
