.inventory-strip {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    min-height: 80px;
}

.inventory-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.inventory-item {
    width: 64px;
    height: 64px;
    border: 2px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.inventory-item.collected {
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.inventory-item.collected:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.inventory-item.empty {
    background: repeating-linear-gradient(
        45deg,
        #f5f5f5,
        #f5f5f5 10px,
        #fff 10px,
        #fff 20px
    );
    border-style: dashed;
}

.inventory-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.inventory-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 32px;
}

.inventory-placeholder::before {
    content: "?";
    opacity: 0.3;
}

.inventory-edit-card {
    border: 2px dashed #007bff;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .inventory-item {
        width: 48px;
        height: 48px;
    }
    
    .inventory-strip {
        gap: 6px;
        padding: 8px;
    }
}
