/* ============================================
   WMS - Warehouse Management System Styles
   ============================================ */

/* Карта зоны */
.zone-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    transition: all 0.2s;
}
.zone-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.zone-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0;
    padding: 1rem 1.25rem;
}
.zone-header .badge {
    background: rgba(255,255,255,0.2) !important;
}

/* Сетка стеллажей */
.rack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding: 1rem;
}
.rack-item {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rack-item:hover {
    background: #e9ecef;
    border-color: #0d6efd;
    transform: translateY(-2px);
}
.rack-item .rack-code {
    font-weight: 700;
    font-size: 1.1rem;
    color: #212529;
}
.rack-item .rack-info {
    font-size: 0.75rem;
    color: #6c757d;
}
.rack-item.empty {
    border-style: dashed;
    opacity: 0.6;
}

/* Wizard */
.wizard-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
}
.wizard-preview .tree-line {
    color: #6c757d;
}
.wizard-preview .tree-item {
    color: #212529;
}

/* Stats badges */
.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.stat-badge.racks { 
    background: #cfe2ff; 
    color: #084298; 
}
.stat-badge.shelves { 
    background: #d1e7dd; 
    color: #0f5132; 
}
.stat-badge.cells { 
    background: #fff3cd; 
    color: #664d03; 
}
