/* --- BỐ CỤC KHU VỰC THỐNG KÊ LOGISTICS --- */
.logistics-arena {
    height: 180px;
    background: linear-gradient(180deg, #bbdefb 0%, #64b5f6 100%);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    border: 4px solid #1976d2;
    border-radius: 12px;
}

/* Băng chuyền chạy nền */
.conveyor-bg {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 200%;
    height: 30px;
    background: repeating-linear-gradient(90deg, #424242, #424242 20px, #212121 20px, #212121 40px);
    z-index: 1;
    animation: slide-belt 4s linear infinite;
    border-radius: 5px;
}
@keyframes slide-belt {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hàng hóa trôi qua trên băng chuyền */
.passing-goods {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 200%;
    font-size: 3rem;
    white-space: nowrap;
    z-index: 2;
    animation: slide-goods 6s linear infinite;
}
.passing-goods::before { content: '📦   🛢️   📦      🧰   📦'; }
@keyframes slide-goods {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-50%); }
}

/* Kẹp hồ sơ (Clipboard) Thống kê */
.clipboard-item {
    position: absolute;
    right: 10%;
    bottom: 20px;
    font-size: 5rem;
    z-index: 4;
    transition: all 0.3s ease;
    filter: drop-shadow(-3px 5px 5px rgba(0,0,0,0.5));
}
.checking {
    animation: clip-bob 1s infinite alternate ease-in-out;
}
@keyframes clip-bob {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-5px) rotate(0deg); }
}

/* Dấu tích xanh khi đúng */
.checkmark {
    position: absolute;
    right: 15%;
    bottom: 40px;
    font-size: 4rem;
    color: #00c853;
    z-index: 5;
    text-shadow: 2px 2px 0px #fff;
    opacity: 0;
}
.stamp-success {
    animation: stamp-it 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes stamp-it {
    0% { transform: scale(3) rotate(-30deg); opacity: 0; }
    50% { transform: scale(1) rotate(10deg); opacity: 1; }
    100% { transform: scale(1.2) rotate(0deg); opacity: 0; }
}

/* Lỗi rung lắc */
.shake-error { animation: data-error 0.4s infinite; filter: sepia(1) hue-rotate(-50deg) saturate(3); }
@keyframes data-error {
    0% { transform: translate(0) rotate(0); }
    25% { transform: translate(-5px, 5px) rotate(-10deg); }
    50% { transform: translate(5px, -5px) rotate(10deg); }
    75% { transform: translate(-5px, -5px) rotate(-10deg); }
    100% { transform: translate(0) rotate(0); }
}

/* Thắng lợi */
.triumph-bounce {
    animation: win-jump 1s infinite alternate;
}
@keyframes win-jump {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.2); }
}

.min-h-75 { min-height: 90px; }