body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #0f172a;
    color: white;
    overflow: hidden;
    user-select: none;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.title { 
    text-align: center; 
    color: #38bdf8; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.zones-container {
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
    gap: 20px;
    margin-bottom: 20px;
}

.drop-zone {
    flex: 1;
    border: 3px dashed rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.drop-zone:active { background: rgba(56, 189, 248, 0.1); }

.zone-header { width: 100%; text-align: center; font-size: 22px; font-weight: bold; pointer-events: none; }
.drop-zone p { width: 100%; text-align: center; color: #94a3b8; font-size: 14px; pointer-events: none; }

#storage { border-color: #22c55e; }
#receiving { border-color: #eab308; }
#quarantine { border-color: #ef4444; }

.bottom-bar {
    height: 160px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

#items-dock { 
    display: flex; 
    gap: 12px; 
    flex-grow: 1; 
    overflow-x: auto; 
    padding: 10px;
    justify-content: center;
}

/* ИСПРАВЛЕННЫЕ БЛОКИ ПРЕДМЕТОВ */
.draggable {
    min-width: 100px;
    height: 125px;
    background: #334155;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid #475569;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* УВЕЛИЧЕННЫЕ И ЦЕНТРИРОВАННЫЕ КАРТИНКИ */
.draggable img { 
    width: 80px; 
    height: 80px; 
    object-fit: contain; 
    pointer-events: none;
    margin-bottom: 5px;
}

.draggable span { 
    display: block; 
    font-size: 12px; 
    font-weight: 600;
    color: #f1f5f9;
    pointer-events: none; 
}

/* Эффект при нажатии */
.selected {
    border: 3px solid #38bdf8;
    background: #1e293b;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

#reset-btn {
    padding: 15px 25px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
}

.drop-zone .draggable { 
    margin: 5px; 
    transform: scale(0.8); 
    height: 110px;
}